Home
last modified time | relevance | path

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

1234567

/php-src/ext/intl/
H A Dintl_error.c42 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 Dintl_error.h33 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 Dintl_data.h47 #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 Dpdo_dblib.c91 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 Dshared_alloc_win32.c115 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 Dmsgformat_helpers.cpp90 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 Dwinutil.h30 #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 Dioutil.h298 int ret, err; in php_win32_ioutil_access()
325 DWORD err; in php_win32_ioutil_open() local
359 DWORD err; in php_win32_ioutil_unlink() local
383 DWORD err = 0; in php_win32_ioutil_rmdir() local
443 DWORD err = 0; in php_win32_ioutil_rename() local
486 DWORD err = 0; in php_win32_ioutil_chdir() local
512 DWORD err = 0; in php_win32_ioutil_getcwd() local
550 int err = 0; in php_win32_ioutil_chmod() local
562 _get_errno(&err); in php_win32_ioutil_chmod()
568 _set_errno(err); in php_win32_ioutil_chmod()
[all …]
H A Dioutil.c370 DWORD err = GetLastError(); in php_win32_ioutil_mkdir_w() local
387 DWORD err = 0; in php_win32_ioutil_unlink_w() local
404 err = GetLastError(); in php_win32_ioutil_unlink_w()
410 err = GetLastError(); in php_win32_ioutil_unlink_w()
433 err = GetLastError(); in php_win32_ioutil_unlink_w()
445 err = GetLastError(); in php_win32_ioutil_unlink_w()
503 DWORD err = 0; in php_win32_ioutil_getcwd_w() local
511 err = GetLastError(); in php_win32_ioutil_getcwd_w()
528 err = GetLastError(); in php_win32_ioutil_getcwd_w()
711 err = GetLastError(); in php_win32_ioutil_fopen_w()
[all …]
/php-src/ext/iconv/
H A Diconv.c616 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 Dcommon_date.cpp98 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 Dnormalizer_normalize.c32 return unorm2_getNFCInstance(err); in intl_get_normalizer()
35 return unorm2_getNFDInstance(err); in intl_get_normalizer()
38 return unorm2_getNFKCInstance(err); in intl_get_normalizer()
41 return unorm2_getNFKDInstance(err); in intl_get_normalizer()
44 return unorm2_getNFKCCasefoldInstance(err); in intl_get_normalizer()
48 *err = U_ILLEGAL_ARGUMENT_ERROR; in intl_get_normalizer()
54 const UNormalizer2 *norm = intl_get_normalizer(form, err); in intl_normalize()
55 if (U_FAILURE(*err)) { in intl_normalize()
64 const UNormalizer2 *norm = intl_get_normalizer(form, err); in intl_is_normalized()
66 if(U_FAILURE(*err)) { in intl_is_normalized()
[all …]
/php-src/scripts/dev/
H A Dsearch_underscores.php28 $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 Dgh14780.phpt10 $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 Dsendrecvmsg.c186 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 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-src/ext/intl/dateformat/
H A Ddateformat_helpers.cpp33 …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 Ddateformat_format.c57 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 Dissue78621.inc22 } 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 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-src/ext/opcache/tests/jit/
H A Dfetch_obj_001.phpt53 } 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 Dsocket_recvmsg.phpt24 $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 Dsocket_sendrecvmsg_multi_msg-unix.phpt27 $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 Dflock_compat.c109 DWORD err;
135 err = GetLastError();
136 if (ERROR_LOCK_VIOLATION == err || ERROR_SHARING_VIOLATION == err) {
H A Ddl.c86 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()

Completed in 49 milliseconds

1234567