Home
last modified time | relevance | path

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

1234567

/PHP-7.1/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.1/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.1/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.1/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.1/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.1/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.c79 OCI_G(errcode) = php_oci_error(OCI_G(err), errstatus); in php_oci_lob_create()
135 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_get_length()
144 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_get_length()
226 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_calculate_buffer()
345 connection->err, in php_oci_lob_read()
369 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_read()
426 connection->err, in php_oci_lob_write()
441 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_lob_write()
539 connection->err, in php_oci_lob_copy()
733 connection->err, in php_oci_lob_import()
[all …]
/PHP-7.1/win32/
H A Dioutil.h253 int ret, err; in php_win32_ioutil_access()
269 _set_errno(err); in php_win32_ioutil_access()
280 DWORD err; in php_win32_ioutil_open() local
314 DWORD err = 0; in php_win32_ioutil_unlink() local
340 DWORD err = 0; in php_win32_ioutil_rmdir() local
371 int err = 0; in php_win32_ioutil_fopen() local
396 _set_errno(err); in php_win32_ioutil_fopen()
406 DWORD err = 0; in php_win32_ioutil_rename() local
446 DWORD err = 0; in php_win32_ioutil_chdir() local
472 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
349 err = GetLastError(); in php_win32_ioutil_mkdir()
364 DWORD err = 0; in php_win32_ioutil_unlink_w() local
369 err = GetLastError(); in php_win32_ioutil_unlink_w()
380 DWORD err = 0; in php_win32_ioutil_rmdir_w() local
396 DWORD err = 0; in php_win32_ioutil_chdir_w() local
410 DWORD err = 0; in php_win32_ioutil_rename_w() local
427 DWORD err = 0; in php_win32_ioutil_getcwd_w() local
[all …]
H A Dwinutil.h48 #define SET_ERRNO_FROM_WIN32_CODE(err) \ argument
50 int ern = php_win32_code_to_errno(err); \
51 SetLastError(err); \
/PHP-7.1/ext/iconv/
H A Diconv.c816 return err; in _php_iconv_strlen()
842 return err; in _php_iconv_substr()
962 return err; in _php_iconv_substr()
1001 return err; in _php_iconv_strpos()
1148 return err; in _php_iconv_strpos()
1479 return err; in _php_iconv_mime_encode()
2033 return err; in _php_iconv_mime_decode()
2040 switch (err) { in _php_iconv_show_error()
2086 php_iconv_err_t err; in PHP_FUNCTION() local
2119 php_iconv_err_t err; in PHP_FUNCTION() local
[all …]
/PHP-7.1/ext/intl/common/
H A Dcommon_date.cpp110 intl_error *err, const char *func) argument
116 if (err && U_FAILURE(err->code)) {
135 intl_errors_set(err, U_INTERNAL_PROGRAM_ERROR,
153 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
166 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
184 if (err && U_FAILURE(err->code)) {
199 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
218 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
227 intl_errors_set(err, status, message, 1);
235 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
[all …]
/PHP-7.1/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.1/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.1/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.1/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.1/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 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…
H A Doci_driver.c204 OCITransRollback(H->svc, H->err, 0); in oci_handle_closer()
230 if (H->err) { in oci_handle_closer()
231 OCIHandleFree(H->err, OCI_HTYPE_ERROR); in oci_handle_closer()
232 H->err = NULL; in oci_handle_closer()
298 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_handle_preparer()
307 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer()
311 OCI_ATTR_PREFETCH_MEMORY, H->err); in oci_handle_preparer()
417 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_commit()
431 H->last_err = OCITransRollback(H->svc, H->err, 0); in oci_handle_rollback()
670 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory()
[all …]
/PHP-7.1/TSRM/
H A Dtsrm_nw.c59 int ptrLen = 0, argc = 0, i = 0, envCount = 0, err = 0; local
109 err = NXFifoOpen(0, filePath, mode, 0, &pipe_handle);
110 if (err)
120 err = NXCopyEnv(env, envCount);
121 if (err) {
199 err = NXVmSpawn(&nameSpec, &envSpec, 0, &newVM);
200 if (!err)
228 int err = 0; local
235 err = fclose(stream);
237 return err;
/PHP-7.1/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.1/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()

Completed in 83 milliseconds

1234567