Home
last modified time | relevance | path

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

12345

/PHP-5.4/ext/intl/
H A Dintl_error.c44 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_free_custom_error_msg()
65 return err; in intl_error_create()
74 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_init()
88 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_reset()
108 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_set_custom_msg()
130 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_get_message()
154 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_set_code()
166 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) ) in intl_error_get_code()
197 if(err) { in intl_errors_reset()
208 if(err) { in intl_errors_set_custom_msg()
[all …]
H A Dintl_error.h33 void intl_error_init( intl_error* err TSRMLS_DC );
34 void intl_error_reset( intl_error* err TSRMLS_DC );
35 void intl_error_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC );
36 void intl_error_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_DC );
37 void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC );
38 UErrorCode intl_error_get_code( intl_error* err TSRMLS_DC );
39 char* intl_error_get_message( intl_error* err TSRMLS_DC );
42 void intl_errors_reset( intl_error* err TSRMLS_DC );
43 void intl_errors_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_DC );
44 void intl_errors_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC );
[all …]
/PHP-5.4/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.4/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 …]
H A Doci8_statement.c64 connection->err, in php_oci_statement_create()
224 statement->err, in php_oci_statement_fetch()
250 statement->err, in php_oci_statement_fetch()
687 statement->err, /* IN/OUT An error handle */ in php_oci_statement_execute()
736 statement->err, in php_oci_statement_execute()
773 if (statement->err) { in php_oci_statement_free()
775 statement->err = 0; in php_oci_statement_free()
1125 statement->err, /* error handle */ in php_oci_bind_by_name()
1150 statement->err, in php_oci_bind_by_name()
1170 statement->err, in php_oci_bind_by_name()
[all …]
H A Doci8.c1091 OCI_G(err) = NULL; in PHP_INI_END()
1131 OCI_G(err) = NULL; in PHP_INI_END()
1143 if (OCI_G(err)) { in php_oci_cleanup_global_handles()
1145 OCI_G(err) = NULL; in php_oci_cleanup_global_handles()
2287 if (connection->err) { in php_oci_connection_close()
2740 php_oci_error(OCI_G(err), OCI_G(errcode) TSRMLS_CC); in php_oci_create_spool()
2752 php_oci_error(OCI_G(err), OCI_G(errcode) TSRMLS_CC); in php_oci_create_spool()
2769 php_oci_error(OCI_G(err), OCI_G(errcode) TSRMLS_CC); in php_oci_create_spool()
3153 if (!connection->err) { in php_oci_create_session()
3293 (dvoid *) session_pool->err, OCI_SPD_FORCE)); in php_oci_spool_close()
[all …]
/PHP-5.4/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 …]
H A Ddblib_driver.c41 pdo_dblib_err *einfo = &H->err; in dblib_fetch_error()
48 einfo = &S->err; in dblib_fetch_error()
53 } else if (einfo->dberr == SYBESMSG && DBLIB_G(err).lastmsg) { in dblib_fetch_error()
54 msg = DBLIB_G(err).lastmsg; in dblib_fetch_error()
55 DBLIB_G(err).lastmsg = NULL; in dblib_fetch_error()
103 S->err.sqlstate = stmt->error_code; in dblib_handle_preparer()
113 dbsetuserdata(H->link, (BYTE*)&H->err); in dblib_handle_doer()
306 H->err.sqlstate = dbh->error_code; in pdo_dblib_handle_factory()
404 DBLIB_G(err).sqlstate, in pdo_dblib_handle_factory()
405 DBLIB_G(err).dberrstr, in pdo_dblib_handle_factory()
[all …]
/PHP-5.4/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.4/ext/iconv/
H A Diconv.c719 return err; in _php_iconv_strlen()
745 return err; in _php_iconv_substr()
865 return err; in _php_iconv_substr()
905 return err; in _php_iconv_strpos()
1052 return err; in _php_iconv_strpos()
1383 return err; in _php_iconv_mime_encode()
1911 return err; in _php_iconv_mime_decode()
1918 switch (err) { in _php_iconv_show_error()
1965 php_iconv_err_t err; in PHP_FUNCTION() local
1999 php_iconv_err_t err; in PHP_FUNCTION() local
[all …]
/PHP-5.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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);
H A Dmsgfmt_fail2.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);
H A Dformatter_fail.phpt8 function err($fmt) {
37 err($fmt);
39 err($fmt);
41 err($fmt);
45 err($fmt);
47 err($fmt);
49 err($fmt);
/PHP-5.4/ext/intl/transliterator/
H A Dtransliterator_class.h31 intl_error err; member
40 #define TRANSLITERATOR_ERROR( co ) (co)->err
52 …intl_errors_set( &to->err, U_ILLEGAL_ARGUMENT_ERROR, "Found unconstructed transliterator", 0 TSRML…

Completed in 110 milliseconds

12345