/PHP-8.0/ext/intl/ |
H A D | intl_error.c | 42 if( !err && !( err = intl_g_error_get( ) ) ) in intl_free_custom_error_msg() 61 return err; in intl_error_create() 68 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_init() 80 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_reset() 101 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_set_custom_msg() 121 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_get_message() 143 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_set_code() 153 if( !err && !( err = intl_g_error_get( ) ) ) in intl_error_get_code() 179 if(err) { in intl_errors_reset() 189 if(err) { in intl_errors_set_custom_msg() [all …]
|
H A D | intl_error.h | 33 void intl_error_init( intl_error* err ); 34 void intl_error_reset( intl_error* err ); 35 void intl_error_set_code( intl_error* err, UErrorCode err_code ); 36 void intl_error_set_custom_msg( intl_error* err, const char* msg, int copyMsg ); 37 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg ); 38 UErrorCode intl_error_get_code( intl_error* err ); 39 zend_string* intl_error_get_message( intl_error* err ); 42 void intl_errors_reset( intl_error* err ); 43 void intl_errors_set_custom_msg( intl_error* err, const char* msg, int copyMsg ); 44 void intl_errors_set_code( intl_error* err, UErrorCode err_code ); [all …]
|
H A D | intl_data.h | 47 #define INTL_CHECK_STATUS(err, msg) \ argument 48 intl_error_set_code( NULL, (err) ); \ 49 if( U_FAILURE((err)) ) \ 56 #define INTL_CHECK_STATUS_OR_NULL(err, msg) \ argument 57 intl_error_set_code( NULL, (err) ); \ 58 if( U_FAILURE((err)) ) \
|
/PHP-8.0/ext/pdo_dblib/ |
H A D | pdo_dblib.c | 88 einfo = &DBLIB_G(err); in ZEND_GET_MODULE() 146 if (!err) { in pdo_dblib_err_dtor() 150 if (err->dberrstr) { in pdo_dblib_err_dtor() 151 efree(err->dberrstr); in pdo_dblib_err_dtor() 152 err->dberrstr = NULL; in pdo_dblib_err_dtor() 154 if (err->lastmsg) { in pdo_dblib_err_dtor() 155 efree(err->lastmsg); in pdo_dblib_err_dtor() 156 err->lastmsg = NULL; in pdo_dblib_err_dtor() 158 if (err->oserrstr) { in pdo_dblib_err_dtor() 159 efree(err->oserrstr); in pdo_dblib_err_dtor() [all …]
|
/PHP-8.0/ext/opcache/ |
H A D | shared_alloc_win32.c | 117 int err; in zend_shared_alloc_reattach() local 125 err = GetLastError(); in zend_shared_alloc_reattach() 159 err = GetLastError(); in zend_shared_alloc_reattach() 181 err = GetLastError(); in zend_shared_alloc_reattach() 191 err = GetLastError(); in zend_shared_alloc_reattach() 204 int err = 0, ret; in create_segments() local 229 err = GetLastError(); in create_segments() 235 err = GetLastError(); in create_segments() 262 err = GetLastError(); in create_segments() 274 err = GetLastError(); in create_segments() [all …]
|
/PHP-8.0/win32/ |
H A D | winutil.h | 30 #define php_win_err_free(err) php_win32_error_msg_free(err) argument 47 #define SET_ERRNO_FROM_WIN32_CODE(err) \ argument 49 int ern = php_win32_code_to_errno(err); \ 50 SetLastError(err); \ 56 PHP_WINUTIL_API BOOL php_win32_image_compatible(HMODULE handle, char **err); 57 PHP_WINUTIL_API BOOL php_win32_crt_compatible(char **err);
|
H A D | ioutil.h | 281 int ret, err; in php_win32_ioutil_access() 308 DWORD err; in php_win32_ioutil_open() local 342 DWORD err; in php_win32_ioutil_unlink() local 366 DWORD err = 0; in php_win32_ioutil_rmdir() local 426 DWORD err = 0; in php_win32_ioutil_rename() local 469 DWORD err = 0; in php_win32_ioutil_chdir() local 495 DWORD err = 0; in php_win32_ioutil_getcwd() local 533 int err = 0; in php_win32_ioutil_chmod() local 545 _get_errno(&err); in php_win32_ioutil_chmod() 551 _set_errno(err); in php_win32_ioutil_chmod() [all …]
|
H A D | ioutil.c | 353 DWORD err = GetLastError(); in php_win32_ioutil_mkdir_w() local 370 DWORD err = 0; in php_win32_ioutil_unlink_w() local 387 err = GetLastError(); in php_win32_ioutil_unlink_w() 393 err = GetLastError(); in php_win32_ioutil_unlink_w() 416 err = GetLastError(); in php_win32_ioutil_unlink_w() 428 err = GetLastError(); in php_win32_ioutil_unlink_w() 486 DWORD err = 0; in php_win32_ioutil_getcwd_w() local 494 err = GetLastError(); in php_win32_ioutil_getcwd_w() 511 err = GetLastError(); in php_win32_ioutil_getcwd_w() 715 err = GetLastError(); in php_win32_ioutil_fopen_w() [all …]
|
/PHP-8.0/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 90 intl_error& err) in umsg_get_numeric_types() argument 95 if (U_FAILURE(err.code)) { in umsg_get_numeric_types() 117 if (U_FAILURE(err.code)) { in umsg_get_numeric_types() 131 intl_error& err) in umsg_parse_format() argument 285 intl_error& err) in umsg_get_types() argument 295 intl_error& err) in umsg_set_timezone() argument 424 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper() 460 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper() 536 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper() 604 intl_errors_set(&err, err.code, in umsg_format_helper() [all …]
|
/PHP-8.0/ext/oci8/ |
H A D | oci8_collection.c | 59 connection->err, in php_oci_collection_create() 88 connection->err, in php_oci_collection_create() 117 connection->err in php_oci_collection_create() 136 connection->err in php_oci_collection_create() 152 connection->err in php_oci_collection_create() 184 connection->err in php_oci_collection_create() 202 connection->err, in php_oci_collection_create() 330 connection->err, in php_oci_collection_append_date() 371 connection->err, in php_oci_collection_append_number() 409 connection->err, in php_oci_collection_append_string() [all …]
|
H A D | oci8_lob.c | 73 OCI_G(errcode) = php_oci_error(OCI_G(err), errstatus); in php_oci_lob_create() 129 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_get_length() 138 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_get_length() 220 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_calculate_buffer() 339 connection->err, in php_oci_lob_read() 363 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_read() 420 connection->err, in php_oci_lob_write() 435 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_write() 533 connection->err, in php_oci_lob_copy() 727 connection->err, in php_oci_lob_import() [all …]
|
H A D | oci8.c | 195 OCI_G(err) = NULL; in PHP_INI_END() 235 OCI_G(err) = NULL; in PHP_INI_END() 259 if (oci_globals->err) { in PHP_GSHUTDOWN_FUNCTION() 263 oci_globals->err = NULL; in PHP_GSHUTDOWN_FUNCTION() 1451 if (connection->err) { in php_oci_connection_close() 2248 php_oci_error(OCI_G(err), OCI_G(errcode)); in php_oci_old_create_session() 2257 php_oci_error(OCI_G(err), OCI_G(errcode)); in php_oci_old_create_session() 2267 php_oci_error(OCI_G(err), OCI_G(errcode)); in php_oci_old_create_session() 2276 php_oci_error(OCI_G(err), OCI_G(errcode)); in php_oci_old_create_session() 2460 if (!connection->err) { in php_oci_create_session() [all …]
|
/PHP-8.0/ext/iconv/ |
H A D | iconv.c | 609 return err; in _php_iconv_strlen() 636 return err; in _php_iconv_substr() 740 return err; in _php_iconv_substr() 781 return err; in _php_iconv_strpos() 891 return err; in _php_iconv_strpos() 1181 return err; in _php_iconv_mime_encode() 1730 return err; in _php_iconv_mime_decode() 1737 switch (err) { in _php_iconv_show_error() 1786 php_iconv_err_t err; in PHP_FUNCTION() local 1821 php_iconv_err_t err; in PHP_FUNCTION() local [all …]
|
/PHP-8.0/ext/intl/common/ |
H A D | common_date.cpp | 98 intl_error *err, const char *func) in intl_datetime_decompose() argument 104 if (err && U_FAILURE(err->code)) { in intl_datetime_decompose() 123 intl_errors_set(err, U_INTERNAL_PROGRAM_ERROR, in intl_datetime_decompose() 141 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_datetime_decompose() 154 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_datetime_decompose() 172 if (err && U_FAILURE(err->code)) { in intl_zval_to_millis() 188 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_zval_to_millis() 207 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_zval_to_millis() 216 intl_errors_set(err, status, message, 1); in intl_zval_to_millis() 224 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, in intl_zval_to_millis() [all …]
|
/PHP-8.0/scripts/dev/ |
H A D | search_underscores.php | 28 $err = 0; variable 37 $err++; 46 $err++; 58 $err++; 77 printf("Errors: %5d (%.1f%%)\n", $err, round($err * 100 / $cnt, 1));
|
/PHP-8.0/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 37 return unorm2_getNFCInstance(err); in intl_get_normalizer() 40 return unorm2_getNFDInstance(err); in intl_get_normalizer() 43 return unorm2_getNFKCInstance(err); in intl_get_normalizer() 46 return unorm2_getNFKDInstance(err); in intl_get_normalizer() 49 return unorm2_getNFKCCasefoldInstance(err); in intl_get_normalizer() 53 *err = U_ILLEGAL_ARGUMENT_ERROR; in intl_get_normalizer() 59 const UNormalizer2 *norm = intl_get_normalizer(form, err); in intl_normalize() 60 if (U_FAILURE(*err)) { in intl_normalize() 69 const UNormalizer2 *norm = intl_get_normalizer(form, err); in intl_is_normalized() 71 if(U_FAILURE(*err)) { in intl_is_normalized() [all …]
|
/PHP-8.0/ext/imap/tests/ |
H A D | bug63126.phpt | 15 foreach ($errors as $err) { 16 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) { 40 foreach ($errors as $err) { 41 if (strstr($err, 'GSSAPI') || strstr($err, 'Kerberos')) { 42 echo "$err\n";
|
/PHP-8.0/ext/sockets/ |
H A D | sendrecvmsg.c | 180 struct err_s err = {0}; in PHP_FUNCTION() local 196 if (err.has_error) { in PHP_FUNCTION() 197 err_msg_dispose(&err); in PHP_FUNCTION() 222 struct err_s err = {0}; in PHP_FUNCTION() local 237 if (err.has_error) { in PHP_FUNCTION() 238 err_msg_dispose(&err); in PHP_FUNCTION() 259 if (!err.has_error) { in PHP_FUNCTION() 262 err_msg_dispose(&err); in PHP_FUNCTION() 326 struct err_s err = {0}; in php_do_setsockopt_ipv6_rfc3542() local 351 if (err.has_error) { in php_do_setsockopt_ipv6_rfc3542() [all …]
|
/PHP-8.0/ext/pdo_oci/ |
H A D | oci_driver.c | 194 OCITransRollback(H->svc, H->err, 0); in oci_handle_closer() 220 if (H->err) { in oci_handle_closer() 222 H->err = NULL; in oci_handle_closer() 297 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer() 468 OCI_ATTR_ACTION, H->err); in oci_handle_set_attribute() 489 OCI_ATTR_CLIENT_INFO, H->err); in oci_handle_set_attribute() 531 OCI_ATTR_MODULE, H->err); in oci_handle_set_attribute() 549 OCI_ATTR_CALL_TIMEOUT, H->err); in oci_handle_set_attribute() 634 OCI_ATTR_CALL_TIMEOUT, H->err); in oci_handle_get_attribute() 800 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory() [all …]
|
H A D | php_pdo_oci_int.h | 31 OCIError *err; member 61 OCIError *err; member 87 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini… 88 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__) 89 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__) 90 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LI…
|
H A D | oci_statement.c | 78 if (S->err) { in oci_stmt_dtor() 79 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_stmt_dtor() 80 S->err = NULL; in oci_stmt_dtor() 107 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, in oci_stmt_dtor() 153 STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, in oci_stmt_execute() 336 &P->bind, S->err, (text*)param->name->val, in oci_stmt_param_hook() 342 &P->bind, S->err, ((ub4)param->paramno)+1, in oci_stmt_param_hook() 349 S->err, in oci_stmt_param_hook() 612 OCIError *err; member 675 OCILobClose(self->E->svc, self->E->err, self->lob); in oci_blob_close() [all …]
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gdtestft.c | 36 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-8.0/ext/intl/dateformat/ |
H A D | dateformat_helpers.cpp | 33 …const char *func_name, intl_error *err, Calendar*& cal, zend_long& cal_int_type, bool& calendar_ow… in datefmt_process_calendar_arg() argument 53 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg() 70 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() 91 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
|
H A D | dateformat_format.c | 57 HashTable* hash_arr, char* key_name, intl_error *err) in internal_get_arr_ele() argument 63 if (U_FAILURE(err->code)) { in internal_get_arr_ele() 71 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1); in internal_get_arr_ele() 79 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1); in internal_get_arr_ele() 103 intl_error *err = &dfo->datef_data.error; in internal_get_timestamp() local 106 internal_get_arr_ele(dfo, hash_arr, (elem), err) in internal_get_timestamp() 124 intl_errors_set(err, INTL_DATA_ERROR_CODE(dfo), "datefmt_format: " in internal_get_timestamp()
|
/PHP-8.0/ext/xmlreader/tests/ |
H A D | bug71805.phpt | 20 $err = ''; 21 if ($e = libxml_get_last_error()) { $err = $e->message.' (line: '.$e->line.')'; } 23 echo $file.' : Problem with file'.($err ? ' — '.$err : '').'.';
|