Home
last modified time | relevance | path

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

12345678

/PHP-8.2/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-8.2/ext/pdo_dblib/
H A Dpdo_dblib.c88 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.2/ext/opcache/
H A Dshared_alloc_win32.c117 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.2/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-8.2/ext/oci8/
H A Doci8_collection.c59 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 Doci8_lob.c73 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 Doci8.c213 OCI_G(err) = NULL; in PHP_INI_END()
237 OCI_G(err) = NULL; in PHP_INI_END()
261 if (oci_globals->err) { in PHP_GSHUTDOWN_FUNCTION()
265 oci_globals->err = NULL; in PHP_GSHUTDOWN_FUNCTION()
1324 if (connection->err) { in php_oci_connection_close()
2100 php_oci_error(OCI_G(err), OCI_G(errcode)); in php_oci_old_create_session()
2109 php_oci_error(OCI_G(err), OCI_G(errcode)); in php_oci_old_create_session()
2119 php_oci_error(OCI_G(err), OCI_G(errcode)); in php_oci_old_create_session()
2128 php_oci_error(OCI_G(err), OCI_G(errcode)); in php_oci_old_create_session()
2306 if (!connection->err) { in php_oci_create_session()
[all …]
/PHP-8.2/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.h281 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 Dioutil.c353 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.2/ext/iconv/
H A Diconv.c617 return err; in _php_iconv_strlen()
644 return err; in _php_iconv_substr()
748 return err; in _php_iconv_substr()
789 return err; in _php_iconv_strpos()
899 return err; in _php_iconv_strpos()
1189 return err; in _php_iconv_mime_encode()
1740 return err; in _php_iconv_mime_decode()
1747 switch (err) { in _php_iconv_show_error()
1796 php_iconv_err_t err; in PHP_FUNCTION() local
1831 php_iconv_err_t err; in PHP_FUNCTION() local
[all …]
/PHP-8.2/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-8.2/ext/intl/normalizer/
H A Dnormalizer_normalize.c37 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.2/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-8.2/ext/imap/tests/
H A Dbug63126.phpt15 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.2/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-8.2/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-8.2/ext/pdo_oci/
H A Doci_statement.c78 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()
337 &P->bind, S->err, (text*)param->name->val, in oci_stmt_param_hook()
343 &P->bind, S->err, ((ub4)param->paramno)+1, in oci_stmt_param_hook()
350 S->err, in oci_stmt_param_hook()
608 OCIError *err; member
683 OCILobClose(self->E->svc, self->E->err, self->lob); in oci_blob_close()
[all …]
H A Dphp_pdo_oci_int.h31 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 Doci_driver.c192 OCITransRollback(H->svc, H->err, 0); in oci_handle_closer()
218 if (H->err) { in oci_handle_closer()
220 H->err = NULL; in oci_handle_closer()
291 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer()
476 OCI_ATTR_ACTION, H->err); in oci_handle_set_attribute()
497 OCI_ATTR_CLIENT_INFO, H->err); in oci_handle_set_attribute()
539 OCI_ATTR_MODULE, H->err); in oci_handle_set_attribute()
560 OCI_ATTR_CALL_TIMEOUT, H->err); in oci_handle_set_attribute()
645 OCI_ATTR_CALL_TIMEOUT, H->err); in oci_handle_get_attribute()
812 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory()
[all …]
/PHP-8.2/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-8.2/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()

Completed in 67 milliseconds

12345678