/php-src/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-src/ext/pdo_dblib/ |
H A D | pdo_dblib.c | 91 einfo = &DBLIB_G(err); in ZEND_GET_MODULE() 149 if (!err) { in pdo_dblib_err_dtor() 153 if (err->dberrstr) { in pdo_dblib_err_dtor() 154 efree(err->dberrstr); in pdo_dblib_err_dtor() 155 err->dberrstr = NULL; in pdo_dblib_err_dtor() 157 if (err->lastmsg) { in pdo_dblib_err_dtor() 158 efree(err->lastmsg); in pdo_dblib_err_dtor() 159 err->lastmsg = NULL; in pdo_dblib_err_dtor() 161 if (err->oserrstr) { in pdo_dblib_err_dtor() 162 efree(err->oserrstr); in pdo_dblib_err_dtor() [all …]
|
/php-src/ext/opcache/ |
H A D | shared_alloc_win32.c | 115 int err; in zend_shared_alloc_reattach() local 123 err = GetLastError(); in zend_shared_alloc_reattach() 157 err = GetLastError(); in zend_shared_alloc_reattach() 179 err = GetLastError(); in zend_shared_alloc_reattach() 189 err = GetLastError(); in zend_shared_alloc_reattach() 202 int err = 0, ret; in create_segments() local 227 err = GetLastError(); in create_segments() 233 err = GetLastError(); in create_segments() 260 err = GetLastError(); in create_segments() 272 err = GetLastError(); in create_segments() [all …]
|
/php-src/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-src/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 | 276 int ret, err; in php_win32_ioutil_access() 303 DWORD err; in php_win32_ioutil_open() local 337 DWORD err; in php_win32_ioutil_unlink() local 361 DWORD err = 0; in php_win32_ioutil_rmdir() local 421 DWORD err = 0; in php_win32_ioutil_rename() local 464 DWORD err = 0; in php_win32_ioutil_chdir() local 490 DWORD err = 0; in php_win32_ioutil_getcwd() local 528 int err = 0; in php_win32_ioutil_chmod() local 540 _get_errno(&err); in php_win32_ioutil_chmod() 546 _set_errno(err); in php_win32_ioutil_chmod() [all …]
|
H A D | ioutil.c | 349 DWORD err = GetLastError(); in php_win32_ioutil_mkdir_w() local 366 DWORD err = 0; in php_win32_ioutil_unlink_w() local 383 err = GetLastError(); in php_win32_ioutil_unlink_w() 389 err = GetLastError(); in php_win32_ioutil_unlink_w() 412 err = GetLastError(); in php_win32_ioutil_unlink_w() 424 err = GetLastError(); in php_win32_ioutil_unlink_w() 482 DWORD err = 0; in php_win32_ioutil_getcwd_w() local 490 err = GetLastError(); in php_win32_ioutil_getcwd_w() 507 err = GetLastError(); in php_win32_ioutil_getcwd_w() 690 err = GetLastError(); in php_win32_ioutil_fopen_w() [all …]
|
/php-src/ext/iconv/ |
H A D | iconv.c | 616 return err; in _php_iconv_strlen() 643 return err; in _php_iconv_substr() 747 return err; in _php_iconv_substr() 788 return err; in _php_iconv_strpos() 898 return err; in _php_iconv_strpos() 1188 return err; in _php_iconv_mime_encode() 1739 return err; in _php_iconv_mime_decode() 1746 switch (err) { in _php_iconv_show_error() 1795 php_iconv_err_t err; in PHP_FUNCTION() local 1830 php_iconv_err_t err; in PHP_FUNCTION() local [all …]
|
/php-src/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-src/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-src/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-src/ext/standard/tests/streams/ |
H A D | gh14780.phpt | 10 $err = null; 12 pfsockopen('udp://127.0.0.1', '63844', $code, $err, (PHP_INT_MAX/100000)+1); 17 pfsockopen('udp://127.0.0.1', '63844', $code, $err, (PHP_INT_MIN/100000)-1); 21 var_dump(pfsockopen('udp://127.0.0.1', '63844', $code, $err, -1)); 23 pfsockopen('udp://127.0.0.1', '63844', $code, $err, NAN); 28 pfsockopen('udp://127.0.0.1', '63844', $code, $err, INF);
|
/php-src/ext/sockets/ |
H A D | sendrecvmsg.c | 186 struct err_s err = {0}; in PHP_FUNCTION() local 202 if (err.has_error) { in PHP_FUNCTION() 203 err_msg_dispose(&err); in PHP_FUNCTION() 228 struct err_s err = {0}; in PHP_FUNCTION() local 243 if (err.has_error) { in PHP_FUNCTION() 244 err_msg_dispose(&err); in PHP_FUNCTION() 265 if (!err.has_error) { in PHP_FUNCTION() 268 err_msg_dispose(&err); in PHP_FUNCTION() 332 struct err_s err = {0}; in php_do_setsockopt_ipv6_rfc3542() local 357 if (err.has_error) { in php_do_setsockopt_ipv6_rfc3542() [all …]
|
/php-src/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-src/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-src/ext/pdo_pgsql/tests/ |
H A D | issue78621.inc | 22 } catch (Throwable $err) { 23 echo "Caught ".get_class($err).": ".$err->getMessage()."\n"; 28 } catch (Throwable $err) { 29 echo "Caught ".get_class($err)." ".$err->getMessage()."\n";
|
/php-src/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 : '').'.';
|
/php-src/ext/opcache/tests/jit/ |
H A D | fetch_obj_001.phpt | 53 } catch (Error $err) { 54 echo $err->getMessage(), "\n"; 61 } catch (Error $err) { 62 echo $err->getMessage(), "\n"; 69 } catch (Error $err) { 70 echo $err->getMessage(), "\n";
|
/php-src/ext/sockets/tests/ |
H A D | socket_recvmsg.phpt | 24 $sends1 = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 26 $br = socket_bind($sends1, '::', 7001) or die("err"); 31 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 33 $br = socket_bind($s, '::0', 3001) or die("err"); 36 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err");
|
H A D | socket_sendrecvmsg_multi_msg-unix.phpt | 27 $sends1 = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 29 $br = socket_bind($sends1, '::', 7002) or die("err"); 34 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 36 $br = socket_bind($s, '::0', 3002) or die("err"); 39 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err"); 40 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVTCLASS, 1) or die("err");
|
/php-src/ext/standard/ |
H A D | flock_compat.c | 109 DWORD err; 135 err = GetLastError(); 136 if (ERROR_LOCK_VIOLATION == err || ERROR_SHARING_VIOLATION == err) {
|
H A D | dl.c | 86 char *err; in php_load_shlib() local 90 err = GET_DL_ERROR(); in php_load_shlib() 92 if (err && (*err)) { in php_load_shlib() 93 size_t i = strlen(err); in php_load_shlib() 94 (*errp)=estrdup(err); in php_load_shlib() 95 php_win32_error_msg_free(err); in php_load_shlib() 101 (*errp) = estrdup(err); in php_load_shlib()
|