Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 160) sorted by relevance

1234567

/PHP-7.4/ext/intl/
H A Dintl_error.c48 if( !err && !( err = intl_g_error_get( ) ) ) in intl_free_custom_error_msg()
69 return err; in intl_error_create()
78 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_init()
92 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_reset()
115 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_set_custom_msg()
137 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_get_message()
161 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_set_code()
173 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_get_code()
204 if(err) { in intl_errors_reset()
215 if(err) { in intl_errors_set_custom_msg()
[all …]
H A Dintl_error.h35 void intl_error_init( intl_error* err );
36 void intl_error_reset( intl_error* err );
37 void intl_error_set_code( intl_error* err, UErrorCode err_code );
38 void intl_error_set_custom_msg( intl_error* err, const char* msg, int copyMsg );
39 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
40 UErrorCode intl_error_get_code( intl_error* err );
41 zend_string* intl_error_get_message( intl_error* err );
44 void intl_errors_reset( intl_error* err );
45 void intl_errors_set_custom_msg( intl_error* err, const char* msg, int copyMsg );
46 void intl_errors_set_code( intl_error* err, UErrorCode err_code );
[all …]
H A Dintl_data.h49 #define INTL_CHECK_STATUS(err, msg) \ argument
50 intl_error_set_code( NULL, (err) ); \
51 if( U_FAILURE((err)) ) \
58 #define INTL_CHECK_STATUS_OR_NULL(err, msg) \ argument
59 intl_error_set_code( NULL, (err) ); \
60 if( U_FAILURE((err)) ) \
/PHP-7.4/ext/pdo_dblib/
H A Dpdo_dblib.c94 einfo = &DBLIB_G(err); in ZEND_GET_MODULE()
152 if (!err) { in pdo_dblib_err_dtor()
156 if (err->dberrstr) { in pdo_dblib_err_dtor()
157 efree(err->dberrstr); in pdo_dblib_err_dtor()
158 err->dberrstr = NULL; in pdo_dblib_err_dtor()
160 if (err->lastmsg) { in pdo_dblib_err_dtor()
161 efree(err->lastmsg); in pdo_dblib_err_dtor()
162 err->lastmsg = NULL; in pdo_dblib_err_dtor()
164 if (err->oserrstr) { in pdo_dblib_err_dtor()
165 efree(err->oserrstr); in pdo_dblib_err_dtor()
[all …]
/PHP-7.4/ext/opcache/
H A Dshared_alloc_win32.c116 int err; in zend_shared_alloc_reattach() local
124 err = GetLastError(); in zend_shared_alloc_reattach()
158 err = GetLastError(); in zend_shared_alloc_reattach()
168 err = ERROR_INVALID_ADDRESS; in zend_shared_alloc_reattach()
180 err = GetLastError(); in zend_shared_alloc_reattach()
194 int err = 0, ret; in create_segments() local
219 err = GetLastError(); in create_segments()
225 err = GetLastError(); in create_segments()
252 err = GetLastError(); in create_segments()
264 err = GetLastError(); in create_segments()
[all …]
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp93 intl_error& err) in umsg_get_numeric_types() argument
98 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
120 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
134 intl_error& err) in umsg_parse_format() argument
288 intl_error& err) in umsg_get_types() argument
298 intl_error& err) in umsg_set_timezone() argument
426 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
462 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
538 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
606 intl_errors_set(&err, err.code, in umsg_format_helper()
[all …]
/PHP-7.4/win32/
H A Dwinutil.h32 #define php_win_err_free(err) php_win32_error_msg_free(err) argument
49 #define SET_ERRNO_FROM_WIN32_CODE(err) \ argument
51 int ern = php_win32_code_to_errno(err); \
52 SetLastError(err); \
58 PHP_WINUTIL_API BOOL php_win32_image_compatible(const char *img, char **err);
59 PHP_WINUTIL_API BOOL php_win32_crt_compatible(const char *img, char **err);
H A Dioutil.h283 int ret, err; in php_win32_ioutil_access()
310 DWORD err; in php_win32_ioutil_open() local
344 DWORD err; in php_win32_ioutil_unlink() local
368 DWORD err = 0; in php_win32_ioutil_rmdir() local
428 DWORD err = 0; in php_win32_ioutil_rename() local
471 DWORD err = 0; in php_win32_ioutil_chdir() local
497 DWORD err = 0; in php_win32_ioutil_getcwd() local
535 int err = 0; in php_win32_ioutil_chmod() local
547 _get_errno(&err); in php_win32_ioutil_chmod()
553 _set_errno(err); in php_win32_ioutil_chmod()
[all …]
H A Dioutil.c355 DWORD err = GetLastError(); in php_win32_ioutil_mkdir_w() local
372 DWORD err = 0; in php_win32_ioutil_unlink_w() local
389 err = GetLastError(); in php_win32_ioutil_unlink_w()
395 err = GetLastError(); in php_win32_ioutil_unlink_w()
418 err = GetLastError(); in php_win32_ioutil_unlink_w()
430 err = GetLastError(); in php_win32_ioutil_unlink_w()
488 DWORD err = 0; in php_win32_ioutil_getcwd_w() local
496 err = GetLastError(); in php_win32_ioutil_getcwd_w()
513 err = GetLastError(); in php_win32_ioutil_getcwd_w()
717 err = GetLastError(); in php_win32_ioutil_fopen_w()
[all …]
/PHP-7.4/ext/oci8/
H A Doci8_collection.c65 connection->err, in php_oci_collection_create()
94 connection->err, in php_oci_collection_create()
123 connection->err in php_oci_collection_create()
142 connection->err in php_oci_collection_create()
158 connection->err in php_oci_collection_create()
190 connection->err in php_oci_collection_create()
208 connection->err, in php_oci_collection_create()
336 connection->err, in php_oci_collection_append_date()
377 connection->err, in php_oci_collection_append_number()
415 connection->err, in php_oci_collection_append_string()
[all …]
H A Doci8_lob.c75 OCI_G(errcode) = php_oci_error(OCI_G(err), errstatus); in php_oci_lob_create()
131 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_get_length()
140 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_get_length()
222 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_calculate_buffer()
341 connection->err, in php_oci_lob_read()
365 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_read()
422 connection->err, in php_oci_lob_write()
437 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_write()
535 connection->err, in php_oci_lob_copy()
729 connection->err, in php_oci_lob_import()
[all …]
/PHP-7.4/ext/intl/common/
H A Dcommon_date.cpp100 intl_error *err, const char *func) in intl_datetime_decompose() argument
106 if (err && U_FAILURE(err->code)) { in intl_datetime_decompose()
125 intl_errors_set(err, U_INTERNAL_PROGRAM_ERROR, in intl_datetime_decompose()
143 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_datetime_decompose()
156 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_datetime_decompose()
174 if (err && U_FAILURE(err->code)) { in intl_zval_to_millis()
190 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_zval_to_millis()
209 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_zval_to_millis()
218 intl_errors_set(err, status, message, 1); in intl_zval_to_millis()
226 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_zval_to_millis()
[all …]
/PHP-7.4/ext/intl/normalizer/
H A Dnormalizer_normalize.c40 return unorm2_getNFCInstance(err); in intl_get_normalizer()
43 return unorm2_getNFDInstance(err); in intl_get_normalizer()
46 return unorm2_getNFKCInstance(err); in intl_get_normalizer()
49 return unorm2_getNFKDInstance(err); in intl_get_normalizer()
52 return unorm2_getNFKCCasefoldInstance(err); in intl_get_normalizer()
56 *err = U_ILLEGAL_ARGUMENT_ERROR; in intl_get_normalizer()
72 *err = U_ZERO_ERROR; in intl_normalize()
76 *err = U_BUFFER_OVERFLOW_ERROR; in intl_normalize()
80 norm = intl_get_normalizer(form, err); in intl_normalize()
81 if(U_FAILURE(*err)) { in intl_normalize()
[all …]
/PHP-7.4/scripts/dev/
H A Dsearch_underscores.php30 $err = 0; variable
39 $err++;
48 $err++;
60 $err++;
79 printf("Errors: %5d (%.1f%%)\n", $err, round($err * 100 / $cnt, 1));
/PHP-7.4/ext/iconv/
H A Diconv.c789 return err; in _php_iconv_strlen()
816 return err; in _php_iconv_substr()
935 return err; in _php_iconv_substr()
976 return err; in _php_iconv_strpos()
1124 return err; in _php_iconv_strpos()
1456 return err; in _php_iconv_mime_encode()
2017 return err; in _php_iconv_mime_decode()
2024 switch (err) { in _php_iconv_show_error()
2070 php_iconv_err_t err; in PHP_FUNCTION() local
2103 php_iconv_err_t err; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/imap/tests/
H A Dbug63126.phpt15 foreach ($errors as $err) {
16 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) {
37 foreach ($errors as $err) {
38 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) {
39 echo "$err\n";
/PHP-7.4/ext/sockets/
H A Dsendrecvmsg.c174 struct err_s err = {0}; in PHP_FUNCTION() local
192 if (err.has_error) { in PHP_FUNCTION()
193 err_msg_dispose(&err); in PHP_FUNCTION()
218 struct err_s err = {0}; in PHP_FUNCTION() local
236 if (err.has_error) { in PHP_FUNCTION()
237 err_msg_dispose(&err); in PHP_FUNCTION()
258 if (!err.has_error) { in PHP_FUNCTION()
261 err_msg_dispose(&err); in PHP_FUNCTION()
320 struct err_s err = {0}; in php_do_setsockopt_ipv6_rfc3542() local
345 if (err.has_error) { in php_do_setsockopt_ipv6_rfc3542()
[all …]
/PHP-7.4/ext/pdo_oci/
H A Dphp_pdo_oci_int.h33 OCIError *err; member
63 OCIError *err; member
89 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini…
90 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__)
91 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__)
92 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LI…
H A Doci_driver.c196 OCITransRollback(H->svc, H->err, 0); in oci_handle_closer()
222 if (H->err) { in oci_handle_closer()
223 OCIHandleFree(H->err, OCI_HTYPE_ERROR); in oci_handle_closer()
224 H->err = NULL; in oci_handle_closer()
299 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer()
470 OCI_ATTR_ACTION, H->err); in oci_handle_set_attribute()
491 OCI_ATTR_CLIENT_INFO, H->err); in oci_handle_set_attribute()
512 OCI_ATTR_CLIENT_IDENTIFIER, H->err); in oci_handle_set_attribute()
533 OCI_ATTR_MODULE, H->err); in oci_handle_set_attribute()
762 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory()
[all …]
H A Doci_statement.c80 if (S->err) { in oci_stmt_dtor()
81 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_stmt_dtor()
82 S->err = NULL; in oci_stmt_dtor()
109 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, in oci_stmt_dtor()
155 STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, in oci_stmt_execute()
344 &P->bind, S->err, (text*)param->name->val, in oci_stmt_param_hook()
350 &P->bind, S->err, ((ub4)param->paramno)+1, in oci_stmt_param_hook()
357 S->err, in oci_stmt_param_hook()
624 OCIError *err; member
687 OCILobClose(self->E->svc, self->E->err, self->lob); in oci_blob_close()
[all …]
/PHP-7.4/ext/gd/libgd/
H A Dgdtestft.c36 char *err; in main()
60 err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, f, sz, angle, 0, 0, s); in main()
61 if (err) in main()
63 fprintf (stderr, "%s", err); in main()
87 err = gdImageStringFT (im, NULL, black, f, sz, angle, x, y, s); in main()
88 if (err) in main()
90 fprintf (stderr, "%s", err); in main()
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_helpers.cpp36 intl_error *err, in datefmt_process_calendar_arg() argument
61 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
81 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
92 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
102 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
H A Ddateformat_format.c64 HashTable* hash_arr, char* key_name, intl_error *err) in internal_get_arr_ele() argument
70 if (U_FAILURE(err->code)) { in internal_get_arr_ele()
78 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1); in internal_get_arr_ele()
86 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1); in internal_get_arr_ele()
112 intl_error *err = &dfo->datef_data.error; in internal_get_timestamp() local
115 internal_get_arr_ele(dfo, hash_arr, (elem), err) in internal_get_timestamp()
133 intl_errors_set(err, INTL_DATA_ERROR_CODE(dfo), "datefmt_format: " in internal_get_timestamp()
/PHP-7.4/ext/xmlreader/tests/
H A Dbug71805.phpt20 $err = '';
21 if ($e = libxml_get_last_error()) { $err = $e->message.' (line: '.$e->line.')'; }
23 echo $file.' : Problem with file'.($err ? ' — '.$err : '').'.';
/PHP-7.4/ext/com_dotnet/
H A Dcom_dotnet.c206 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
207 snprintf(buf, sizeof(buf), "Failed to init .Net runtime [%s] %s", where, err); in PHP_FUNCTION()
208 php_win32_error_msg_free(err); in PHP_FUNCTION()
219 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
220 snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); in PHP_FUNCTION()
221 php_win32_error_msg_free(err); in PHP_FUNCTION()
231 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
232 snprintf(buf, sizeof(buf), "Failed to re-init .Net domain [%s] %s", where, err); in PHP_FUNCTION()
233 php_win32_error_msg_free(err); in PHP_FUNCTION()
313 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
[all …]

Completed in 90 milliseconds

1234567