Searched refs:err (Results 1 - 25 of 94) sorted by relevance

1234

/PHP_5_3/ext/ereg/regex/
H A Dmain.c35 int err; local
78 err = regcomp(&re, argv[optind++], copts);
79 if (err) {
80 len = regerror(err, &re, erbuf, sizeof(erbuf));
82 eprint(err), len, sizeof(erbuf), erbuf);
96 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts);
97 if (err) {
98 len = regerror(err, &re, erbuf, sizeof(erbuf));
100 eprint(err), len, sizeof(erbuf), erbuf);
219 int err; local
[all...]
H A Dmain.ih13 static char *eprint(int err);
/PHP_5_3/ext/spl/examples/
H A Ddba_array.php48 catch (exception $err) {
49 var_dump($err);
/PHP_5_3/ext/sqlite/
H A Dsqlite.php12 $s = sqlite_open("weztest.sqlite", 0666, $err);
14 debug_zval_dump($err);
/PHP_5_3/ext/zip/lib/
H A Dzip_error.c45 _zip_error_clear(struct zip_error *err)
47 err->zip_err = ZIP_ER_OK;
48 err->sys_err = 0;
65 _zip_error_fini(struct zip_error *err)
67 free(err->str);
68 err->str = NULL;
75 _zip_error_get(struct zip_error *err, int *zep, int *sep)
78 *zep = err->zip_err;
80 if (zip_error_get_sys_type(err->zip_err) != ZIP_ET_NONE)
81 *sep = err
43 _zip_error_clear(struct zip_error *err) argument
61 _zip_error_fini(struct zip_error *err) argument
70 _zip_error_get(struct zip_error *err, int *zep, int *sep) argument
85 _zip_error_init(struct zip_error *err) argument
95 _zip_error_set(struct zip_error *err, int ze, int se) argument
106 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src) argument
[all...]
H A Dzip_error_strerror.c48 _zip_error_strerror(struct zip_error *err)
53 _zip_error_fini(err);
55 if (err->zip_err < 0 || err->zip_err >= _zip_nerr_str) {
56 sprintf(buf, "Unknown error %d", err->zip_err);
61 zs = _zip_err_str[err->zip_err];
63 switch (_zip_err_type[err->zip_err]) {
65 ss = strerror(err->sys_err);
69 ss = zError(err->sys_err);
88 err
46 _zip_error_strerror(struct zip_error *err) argument
[all...]
/PHP_5_3/pear/
H A Dfetch.php72 $err = error_get_last(); variable
73 echo "\nError..\n", $err["message"], "\n";
/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/gd/libgd/
H A Dgdtestft.c36 char *err;
60 err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, f, sz, angle, 0, 0, s);
61 if (err)
63 fprintf (stderr, "%s", err);
87 err = gdImageStringFT (im, NULL, black, f, sz, angle, x, y, s);
88 if (err)
90 fprintf (stderr, "%s", err);
/PHP_5_3/ext/intl/collator/
H A Dcollator_class.h33 intl_error err; member in struct:__anon174
39 #define COLLATOR_ERROR(co) (co)->err
/PHP_5_3/ext/intl/
H A Dintl_data.h49 #define INTL_CHECK_STATUS(err, msg) \
50 intl_error_set_code( NULL, (err) TSRMLS_CC ); \
51 if( U_FAILURE((err)) ) \
H A Dintl_error.c39 /* {{{ void intl_free_custom_error_msg( intl_error* err )
42 static void intl_free_custom_error_msg( intl_error* err TSRMLS_DC )
44 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) )
47 if(err->free_custom_error_message ) {
48 efree( err->custom_error_message );
51 err->custom_error_message = NULL;
52 err->free_custom_error_message = 0;
61 intl_error* err = ecalloc( 1, sizeof( intl_error ) ); local
63 intl_error_init( err TSRMLS_C
100 intl_error_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_DC ) argument
152 intl_error_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC ) argument
176 intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ) argument
186 intl_errors_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ) argument
206 intl_errors_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_DC ) argument
217 intl_errors_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC ) argument
[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, UErrorCod
[all...]
/PHP_5_3/ext/intl/normalizer/
H A Dnormalizer_class.h31 intl_error err; member in struct:__anon183
35 #define NORMALIZER_ERROR(co) (co)->err
/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;
[all...]
/PHP_5_3/ext/ereg/
H A Dereg.c247 static void php_ereg_eprint(int err, regex_t *re) { argument
254 buf_len = regerror(REG_ITOA | err, re, NULL, 0);
259 regerror(REG_ITOA | err, re, buf, buf_len);
264 len = regerror(err, re, NULL, 0);
277 regerror(err, re, message + buf_len, len);
297 int err, match_len, string_len; local
319 err = regcomp(&re, Z_STRVAL_PP(regex), REG_EXTENDED | copts);
327 err = regcomp(&re, Z_STRVAL_PP(regex), copts);
330 if (err) {
331 php_ereg_eprint(err,
414 int err, copts = 0; local
636 int err, size, copts = 0; local
[all...]
/PHP_5_3/ext/iconv/
H A Diconv.c203 static void _php_iconv_show_error(php_iconv_err_t err, const char *out_charset, const char *in_charset TSRMLS_DC);
578 php_iconv_err_t err = PHP_ICONV_ERR_SUCCESS; local
629 err = PHP_ICONV_ERR_ILLEGAL_CHAR;
633 err = PHP_ICONV_ERR_ILLEGAL_SEQ;
642 err = PHP_ICONV_ERR_UNKNOWN;
651 return err;
662 php_iconv_err_t err = PHP_ICONV_ERR_SUCCESS; local
675 err = _php_iconv_strlen(&total_len, str, nbytes, enc);
676 if (err != PHP_ICONV_ERR_SUCCESS) {
677 return err;
810 php_iconv_err_t err = PHP_ICONV_ERR_SUCCESS; local
991 php_iconv_err_t err = PHP_ICONV_ERR_SUCCESS; local
1322 php_iconv_err_t err = PHP_ICONV_ERR_SUCCESS; local
1848 _php_iconv_show_error(php_iconv_err_t err, const char *out_charset, const char *in_charset TSRMLS_DC) argument
1897 php_iconv_err_t err; local
1931 php_iconv_err_t err; local
1973 php_iconv_err_t err; local
2020 php_iconv_err_t err; local
2062 php_iconv_err_t err; local
2183 php_iconv_err_t err; local
2222 php_iconv_err_t err = PHP_ICONV_ERR_SUCCESS; local
2316 php_iconv_err_t err; local
2365 php_iconv_err_t err = php_iconv_string(Z_STRVAL_P(zv_string), local
[all...]
/PHP_5_3/ext/oci8/
H A Doci8_collection.c64 connection->err,
93 connection->err,
108 PHP_OCI_CALL_RETURN(connection->errcode, OCIAttrGet, ((dvoid *) dschp1, (ub4) OCI_HTYPE_DESCRIBE, (dvoid *)&parmp1, (ub4 *)0, (ub4)OCI_ATTR_PARAM, connection->err));
122 connection->err
141 connection->err
157 connection->err
169 connection->err,
189 connection->err
207 connection->err,
233 connection->errcode = php_oci_error(connection->err, connectio
[all...]
H A Doci8_lob.c78 OCI_G(errcode) = php_oci_error(OCI_G(err), OCI_G(errcode) TSRMLS_CC);
127 PHP_OCI_CALL_RETURN(connection->errcode, OCILobFileOpen, (connection->svc, connection->err, descriptor->descriptor, OCI_FILE_READONLY));
129 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC);
135 PHP_OCI_CALL_RETURN(connection->errcode, OCILobGetLength, (connection->svc, connection->err, descriptor->descriptor, (ub4 *)length));
138 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC);
146 PHP_OCI_CALL_RETURN(connection->errcode, OCILobFileClose, (connection->svc, connection->err, descriptor->descriptor));
149 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC);
217 PHP_OCI_CALL_RETURN(connection->errcode, OCILobGetChunkSize, (connection->svc, connection->err, descriptor->descriptor, &chunk_size));
220 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC);
289 PHP_OCI_CALL_RETURN(connection->errcode, OCILobFileOpen, (connection->svc, connection->err, descripto
[all...]
/PHP_5_3/ext/pdo_dblib/
H A Ddblib_driver.c38 pdo_dblib_err *einfo = &H->err;
45 einfo = &S->err;
50 } else if (einfo->dberr == SYBESMSG && DBLIB_G(err).lastmsg) {
51 msg = DBLIB_G(err).lastmsg;
52 DBLIB_G(err).lastmsg = NULL;
100 S->err.sqlstate = stmt->error_code;
110 dbsetuserdata(H->link, (BYTE*)&H->err);
201 H->err.sqlstate = dbh->error_code;
258 zend_throw_exception_ex(php_pdo_get_exception(), DBLIB_G(err).dberr TSRMLS_CC,
260 DBLIB_G(err)
[all...]
H A Dpdo_dblib.c97 if (!einfo) einfo = &DBLIB_G(err);
145 einfo = &DBLIB_G(err);
165 dblib_globals->err.sqlstate = dblib_globals->sqlstate;
170 if (DBLIB_G(err).oserrstr) {
171 efree(DBLIB_G(err).oserrstr);
172 DBLIB_G(err).oserrstr = NULL;
174 if (DBLIB_G(err).dberrstr) {
175 efree(DBLIB_G(err).dberrstr);
176 DBLIB_G(err).dberrstr = NULL;
178 if (DBLIB_G(err)
[all...]
/PHP_5_3/ext/pdo_oci/
H A Doci_driver.c60 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isinit, const char *file, int line TSRMLS_DC) /* {{{ */ argument
98 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR);
103 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR);
204 OCITransRollback(H->svc, H->err, 0);
218 H->last_err = OCIServerDetach(H->server, H->err, OCI_DEFAULT);
230 OCIHandleFree(H->err, OCI_HTYPE_ERROR);
231 H->err = NULL;
285 OCIHandleAlloc(H->env, (dvoid*)&S->err, OCI_HTYPE_ERROR, 0, NULL);
288 H->last_err = OCIStmtPrepare(S->stmt, H->err, (text*)sql, sql_len, OCI_NTV_SYNTAX, OCI_DEFAULT);
296 OCIHandleFree(S->err, OCI_HTYPE_ERRO
[all...]
H A Doci_statement.c39 S->last_err = _oci_error(S->err, stmt->dbh, stmt, #name, S->last_err, FALSE, __FILE__, __LINE__ TSRMLS_CC); \
48 S->last_err = _oci_error(S->err, stmt->dbh, stmt, #name ": " #msg, S->last_err, FALSE, __FILE__, __LINE__ TSRMLS_CC); \
67 OCIStmtFetch(S->stmt, S->err, 0, OCI_FETCH_NEXT, OCI_DEFAULT);
73 if (S->err) {
74 OCIHandleFree(S->err, OCI_HTYPE_ERROR);
75 S->err = NULL;
127 (S->stmt, OCI_HTYPE_STMT, &S->stmt_type, 0, OCI_ATTR_STMT_TYPE, S->err));
132 OCIStmtFetch(S->stmt, S->err, 0, OCI_FETCH_NEXT, OCI_DEFAULT);
146 STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err,
156 (S->stmt, OCI_HTYPE_STMT, &colcount, 0, OCI_ATTR_PARAM_COUNT, S->err));
[all...]
H A Dphp_pdo_oci_int.h35 OCIError *err; member in struct:__anon141
63 OCIError *err; member in struct:__anon143
89 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isinit, const char *file, int line TSRMLS_DC);
90 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__ TSRMLS_CC)
91 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__ TSRMLS_CC)
92 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LINE__ TSRMLS_CC)
/PHP_5_3/ext/standard/
H A Dfsock.c43 int err; local
80 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, hashkey, &tv, NULL, &errstr, &err);
96 ZVAL_LONG(zerrno, err);

Completed in 44 milliseconds

1234