Home
last modified time | relevance | path

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

123456

/PHP-5.5/ext/intl/
H A Dintl_error.c48 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_free_custom_error_msg()
69 return err; in intl_error_create()
78 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_init()
92 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_reset()
115 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_set_custom_msg()
137 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_get_message()
161 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_set_code()
173 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) 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 TSRMLS_DC );
36 void intl_error_reset( intl_error* err TSRMLS_DC );
37 void intl_error_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC );
38 void intl_error_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_DC );
39 void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC );
40 UErrorCode intl_error_get_code( intl_error* err TSRMLS_DC );
41 char* intl_error_get_message( intl_error* err TSRMLS_DC );
44 void intl_errors_reset( intl_error* err TSRMLS_DC );
45 void intl_errors_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_DC );
46 void intl_errors_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC );
[all …]
/PHP-5.5/ext/zip/lib/
H A Dzip_error.c45 err->zip_err = ZIP_ER_OK; in _zip_error_clear()
46 err->sys_err = 0; in _zip_error_clear()
63 free(err->str); in _zip_error_fini()
64 err->str = NULL; in _zip_error_fini()
73 *zep = err->zip_err; in _zip_error_get()
76 *sep = err->sys_err; in _zip_error_get()
88 err->sys_err = 0; in _zip_error_init()
89 err->str = NULL; in _zip_error_init()
97 if (err) { in _zip_error_set()
98 err->zip_err = ze; in _zip_error_set()
[all …]
H A Dzip_error_strerror.c46 _zip_error_strerror(struct zip_error *err) in _zip_error_strerror() argument
51 _zip_error_fini(err); in _zip_error_strerror()
53 if (err->zip_err < 0 || err->zip_err >= _zip_nerr_str) { in _zip_error_strerror()
54 sprintf(buf, "Unknown error %d", err->zip_err); in _zip_error_strerror()
59 zs = _zip_err_str[err->zip_err]; in _zip_error_strerror()
61 switch (_zip_err_type[err->zip_err]) { in _zip_error_strerror()
63 ss = strerror(err->sys_err); in _zip_error_strerror()
67 ss = zError(err->sys_err); in _zip_error_strerror()
86 err->str = s; in _zip_error_strerror()
/PHP-5.5/ext/opcache/
H A Dshared_alloc_win32.c51 err, in zend_win_error_message()
128 int err; in zend_shared_alloc_reattach() local
134 err = GetLastError(); in zend_shared_alloc_reattach()
142 err = GetLastError(); in zend_shared_alloc_reattach()
160 err = GetLastError(); in zend_shared_alloc_reattach()
176 int err, ret; in create_segments() local
199 err = GetLastError(); in create_segments()
205 err = GetLastError(); in create_segments()
238 err = GetLastError(); in create_segments()
295 err = GetLastError(); in create_segments()
[all …]
/PHP-5.5/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp92 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
119 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
139 if (U_FAILURE(err.code)) { in umsg_parse_format()
282 if (U_FAILURE(err.code)) { in umsg_parse_format()
359 if (U_SUCCESS(err.code)) { in umsg_set_timezone()
398 U_SUCCESS(err.code) && in umsg_format_helper()
431 intl_errors_set(&err, err.code, message, 1 TSRMLS_CC); in umsg_format_helper()
466 intl_errors_set(&err, err.code, message, 1 TSRMLS_CC); in umsg_format_helper()
556 intl_errors_set(&err, err.code, message, 1 TSRMLS_CC); in umsg_format_helper()
622 intl_errors_set(&err, err.code, in umsg_format_helper()
[all …]
/PHP-5.5/ext/oci8/
H A Doci8_collection.c64 connection->err, in php_oci_collection_create()
93 connection->err, in php_oci_collection_create()
122 connection->err in php_oci_collection_create()
141 connection->err in php_oci_collection_create()
157 connection->err in php_oci_collection_create()
189 connection->err in php_oci_collection_create()
207 connection->err, in php_oci_collection_create()
322 connection->err, in php_oci_collection_append_date()
366 connection->err, in php_oci_collection_append_number()
401 connection->err, in php_oci_collection_append_string()
[all …]
H A Doci8_lob.c78 OCI_G(errcode) = php_oci_error(OCI_G(err), OCI_G(errcode) TSRMLS_CC); in php_oci_lob_create()
129 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_get_length()
138 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_get_length()
220 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_calculate_buffer()
343 connection->err, in php_oci_lob_read()
376 connection->err, in php_oci_lob_read()
395 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_read()
453 connection->err, in php_oci_lob_write()
559 connection->err, in php_oci_lob_copy()
746 connection->err,
[all …]
/PHP-5.5/ext/pdo_dblib/
H A Dpdo_dblib.c100 einfo = &DBLIB_G(err); in ZEND_GET_MODULE()
149 einfo = &DBLIB_G(err); in msg_handler()
174 if (DBLIB_G(err).oserrstr) { in PHP_RSHUTDOWN_FUNCTION()
175 efree(DBLIB_G(err).oserrstr); in PHP_RSHUTDOWN_FUNCTION()
176 DBLIB_G(err).oserrstr = NULL; in PHP_RSHUTDOWN_FUNCTION()
178 if (DBLIB_G(err).dberrstr) { in PHP_RSHUTDOWN_FUNCTION()
179 efree(DBLIB_G(err).dberrstr); in PHP_RSHUTDOWN_FUNCTION()
180 DBLIB_G(err).dberrstr = NULL; in PHP_RSHUTDOWN_FUNCTION()
182 if (DBLIB_G(err).lastmsg) { in PHP_RSHUTDOWN_FUNCTION()
183 efree(DBLIB_G(err).lastmsg); in PHP_RSHUTDOWN_FUNCTION()
[all …]
/PHP-5.5/ext/ereg/regex/
H A Dmain.c35 int err; local
79 if (err) {
97 if (err) {
219 int err; local
231 if (err != 0 && (!opt('C', f1) || err != efind(f2))) {
246 if (err != 0) {
262 if (err != 0 && (f3 != NULL || err != REG_NOMATCH)) {
282 err = 1;
303 err = 1;
483 eprint(err) in eprint() argument
[all …]
/PHP-5.5/ext/iconv/
H A Diconv.c749 return err; in _php_iconv_strlen()
775 return err; in _php_iconv_substr()
895 return err; in _php_iconv_substr()
935 return err; in _php_iconv_strpos()
1082 return err; in _php_iconv_strpos()
1413 return err; in _php_iconv_mime_encode()
1941 return err; in _php_iconv_mime_decode()
1948 switch (err) { in _php_iconv_show_error()
1995 php_iconv_err_t err; in PHP_FUNCTION() local
2029 php_iconv_err_t err; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/intl/common/
H A Dcommon_date.cpp110 intl_error *err, const char *func TSRMLS_DC) argument
116 if (err && U_FAILURE(err->code)) {
135 intl_errors_set(err, U_INTERNAL_PROGRAM_ERROR,
152 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
165 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
183 if (err && U_FAILURE(err->code)) {
198 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 TSRMLS_CC);
235 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR,
[all …]
/PHP-5.5/ext/ereg/
H A Dereg.c330 if (err) { in php_ereg()
343 if (err && err != REG_NOMATCH) { in php_ereg()
374 if (err == REG_NOMATCH) { in php_ereg()
414 int err, copts = 0; in php_ereg_replace() local
426 if (err) { in php_ereg_replace()
440 err = pos = 0; in php_ereg_replace()
442 while (!err) { in php_ereg_replace()
445 if (err && err != REG_NOMATCH) { in php_ereg_replace()
453 if (!err) { in php_ereg_replace()
650 if (err) { in php_split()
[all …]
/PHP-5.5/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-5.5/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-5.5/ext/sockets/
H A Dsendrecvmsg.c172 struct err_s err = {0}; in PHP_FUNCTION() local
188 if (err.has_error) { in PHP_FUNCTION()
215 struct err_s err = {0}; in PHP_FUNCTION() local
231 if (err.has_error) { in PHP_FUNCTION()
247 "msghdr", kv, &err); in PHP_FUNCTION()
254 if (!err.has_error) { in PHP_FUNCTION()
316 struct err_s err = {0}; in php_do_setsockopt_ipv6_rfc3542() local
341 if (err.has_error) { in php_do_setsockopt_ipv6_rfc3542()
367 struct err_s err = {0}; in php_do_getsockopt_ipv6_rfc3542() local
392 empty_key_value_list, &err); in php_do_getsockopt_ipv6_rfc3542()
[all …]
/PHP-5.5/ext/com_dotnet/
H A Dcom_dotnet.c206 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
208 if (err) in PHP_FUNCTION()
209 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()
311 char *err = php_win32_error_to_msg(hr); in PHP_FUNCTION() local
313 if (err && err[0]) { in PHP_FUNCTION()
[all …]
/PHP-5.5/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-5.5/ext/pdo_oci/
H A Dphp_pdo_oci_int.h35 OCIError *err; member
63 OCIError *err; member
89 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini…
90 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__ TS…
91 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__ TS…
92 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LI…
H A Doci_statement.c67 OCIStmtFetch(S->stmt, S->err, 0, OCI_FETCH_NEXT, OCI_DEFAULT); in oci_stmt_dtor()
73 if (S->err) { in oci_stmt_dtor()
74 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_stmt_dtor()
75 S->err = NULL; in oci_stmt_dtor()
146 STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, in oci_stmt_execute()
313 &P->bind, S->err, (text*)param->name, in oci_stmt_param_hook()
319 &P->bind, S->err, param->paramno+1, in oci_stmt_param_hook()
326 S->err, in oci_stmt_param_hook()
621 r = OCILobWrite(self->S->H->svc, self->S->err, self->lob, in oci_blob_write()
641 r = OCILobRead(self->S->H->svc, self->S->err, self->lob, in oci_blob_read()
[all …]
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()
308 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer()
312 OCI_ATTR_PREFETCH_MEMORY, H->err); in oci_handle_preparer()
419 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_commit()
433 H->last_err = OCITransRollback(H->svc, H->err, 0); in oci_handle_rollback()
665 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory()
[all …]
/PHP-5.5/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-5.5/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 TSRMLS_CC); in datefmt_process_calendar_arg()
79 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1 TSRMLS_CC); in datefmt_process_calendar_arg()
90 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1 TSRMLS_CC); in datefmt_process_calendar_arg()
100 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1 TSRMLS_CC); in datefmt_process_calendar_arg()
H A Ddateformat_format.c63 HashTable* hash_arr, char* key_name, intl_error *err TSRMLS_DC) in internal_get_arr_ele()
69 if (U_FAILURE(err->code)) { in internal_get_arr_ele()
78 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1 TSRMLS_CC); in internal_get_arr_ele()
86 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, message, 1 TSRMLS_CC); 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 TSRMLS_CC) in internal_get_timestamp()
133 intl_errors_set(err, INTL_DATA_ERROR_CODE(dfo), "datefmt_format: " in internal_get_timestamp()
/PHP-5.5/ext/intl/tests/
H A Dmsgfmt_fail.phpt9 function err($fmt) {
39 err($fmt);
41 err($fmt);
43 err($fmt);
45 err($fmt);
47 err($fmt);
49 err($fmt);
53 err($fmt);
55 err($fmt);
57 err($fmt);

Completed in 53 milliseconds

123456