Home
last modified time | relevance | path

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

1234567

/PHP-7.2/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.2/ext/zip/lib/
H A Dzip_error.c54 free(err->str); in zip_error_fini()
55 err->str = NULL; in zip_error_fini()
63 err->sys_err = 0; in zip_error_init()
64 err->str = NULL; in zip_error_init()
96 if (err == NULL) in _zip_error_clear()
100 err->sys_err = 0; in _zip_error_clear()
116 *zep = err->zip_err; in _zip_error_get()
119 *sep = err->sys_err; in _zip_error_get()
129 if (err) { in zip_error_set()
130 err->zip_err = ze; in zip_error_set()
[all …]
H A Dzip_error_strerror.c43 zip_error_strerror(zip_error_t *err) in zip_error_strerror() argument
48 zip_error_fini(err); in zip_error_strerror()
50 if (err->zip_err < 0 || err->zip_err >= _zip_nerr_str) { in zip_error_strerror()
51 sprintf(buf, "Unknown error %d", err->zip_err); in zip_error_strerror()
56 zs = _zip_err_str[err->zip_err]; in zip_error_strerror()
58 switch (_zip_err_type[err->zip_err]) { in zip_error_strerror()
60 ss = strerror(err->sys_err); in zip_error_strerror()
64 ss = zError(err->sys_err); in zip_error_strerror()
83 err->str = s; in zip_error_strerror()
/PHP-7.2/ext/pdo_dblib/
H A Dpdo_dblib.c93 einfo = &DBLIB_G(err); in ZEND_GET_MODULE()
151 if (!err) { in pdo_dblib_err_dtor()
155 if (err->dberrstr) { in pdo_dblib_err_dtor()
156 efree(err->dberrstr); in pdo_dblib_err_dtor()
157 err->dberrstr = NULL; in pdo_dblib_err_dtor()
159 if (err->lastmsg) { in pdo_dblib_err_dtor()
160 efree(err->lastmsg); in pdo_dblib_err_dtor()
161 err->lastmsg = NULL; in pdo_dblib_err_dtor()
163 if (err->oserrstr) { in pdo_dblib_err_dtor()
164 efree(err->oserrstr); in pdo_dblib_err_dtor()
[all …]
/PHP-7.2/ext/opcache/
H A Dshared_alloc_win32.c52 err, in zend_win_error_message()
142 int err; in zend_shared_alloc_reattach() local
149 err = GetLastError(); in zend_shared_alloc_reattach()
156 err = GetLastError(); in zend_shared_alloc_reattach()
165 err = GetLastError(); in zend_shared_alloc_reattach()
203 err = GetLastError(); in zend_shared_alloc_reattach()
217 int err = 0, ret; in create_segments() local
242 err = GetLastError(); in create_segments()
275 err = GetLastError(); in create_segments()
287 err = GetLastError(); in create_segments()
[all …]
/PHP-7.2/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()
124 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
139 intl_error& err) in umsg_parse_format() argument
302 intl_error& err) in umsg_get_types() argument
322 intl_error& err) in umsg_set_timezone() argument
448 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
482 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
572 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
640 intl_errors_set(&err, err.code, in umsg_format_helper()
[all …]
/PHP-7.2/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.2/win32/
H A Dioutil.h255 int ret, err; in php_win32_ioutil_access()
271 _set_errno(err); in php_win32_ioutil_access()
282 DWORD err; in php_win32_ioutil_open() local
316 DWORD err = 0; in php_win32_ioutil_unlink() local
342 DWORD err = 0; in php_win32_ioutil_rmdir() local
373 int err = 0; in php_win32_ioutil_fopen() local
398 _set_errno(err); in php_win32_ioutil_fopen()
408 DWORD err = 0; in php_win32_ioutil_rename() local
448 DWORD err = 0; in php_win32_ioutil_chdir() local
474 DWORD err = 0; in php_win32_ioutil_getcwd() local
[all …]
H A Dioutil.c292 DWORD err = 0;
298 err = GetLastError();
312 DWORD err = 0; in php_win32_ioutil_mkdir() local
370 err = GetLastError(); in php_win32_ioutil_mkdir()
385 DWORD err = 0; in php_win32_ioutil_unlink_w() local
390 err = GetLastError(); in php_win32_ioutil_unlink_w()
401 DWORD err = 0; in php_win32_ioutil_rmdir_w() local
417 DWORD err = 0; in php_win32_ioutil_chdir_w() local
431 DWORD err = 0; in php_win32_ioutil_rename_w() local
448 DWORD err = 0; in php_win32_ioutil_getcwd_w() local
[all …]
H A Dwinutil.h47 #define SET_ERRNO_FROM_WIN32_CODE(err) \ argument
49 int ern = php_win32_code_to_errno(err); \
50 SetLastError(err); \
/PHP-7.2/ext/intl/common/
H A Dcommon_date.cpp104 intl_error *err, const char *func) argument
110 if (err && U_FAILURE(err->code)) {
129 intl_errors_set(err, U_INTERNAL_PROGRAM_ERROR,
147 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
160 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
178 if (err && U_FAILURE(err->code)) {
193 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
212 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
221 intl_errors_set(err, status, message, 1);
229 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
[all …]
/PHP-7.2/ext/iconv/
H A Diconv.c807 return err; in _php_iconv_strlen()
833 return err; in _php_iconv_substr()
953 return err; in _php_iconv_substr()
992 return err; in _php_iconv_strpos()
1139 return err; in _php_iconv_strpos()
1470 return err; in _php_iconv_mime_encode()
2024 return err; in _php_iconv_mime_decode()
2031 switch (err) { in _php_iconv_show_error()
2077 php_iconv_err_t err; in PHP_FUNCTION() local
2110 php_iconv_err_t err; in PHP_FUNCTION() local
[all …]
/PHP-7.2/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.2/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.2/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()
219 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()
260 if (!err.has_error) { in PHP_FUNCTION()
263 err_msg_dispose(&err); in PHP_FUNCTION()
321 struct err_s err = {0}; in php_do_setsockopt_ipv6_rfc3542() local
346 if (err.has_error) { in php_do_setsockopt_ipv6_rfc3542()
[all …]
/PHP-7.2/ext/com_dotnet/
H A Dcom_dotnet.c208 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
210 if (err) in PHP_FUNCTION()
211 LocalFree(err); in PHP_FUNCTION()
222 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
224 if (err) in PHP_FUNCTION()
225 LocalFree(err); in PHP_FUNCTION()
237 if (err) in PHP_FUNCTION()
238 LocalFree(err); in PHP_FUNCTION()
318 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
320 if (err && err[0]) { in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/pdo_oci/
H A Doci_statement.c82 if (S->err) { in oci_stmt_dtor()
83 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_stmt_dtor()
84 S->err = NULL; in oci_stmt_dtor()
111 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, in oci_stmt_dtor()
157 STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, in oci_stmt_execute()
345 &P->bind, S->err, (text*)param->name->val, in oci_stmt_param_hook()
351 &P->bind, S->err, ((ub4)param->paramno)+1, in oci_stmt_param_hook()
358 S->err, in oci_stmt_param_hook()
629 OCIError *err; member
692 OCILobClose(self->E->svc, self->E->err, self->lob); in oci_blob_close()
[all …]
H A Doci_driver.c198 OCITransRollback(H->svc, H->err, 0); in oci_handle_closer()
224 if (H->err) { in oci_handle_closer()
225 OCIHandleFree(H->err, OCI_HTYPE_ERROR); in oci_handle_closer()
226 H->err = NULL; in oci_handle_closer()
301 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer()
469 OCI_ATTR_ACTION, H->err); in oci_handle_set_attribute()
487 OCI_ATTR_CLIENT_INFO, H->err); in oci_handle_set_attribute()
505 OCI_ATTR_CLIENT_IDENTIFIER, H->err); in oci_handle_set_attribute()
523 OCI_ATTR_MODULE, H->err); in oci_handle_set_attribute()
741 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory()
[all …]
H A Dphp_pdo_oci_int.h35 OCIError *err; member
65 OCIError *err; member
91 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini…
92 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__)
93 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__)
94 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LI…
/PHP-7.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-7.2/ext/intl/dateformat/
H A Ddateformat_helpers.cpp34 intl_error *err, in datefmt_process_calendar_arg() argument
59 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
79 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
90 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1); in datefmt_process_calendar_arg()
100 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()

Completed in 68 milliseconds

1234567