Home
last modified time | relevance | path

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

1234567

/PHP-7.0/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.0/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.0/ext/pdo_dblib/
H A Dpdo_dblib.c99 einfo = &DBLIB_G(err); in ZEND_GET_MODULE()
157 if (!err) { in pdo_dblib_err_dtor()
161 if (err->dberrstr) { in pdo_dblib_err_dtor()
162 efree(err->dberrstr); in pdo_dblib_err_dtor()
163 err->dberrstr = NULL; in pdo_dblib_err_dtor()
165 if (err->lastmsg) { in pdo_dblib_err_dtor()
166 efree(err->lastmsg); in pdo_dblib_err_dtor()
167 err->lastmsg = NULL; in pdo_dblib_err_dtor()
169 if (err->oserrstr) { in pdo_dblib_err_dtor()
170 efree(err->oserrstr); in pdo_dblib_err_dtor()
[all …]
/PHP-7.0/ext/opcache/
H A Dshared_alloc_win32.c51 err, in zend_win_error_message()
131 int err; in zend_shared_alloc_reattach() local
138 err = GetLastError(); in zend_shared_alloc_reattach()
145 err = GetLastError(); in zend_shared_alloc_reattach()
189 err = GetLastError(); in zend_shared_alloc_reattach()
203 int err = 0, ret; in create_segments() local
228 err = GetLastError(); in create_segments()
234 err = GetLastError(); in create_segments()
261 err = GetLastError(); in create_segments()
273 err = GetLastError(); in create_segments()
[all …]
/PHP-7.0/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp91 intl_error& err) in umsg_get_numeric_types() argument
96 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
122 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
137 intl_error& err) in umsg_parse_format() argument
300 intl_error& err) in umsg_get_types() argument
320 intl_error& err) in umsg_set_timezone() argument
426 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()
550 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
618 intl_errors_set(&err, err.code, in umsg_format_helper()
[all …]
/PHP-7.0/ext/oci8/
H A Doci8_collection.c61 connection->err, in php_oci_collection_create()
90 connection->err, in php_oci_collection_create()
119 connection->err in php_oci_collection_create()
138 connection->err in php_oci_collection_create()
154 connection->err in php_oci_collection_create()
186 connection->err in php_oci_collection_create()
204 connection->err, in php_oci_collection_create()
332 connection->err, in php_oci_collection_append_date()
373 connection->err, in php_oci_collection_append_number()
411 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.0/ext/intl/common/
H A Dcommon_date.cpp110 intl_error *err, const char *func) argument
116 if (err && U_FAILURE(err->code)) {
133 intl_errors_set(err, U_INTERNAL_PROGRAM_ERROR,
150 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
163 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
181 if (err && U_FAILURE(err->code)) {
196 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
215 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
224 intl_errors_set(err, status, message, 1);
232 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
[all …]
/PHP-7.0/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.0/ext/iconv/
H A Diconv.c815 return err; in _php_iconv_strlen()
841 return err; in _php_iconv_substr()
961 return err; in _php_iconv_substr()
1000 return err; in _php_iconv_strpos()
1147 return err; in _php_iconv_strpos()
1478 return err; in _php_iconv_mime_encode()
2003 return err; in _php_iconv_mime_decode()
2010 switch (err) { in _php_iconv_show_error()
2056 php_iconv_err_t err; in PHP_FUNCTION() local
2089 php_iconv_err_t err; in PHP_FUNCTION() local
[all …]
/PHP-7.0/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.0/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.0/ext/com_dotnet/
H A Dcom_dotnet.c207 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
209 if (err) in PHP_FUNCTION()
210 LocalFree(err); in PHP_FUNCTION()
221 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
223 if (err) in PHP_FUNCTION()
224 LocalFree(err); in PHP_FUNCTION()
236 if (err) in PHP_FUNCTION()
237 LocalFree(err); in PHP_FUNCTION()
316 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
318 if (err && err[0]) { in PHP_FUNCTION()
[all …]
/PHP-7.0/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.0/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.0/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.0/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.c63 HashTable* hash_arr, char* key_name, intl_error *err) in internal_get_arr_ele() argument
69 if (U_FAILURE(err->code)) { in internal_get_arr_ele()
77 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1); in internal_get_arr_ele()
85 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1); in internal_get_arr_ele()
111 intl_error *err = &dfo->datef_data.error; in internal_get_timestamp() local
114 internal_get_arr_ele(dfo, hash_arr, (elem), err) in internal_get_timestamp()
132 intl_errors_set(err, INTL_DATA_ERROR_CODE(dfo), "datefmt_format: " in internal_get_timestamp()
/PHP-7.0/main/streams/
H A Dxp_socket.c83 if (sock->is_blocked && (err == EWOULDBLOCK || err == EAGAIN)) { in php_sockop_write()
155 int err; in php_sockop_read() local
334 int err; in php_sockop_set_option() local
339 …(0 > ret && err != EWOULDBLOCK && err != EAGAIN && err != EMSGSIZE)) { /* there was an unrecoverab… in php_sockop_set_option()
402 "%s\n", err); in php_sockop_set_option()
403 efree(err); in php_sockop_set_option()
616 int portno, err; in php_tcp_sockop_bind() local
681 &err in php_tcp_sockop_bind()
696 int err = 0; in php_tcp_sockop_connect() local
720 &err); in php_tcp_sockop_connect()
[all …]
/PHP-7.0/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 : '').'.';

Completed in 126 milliseconds

1234567