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

12345

/PHP_5_5/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_5/ext/spl/examples/
H A Ddba_array.php48 catch (exception $err) {
49 var_dump($err);
/PHP_5_5/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_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/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_5/ext/intl/breakiterator/
H A Dbreakiterator_class.h35 intl_error err; member in struct:__anon184
44 #define BREAKITER_ERROR(bio) (bio)->err
56 intl_errors_set(&bio->err, U_ILLEGAL_ARGUMENT_ERROR, "Found unconstructed BreakIterator", 0 TSRMLS_CC); \
/PHP_5_5/ext/intl/calendar/
H A Dcalendar_class.h35 intl_error err; member in struct:__anon188
41 #define CALENDAR_ERROR(co) (co)->err
53 intl_errors_set(&co->err, U_ILLEGAL_ARGUMENT_ERROR, "Found unconstructed IntlCalendar", 0 TSRMLS_CC); \
/PHP_5_5/ext/intl/common/
H A Dcommon_date.cpp110 intl_error *err, const char *func TSRMLS_DC)
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,
176 U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func TSRMLS_DC) argument
183 if (err && U_FAILURE(err->code)) {
198 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERRO
109 intl_datetime_decompose(zval *z, double *millis, TimeZone **tz, intl_error *err, const char *func TSRMLS_DC) argument
[all...]
H A Dcommon_date.h33 intl_error *err, const char *func TSRMLS_DC);
37 U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func TSRMLS_DC);
/PHP_5_5/ext/intl/dateformat/
H A Ddateformat_helpers.cpp34 intl_error *err,
59 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1 TSRMLS_CC);
79 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1 TSRMLS_CC);
90 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1 TSRMLS_CC);
100 intl_errors_set(err, U_ILLEGAL_ARGUMENT_ERROR, msg, 1 TSRMLS_CC);
31 datefmt_process_calendar_arg(zval* calendar_zv, Locale const& locale, const char *func_name, intl_error *err, Calendar*& cal, long& cal_int_type, bool& calendar_owned TSRMLS_DC) argument
H A Ddateformat_helpers.h33 intl_error *err,
/PHP_5_5/ext/intl/
H A Dintl_error.c43 /* {{{ void intl_free_custom_error_msg( intl_error* err )
46 static void intl_free_custom_error_msg( intl_error* err TSRMLS_DC )
48 if( !err && !( err = intl_g_error_get( TSRMLS_C ) ) )
51 if(err->free_custom_error_message ) {
52 efree( err->custom_error_message );
55 err->custom_error_message = NULL;
56 err->free_custom_error_message = 0;
65 intl_error* err = ecalloc( 1, sizeof( intl_error ) ); local
67 intl_error_init( err TSRMLS_C
104 intl_error_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_DC ) argument
159 intl_error_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC ) argument
183 intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ) argument
193 intl_errors_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ) argument
213 intl_errors_set_custom_msg( intl_error* err, char* msg, int copyMsg TSRMLS_DC ) argument
224 intl_errors_set_code( intl_error* err, UErrorCode err_code TSRMLS_DC ) argument
[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, UErrorCod
[all...]
/PHP_5_5/ext/intl/normalizer/
H A Dnormalizer_class.h31 intl_error err; member in struct:__anon201
35 #define NORMALIZER_ERROR(co) (co)->err
/PHP_5_5/ext/intl/transliterator/
H A Dtransliterator_class.h31 intl_error err; member in struct:__anon206
40 #define TRANSLITERATOR_ERROR( co ) (co)->err
52 intl_errors_set( &to->err, U_ILLEGAL_ARGUMENT_ERROR, "Found unconstructed transliterator", 0 TSRMLS_CC ); \
/PHP_5_5/ext/sockets/
H A Dsendrecvmsg.c172 struct err_s err = {0}; local
186 sizeof(*msghdr), "msghdr", &allocations, &err);
188 if (err.has_error) {
189 err_msg_dispose(&err TSRMLS_CC);
215 struct err_s err = {0}; local
229 sizeof(*msghdr), "msghdr", &allocations, &err);
231 if (err.has_error) {
232 err_msg_dispose(&err TSRMLS_CC);
247 "msghdr", kv, &err);
254 if (!err
316 struct err_s err = {0}; local
367 struct err_s err = {0}; local
[all...]
/PHP_5_5/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp87 intl_error& err TSRMLS_DC)
92 if (U_FAILURE(err.code)) {
113 intl_errors_set(&err, U_MEMORY_ALLOCATION_ERROR,
119 if (U_FAILURE(err.code)) {
134 intl_error& err TSRMLS_DC)
139 if (U_FAILURE(err.code)) {
144 return umsg_get_numeric_types(mfo, err TSRMLS_CC);
170 for (int32_t i = 0; i < parts_count - 2 && U_SUCCESS(err.code); i++) {
189 intl_errors_set(&err, U_MEMORY_ALLOCATION_ERROR,
197 intl_errors_set(&err, U_INVALID_FORMAT_ERRO
374 intl_error& err = INTL_DATA_ERROR(mfo); local
[all...]
/PHP_5_5/ext/opcache/
H A Dshared_alloc_win32.c40 static void zend_win_error_message(int type, char *msg, int err) argument
51 err,
64 err, // event identifier
128 int err; local
134 err = GetLastError();
136 zend_win_error_message(ACCEL_LOG_WARNING, mmap_base_file, err);
137 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to open base address file", err);
142 err = GetLastError();
143 zend_win_error_message(ACCEL_LOG_FATAL, "Unable to read base address", err);
154 err
176 int err, ret; local
[all...]
/PHP_5_5/ext/pdo_dblib/
H A Dpdo_dblib.c98 if (!einfo) einfo = &DBLIB_G(err);
100 einfo = &DBLIB_G(err);
149 einfo = &DBLIB_G(err);
169 dblib_globals->err.sqlstate = dblib_globals->sqlstate;
174 if (DBLIB_G(err).oserrstr) {
175 efree(DBLIB_G(err).oserrstr);
176 DBLIB_G(err).oserrstr = NULL;
178 if (DBLIB_G(err).dberrstr) {
179 efree(DBLIB_G(err).dberrstr);
180 DBLIB_G(err)
[all...]
/PHP_5_5/ext/pdo_oci/
H A Dphp_pdo_oci_int.h35 OCIError *err; member in struct:__anon169
63 OCIError *err; member in struct:__anon171
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_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;
[all...]
/PHP_5_5/ext/ereg/
H A Dereg.c249 static void php_ereg_eprint(int err, regex_t *re TSRMLS_DC) { argument
256 buf_len = regerror(REG_ITOA | err, re, NULL, 0);
261 regerror(REG_ITOA | err, re, buf, buf_len);
266 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_5/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...]

Completed in 25 milliseconds

12345