Home
last modified time | relevance | path

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

12345

/PHP-5.3/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.3/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.3/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.3/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.3/ext/pdo_dblib/
H A Dpdo_dblib.c97 if (!einfo) einfo = &DBLIB_G(err); in ZEND_GET_MODULE()
145 einfo = &DBLIB_G(err); in msg_handler()
170 if (DBLIB_G(err).oserrstr) { in PHP_RSHUTDOWN_FUNCTION()
171 efree(DBLIB_G(err).oserrstr); in PHP_RSHUTDOWN_FUNCTION()
172 DBLIB_G(err).oserrstr = NULL; in PHP_RSHUTDOWN_FUNCTION()
174 if (DBLIB_G(err).dberrstr) { in PHP_RSHUTDOWN_FUNCTION()
175 efree(DBLIB_G(err).dberrstr); in PHP_RSHUTDOWN_FUNCTION()
176 DBLIB_G(err).dberrstr = NULL; in PHP_RSHUTDOWN_FUNCTION()
178 if (DBLIB_G(err).lastmsg) { in PHP_RSHUTDOWN_FUNCTION()
179 efree(DBLIB_G(err).lastmsg); in PHP_RSHUTDOWN_FUNCTION()
[all …]
H A Ddblib_driver.c38 pdo_dblib_err *einfo = &H->err; in dblib_fetch_error()
45 einfo = &S->err; in dblib_fetch_error()
50 } else if (einfo->dberr == SYBESMSG && DBLIB_G(err).lastmsg) { in dblib_fetch_error()
51 msg = DBLIB_G(err).lastmsg; in dblib_fetch_error()
52 DBLIB_G(err).lastmsg = NULL; in dblib_fetch_error()
100 S->err.sqlstate = stmt->error_code; in dblib_handle_preparer()
110 dbsetuserdata(H->link, (BYTE*)&H->err); in dblib_handle_doer()
201 H->err.sqlstate = dbh->error_code; in pdo_dblib_handle_factory()
260 DBLIB_G(err).sqlstate, in pdo_dblib_handle_factory()
261 DBLIB_G(err).dberrstr, in pdo_dblib_handle_factory()
[all …]
/PHP-5.3/ext/iconv/
H A Diconv.c651 return err; in _php_iconv_strlen()
677 return err; in _php_iconv_substr()
797 return err; in _php_iconv_substr()
837 return err; in _php_iconv_strpos()
984 return err; in _php_iconv_strpos()
1315 return err; in _php_iconv_mime_encode()
1843 return err; in _php_iconv_mime_decode()
1850 switch (err) { in _php_iconv_show_error()
1897 php_iconv_err_t err; in PHP_FUNCTION() local
1931 php_iconv_err_t err; in PHP_FUNCTION() local
[all …]
/PHP-5.3/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.3/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.3/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.3/ext/sqlite/tests/
H A Dbug35248.phpt8 $res = @sqlite_query($db, "asdfesdfa", SQLITE_NUM, $err);
9 var_dump($err);
10 $res = @sqlite_unbuffered_query($db, "asdfesdfa", SQLITE_NUM, $err);
11 var_dump($err);
H A Dsqlite_oo_020.phpt21 } catch(SQLiteException $err) {
22 echo "Message: ".$err->getMessage()."\n";
23 echo "File: ".$err->getFile()."\n";
24 //echo "Line: ".$err->getLine()."\n";
25 //print_r($err->getTrace());
26 //echo "BackTrace: ".$err->getTraceAsString()."\n";
/PHP-5.3/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.3/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()
307 &P->bind, S->err, (text*)param->name, in oci_stmt_param_hook()
313 &P->bind, S->err, param->paramno+1, in oci_stmt_param_hook()
320 S->err, in oci_stmt_param_hook()
615 r = OCILobWrite(self->S->H->svc, self->S->err, self->lob, in oci_blob_write()
635 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 OCIHandleFree(H->err, OCI_HTYPE_ERROR); in oci_handle_closer()
231 H->err = NULL; in oci_handle_closer()
296 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_handle_preparer()
306 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer()
310 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()
448 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_set_attribute()
661 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory()
[all …]
/PHP-5.3/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.3/ext/intl/tests/
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 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 Dformatter_fail.phpt8 function err($fmt) {
37 err($fmt);
39 err($fmt);
41 err($fmt);
45 err($fmt);
47 err($fmt);
49 err($fmt);

Completed in 59 milliseconds

12345