Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 1893) sorted by relevance

12345678910>>...76

/PHP-7.2/ext/zip/lib/
H A Dzip_error.c41 return error->sys_err; in zip_error_code_system()
47 return error->zip_err; in zip_error_code_zip()
70 zip_error_init(error); in zip_error_init_with_code()
71 error->zip_err = ze; in zip_error_init_with_code()
72 switch (zip_error_system_type(error)) { in zip_error_init_with_code()
74 error->sys_err = errno; in zip_error_init_with_code()
78 error->sys_err = 0; in zip_error_init_with_code()
86 if (error->zip_err < 0 || error->zip_err >= _zip_nerr_str) in zip_error_system_type()
89 return _zip_err_type[error->zip_err]; in zip_error_system_type()
152 e[0] = zip_error_code_zip(error); in zip_error_to_data()
[all …]
H A Dzip_open.c65 struct zip_error error; in zip_open() local
67 zip_error_init(&error); in zip_open()
69 _zip_set_open_error(zep, &error, 0); in zip_open()
70 zip_error_fini(&error); in zip_open()
76 _zip_set_open_error(zep, &error, 0); in zip_open()
77 zip_error_fini(&error); in zip_open()
81 zip_error_fini(&error); in zip_open()
214 _zip_error_copy(error, &za->error); in _zip_open()
239 _zip_error_copy(error, &za->error); in _zip_open()
568 zip_error_t error; in _zip_find_central_dir() local
[all …]
H A Dzip_fdopen.c48 struct zip_error error; in zip_fdopen() local
69 zip_error_init(&error); in zip_fdopen()
70 if ((src = zip_source_filep_create(fp, 0, -1, &error)) == NULL) { in zip_fdopen()
71 _zip_set_open_error(zep, &error, 0); in zip_fdopen()
72 zip_error_fini(&error); in zip_fdopen()
76 if ((za = zip_open_from_source(src, _flags, &error)) == NULL) { in zip_fdopen()
77 _zip_set_open_error(zep, &error, 0); in zip_fdopen()
78 zip_error_fini(&error); in zip_fdopen()
82 zip_error_fini(&error); in zip_fdopen()
H A Dzip_source_filep.c59 #error do not know safe values for umask, please report this
68 zip_error_t error; /* last error information */ member
104 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_source_filep_create()
119 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_source_file_or_p()
124 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_source_file_or_p()
131 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_source_file_or_p()
151 zip_error_init(&ctx->error); in _zip_source_file_or_p()
184 zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); in create_temp_output()
484 zip_error_set(error, ZIP_ER_SEEK, EOVERFLOW); in _zip_fseek_u()
495 zip_error_set(error, ZIP_ER_SEEK, EOVERFLOW); in _zip_fseek()
[all …]
H A Dzip_io_util.c40 _zip_read(zip_source_t *src, zip_uint8_t *b, zip_uint64_t length, zip_error_t *error) in _zip_read() argument
45 zip_error_set(error, ZIP_ER_INTERNAL, 0); in _zip_read()
50 _zip_error_set_from_source(error, src); in _zip_read()
55 zip_error_set(error, ZIP_ER_EOF, 0); in _zip_read()
74 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_read_data()
82 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_read_data()
89 if (_zip_read(src, r, length, error) < 0) { in _zip_read_data()
114 if ((raw=_zip_read_data(buffer, src, len, nulp, error)) == NULL) in _zip_read_string()
117 s = _zip_string_new(raw, len, ZIP_FL_ENC_GUESS, error); in _zip_read_string()
129 _zip_error_set_from_source(&za->error, za->src); in _zip_write()
[all …]
H A Dzip_close.c68 int error; in zip_close() local
128 error = 0; in zip_close()
150 error = 1; in zip_close()
166 error = 1; in zip_close()
173 error = 1; in zip_close()
187 error = 1; in zip_close()
191 error = 1; in zip_close()
196 error = 1; in zip_close()
200 error = 1; in zip_close()
208 error = 1; in zip_close()
[all …]
H A Dzip_source_window.c45 zip_error_t error; member
66 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_source_window_new()
71 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_source_window_new()
78 zip_error_init(&ctx->error); in _zip_source_window_new()
83 if (_zip_stat_merge(&ctx->stat, st, error) < 0) { in _zip_source_window_new()
107 if (zip_error_code_zip(&src->error) == ZIP_ER_OK) { in _zip_source_invalidate()
108 zip_error_set(&src->error, ZIP_ER_ZIPCLOSED, 0); in _zip_source_invalidate()
128 return zip_error_to_data(&ctx->error, data, len); in window_read()
167 zip_error_set(&ctx->error, ZIP_ER_EOF, 0); in window_read()
212 zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); in window_read()
[all …]
H A Dzip_source_win32handle.c64 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_source_win32handle_create()
79 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_source_win32_handle_or_name()
84 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_source_win32_handle_or_name()
91 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_source_win32_handle_or_name()
114 zip_error_init(&ctx->error); in _zip_source_win32_handle_or_name()
184 return zip_error_to_data(&ctx->error, data, len); in _win32_read_file()
295 zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); in _win32_read_file()
300 zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); in _win32_read_file()
438 zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); in _win32_create_temp_file()
477 zip_error_set(error, ZIP_ER_SEEK, EOVERFLOW); in _zip_seek_win32_u()
[all …]
H A Dzip_extra_field_api.c44 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete()
49 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete()
57 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_extra_field_delete()
77 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete_by_id()
82 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete_by_id()
90 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_extra_field_delete_by_id()
114 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_get()
156 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_get_by_id()
179 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_fields_count()
207 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_fields_count_by_id()
[all …]
H A Dzip_name_locate.c46 return _zip_name_locate(za, fname, flags, &za->error); in zip_name_locate()
51 _zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags, zip_error_t *error) in _zip_name_locate() argument
61 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_name_locate()
70 fn = _zip_get_name(za, i, flags, error); in _zip_name_locate()
83 _zip_error_clear(error); in _zip_name_locate()
88 zip_error_set(error, ZIP_ER_NOENT, 0); in _zip_name_locate()
92 return _zip_hash_lookup(za->names, (const zip_uint8_t *)fname, flags, error); in _zip_name_locate()
/PHP-7.2/ext/intl/tests/
H A Dcalendar_get_getActualMaximum_Minumum_error2.phpt16 echo "error: $errno, $errstr\n";
23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
33 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
44 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
49 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
84 error: 2, intlcal_get() expects exactly 2 parameters, 1 given
85 error: 2, intlcal_get(): intlcal_get: bad arguments
93 error: 2, intlcal_get(): intlcal_get: invalid field
[all …]
H A Dcalendar_before_after_error.phpt16 echo "error: $errno, $errstr\n";
23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
34 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
45 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
64 error: 2, IntlCalendar::after() expects exactly 1 parameter, 0 given
80 error: 2, intlcal_after() expects exactly 2 parameters, 1 given
81 error: 2, intlcal_after(): intlcal_before/after: bad arguments
83 error: 2, intlcal_before() expects exactly 2 parameters, 1 given
[all …]
H A Dnormalizer_normalize.phpt101 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
103 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
105 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0)
107 is in form 'UNORM_FORM_C'? = no error info: 'U_ZERO_ERROR' (0)
109 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
111 is in form 'UNORM_FORM_C'? = yes error info: 'U_ZERO_ERROR' (0)
113 is in form 'UNORM_FORM_D'? = yes error info: 'U_ZERO_ERROR' (0)
115 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
117 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
119 is in form 'UNORM_FORM_D'? = no error info: 'U_ZERO_ERROR' (0)
[all …]
H A Dcalendar_setTimeZone_error.phpt18 echo "error: $errno, $errstr\n";
25 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
30 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
36 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
41 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
44 error: 2, IntlCalendar::setTimeZone() expects exactly 1 parameter, 2 given
45 error: 2, IntlCalendar::setTimeZone(): intlcal_set_time_zone: bad arguments
47 error: 2, IntlCalendar::setTimeZone() expects exactly 1 parameter, 0 given
48 error: 2, IntlCalendar::setTimeZone(): intlcal_set_time_zone: bad arguments
50 error: 2, intlcal_set_time_zone() expects exactly 2 parameters, 3 given
[all …]
H A Dcalendar_isEquivalentTo_error.phpt16 echo "error: $errno, $errstr\n";
23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
33 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
44 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
49 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
54 error: 2, IntlCalendar::isEquivalentTo() expects exactly 1 parameter, 2 given
55 error: 2, IntlCalendar::isEquivalentTo(): intlcal_is_equivalent_to: bad arguments
59 error: 2, intlcal_is_equivalent_to() expects exactly 2 parameters, 1 given
[all …]
H A Dcalendar_equals_error.phpt16 echo "error: $errno, $errstr\n";
23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
33 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
40 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
45 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
48 error: 2, IntlCalendar::equals() expects exactly 1 parameter, 0 given
49 error: 2, IntlCalendar::equals(): intlcal_equals: bad arguments
53 error: 0, Argument 1 passed to IntlCalendar::equals() must be an instance of IntlCalendar, integer …
55 error: 0, Argument 2 passed to intlcal_equals() must be an instance of IntlCalendar, array given
[all …]
/PHP-7.2/ext/intl/converter/
H A Dconverter.c31 intl_error error; member
45 #define THROW_UFAILURE(obj, fname, error) php_converter_throw_failure(obj, error, \ argument
64 ZVAL_DEREF(error); in php_converter_default_callback()
65 zval_ptr_dtor(error); in php_converter_default_callback()
115 ZEND_ARG_INFO(1, error)
137 ZEND_ARG_INFO(1, error)
362 error = U_ZERO_ERROR; in php_converter_set_callbacks()
672 if (U_FAILURE(error) && error != U_BUFFER_OVERFLOW_ERROR) { in php_converter_do_convert()
679 error = U_ZERO_ERROR; in php_converter_do_convert()
690 if (U_FAILURE(error) && error != U_BUFFER_OVERFLOW_ERROR) { in php_converter_do_convert()
[all …]
/PHP-7.2/ext/oci8/tests/
H A Derror_parse.phpt15 // Test parse error for normal connection
26 echo "Normal connection: Parse error\n";
31 // Test parse error for new connection
42 echo "New connection: Parse error\n";
47 // Test parse error for persistent connection
58 echo "Persistent connection: Parse error\n";
66 echo "No connection: error: ";
102 Normal connection: Parse error
113 New connection: Parse error
124 Persistent connection: Parse error
[all …]
/PHP-7.2/ext/phar/
H A Dtar.c154 if (error) { in phar_open_or_create_tar()
216 if (error) { in phar_parse_tarfile()
226 if (error) { in phar_parse_tarfile()
605 if (error) { in phar_parse_tarfile()
632 if (error) { in phar_parse_tarfile()
695 char **error; member
897 char *lookfor, **error = i->error; in phar_tar_setupmetadata() local
1167 pass.error = error; in phar_tar_flush()
1209 if (error && *error) { in phar_tar_flush()
1275 if (error && *error) { in phar_tar_flush()
[all …]
H A Dutil.c360 if (error) { in phar_get_entry_data()
369 if (error) { in phar_get_entry_data()
376 if (error) { in phar_get_entry_data()
410 if (error) { in phar_get_entry_data()
417 if (error) { in phar_get_entry_data()
536 if (error) { in phar_get_or_create_entry_data()
543 if (error) { in phar_get_or_create_entry_data()
823 if (error) { in phar_create_writeable_entry()
908 if (error) { in phar_open_jit()
966 if (error) { in phar_get_archive()
[all …]
/PHP-7.2/ext/libxml/tests/
H A D002.phpt25 foreach ($errors as $error) {
26 echo display_xml_error($error, $xml);
33 function display_xml_error($error, $xml)
35 $return = $xml[$error->line - 1] . "\n";
38 switch ($error->level) {
40 $return .= "Warning $error->code: ";
43 $return .= "Error $error->code: ";
46 $return .= "Fatal Error $error->code: ";
50 $return .= trim($error->message) . "\n Line: $error->line" . "\n Column: $error->column";
52 if ($error->file) {
[all …]
/PHP-7.2/Zend/tests/
H A D015.phpt7 var_dump(trigger_error("error"));
9 var_dump(trigger_error("error", -1));
10 var_dump(trigger_error("error", 0));
11 var_dump(trigger_error("error", E_USER_WARNING));
12 var_dump(trigger_error("error", E_USER_DEPRECATED));
20 Notice: error in %s on line %d
26 Warning: Invalid error type specified in %s on line %d
29 Warning: Invalid error type specified in %s on line %d
32 Warning: error in %s on line %d
35 Deprecated: error in %s on line %d
/PHP-7.2/ext/pgsql/tests/
H A D02connection.phpt16 echo "pg_connection_status() error\n";
20 echo "pg_connection_reset() error\n";
24 echo "pg_connection_busy() error\n";
29 echo "pg_transaction_status() error\n";
34 echo "pg_host() error\n";
38 echo "pg_dbname() error\n";
42 echo "pg_port() error\n";
46 echo "pg_tty() error\n";
50 echo "pg_options() error\n";
H A D26async_query_prepared.phpt18 echo "pg_send_prepare() error\n";
22 echo "pg_connection_status() error\n";
26 echo "pg_get_result() error\n";
31 echo "pg_send_execute() error\n";
35 echo "pg_connection_status() error\n";
39 echo "pg_get_result() error\n";
43 echo "pg_num_rows() error\n";
73 echo "pg_send_prepare() error\n";
81 echo "pg_get_result() error\n";
87 echo "pg_send_execute() error\n";
[all …]
/PHP-7.2/win32/
H A Dsockets.c47 goto error; in socketpair()
55 goto error; in socketpair()
59 goto error; in socketpair()
63 goto error; in socketpair()
68 goto error; in socketpair()
73 goto error; in socketpair()
78 goto error; in socketpair()
86 error: in socketpair()

Completed in 64 milliseconds

12345678910>>...76