Home
last modified time | relevance | path

Searched refs:error (Results 26 – 50 of 2337) sorted by relevance

12345678910>>...94

/PHP-7.3/ext/pgsql/tests/
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.3/ext/intl/
H A DERROR.CONVENTIONS1 The intl extension has particular conventions regarding error reporting.
4 :: The last error is always stored globally.
21 error occurred).
23 The internal PHP code can set the global last error with:
35 unless the error is due to bad arguments, in which case only the global error
45 The global error and the object error can be SIMULTANEOUSLY set with these
52 Node the extra 's' in the functions' names ('errors', not 'error').
54 Static methods should only set the global error.
76 the object's private error
82 void intl_error_reset(NULL); /* reset global error */
[all …]
/PHP-7.3/ext/standard/tests/image/
H A Diptcembed_002.phpt42 else { echo "error cant write $file".PHP_EOL;exit(1); }
48 if ($width!=1) { echo "width error".PHP_EOL;exit(1); }
50 if ($type!=2) { echo "type error".PHP_EOL;exit(1); }
81 if ($width!=1) { echo "width error".PHP_EOL;exit(1); }
83 if ($type!=2) { echo "type error".PHP_EOL;exit(1); }
87 $error=0;
92 echo "error iptc tag $tag not found".PHP_EOL;
93 $error++;
98 $error++;
105 if ($error==0) { echo "OK".PHP_EOL;exit(0);}
[all …]
/PHP-7.3/ext/zip/lib/
H A Dzip_source_buffer.c57 zip_error_t error; member
91 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_source_buffer_create()
96 zip_error_set(error, ZIP_ER_MEMORY, 0); in zip_source_buffer_create()
101 zip_error_set(error, ZIP_ER_MEMORY, 0); in zip_source_buffer_create()
108 zip_error_init(&ctx->error); in zip_source_buffer_create()
128 zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); in read_data()
157 zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); in read_data()
228 zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); in read_data()
381 zip_error_set(error, ZIP_ER_INVAL, 0); in buffer_write()
399 zip_error_set(error, ZIP_ER_MEMORY, 0); in buffer_write()
[all …]
H A Dzip_source_win32utf8.c47 return zip_source_file_create(fname, start, len, &za->error); in zip_source_file()
52 …p_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) in zip_source_file_create() argument
59 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_source_file_create()
66 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_source_file_create()
70 zip_error_set(error, ZIP_ER_MEMORY, 0); in zip_source_file_create()
75 source = zip_source_win32w_create(wfname, start, length, error); in zip_source_file_create()
H A Dzip_source_crc.c44 zip_error_t error; member
60 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_source_crc()
65 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in zip_source_crc()
69 zip_error_init(&ctx->error); in zip_source_crc()
95 _zip_error_set_from_source(&ctx->error, src); in crc_read()
108 _zip_error_set_from_source(&ctx->error, src); in crc_read()
113 zip_error_set(&ctx->error, ZIP_ER_CRC, 0); in crc_read()
159 return zip_error_to_data(&ctx->error, data, len); in crc_read()
170 _zip_error_set_from_source(&ctx->error, src); in crc_read()
186 _zip_error_set_from_source(&ctx->error, src); in crc_read()
[all …]
H A Dzip_filerange_crc.c42 …range_crc(zip_source_t *src, zip_uint64_t start, zip_uint64_t len, uLong *crcp, zip_error_t *error) in _zip_filerange_crc() argument
50 zip_error_set(error, ZIP_ER_SEEK, EFBIG); in _zip_filerange_crc()
55 _zip_error_set_from_source(error, src); in _zip_filerange_crc()
62 _zip_error_set_from_source(error, src); in _zip_filerange_crc()
66 zip_error_set(error, ZIP_ER_EOF, 0); in _zip_filerange_crc()
H A Dzip_hash.c52 _zip_hash_new(zip_uint16_t table_size, zip_error_t *error) in _zip_hash_new() argument
57 zip_error_set(error, ZIP_ER_INTERNAL, 0); in _zip_hash_new()
62 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_hash_new()
68 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_hash_new()
129 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_hash_add()
137 zip_error_set(error, ZIP_ER_EXISTS, 0); in _zip_hash_add()
148 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_hash_add()
173 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_hash_delete()
200 zip_error_set(error, ZIP_ER_NOENT, 0); in _zip_hash_delete()
212 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_hash_lookup()
[all …]
H A Dzip_source_function.c47 return zip_source_function_create(zcb, ud, &za->error); in zip_source_function()
52 zip_source_function_create(zip_source_callback zcb, void *ud, zip_error_t *error) in zip_source_function_create() argument
56 if ((zs=_zip_source_new(error)) == NULL) in zip_source_function_create()
79 _zip_source_new(zip_error_t *error) in _zip_source_new() argument
84 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_source_new()
96 zip_error_init(&src->error); in _zip_source_new()
H A Dzip_dirent.c71 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_cdir_new()
78 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_cdir_new()
322 zip_error_set(error, ZIP_ER_NOZIP, 0); in _zip_dirent_read()
408 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_dirent_read()
448 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_dirent_read()
522 zip_error_set(error, ZIP_ER_SEEK, EFBIG); in _zip_dirent_read()
848 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_ef_utf8()
872 if (error == NULL) in _zip_get_dirent()
873 error = &za->error; in _zip_get_dirent()
876 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_get_dirent()
[all …]
H A Dzip_source_zip_new.c53 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
59 zip_error_set(&za->error, ZIP_ER_CHANGED, 0); in _zip_source_zip_new()
64 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in _zip_source_zip_new()
72 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
78 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
85 zip_error_set(&za->error, ZIP_ER_NOPASSWD, 0); in _zip_source_zip_new()
89 zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); in _zip_source_zip_new()
98 zip_error_set(&za->error, ZIP_ER_COMPNOTSUPP, 0); in _zip_source_zip_new()
104 if ((offset=_zip_file_get_offset(srcza, srcidx, &za->error)) == 0) in _zip_source_zip_new()
120 if ((src = _zip_source_window_new(srcza->src, offset+start, st2.size, &st2, &za->error)) == NULL) { in _zip_source_zip_new()
[all …]
H A Dzip_unchange.c54 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_unchange()
60 if ((orig_name=_zip_get_name(za, idx, ZIP_FL_UNCHANGED, &za->error)) == NULL) { in _zip_unchange()
66 zip_error_set(&za->error, ZIP_ER_EXISTS, 0); in _zip_unchange()
74 if ((changed_name=_zip_get_name(za, idx, 0, &za->error)) == NULL) { in _zip_unchange()
79 if (_zip_hash_add(za->names, (const zip_uint8_t *)orig_name, idx, 0, &za->error) == false) { in _zip_unchange()
83 if (_zip_hash_delete(za->names, (const zip_uint8_t *)changed_name, &za->error) == false) { in _zip_unchange()
H A Dzip_delete.c44 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_delete()
49 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_delete()
53 if ((name=_zip_get_name(za, idx, 0, &za->error)) == NULL) { in zip_delete()
57 if (!_zip_hash_delete(za->names, (const zip_uint8_t *)name, &za->error)) { in zip_delete()
H A Dzip_source_file.c46 return zip_source_file_create(fname, start, len, &za->error); in zip_source_file()
51 …p_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) in zip_source_file_create() argument
54 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_source_file_create()
58 return _zip_source_file_or_p(fname, NULL, start, length, NULL, error); in zip_source_file_create()
/PHP-7.3/ext/phar/
H A Dphar_path_check.c29 *error = "current directory reference"; in phar_path_check()
32 *error = "upper directory reference"; in phar_path_check()
101 *error ="illegal character"; in phar_path_check()
104 *error = NULL; in phar_path_check()
113 *error ="illegal character"; in phar_path_check()
133 *error = "star"; in phar_path_check()
152 *error = NULL; in phar_path_check()
160 *error = "back-slash"; in phar_path_check()
222 *error = "double slash"; in phar_path_check()
240 *error = "current directory reference"; in phar_path_check()
[all …]
H A Dstream.c121 if (error) { in phar_parse_url()
131 if (error) { in phar_parse_url()
144 if (error) { in phar_parse_url()
166 char *error; in phar_wrapper_open_url() local
197 if (error) { in phar_wrapper_open_url()
207 if (error) { in phar_wrapper_open_url()
464 char *error; in phar_stream_flush() local
590 if (error) { in phar_wrapper_stat()
714 if (error) { in phar_wrapper_unlink()
728 if (error) { in phar_wrapper_unlink()
[all …]
H A Dphar.c488 if (error) {\
539 if (error) {
682 if (error) {
759 if (error) {
975 if (error) {
1282 if (error) {
1510 if (error) {
1520 } else if (error && *error) {
1605 if (error) {
2292 if (error) {
[all …]
H A Dphar_path_check.re27 *error = "current directory reference";
30 *error = "upper directory reference";
61 *error = "double slash";
65 *error = "upper directory reference";
69 *error = "current directory reference";
73 *error = "back-slash";
77 *error = "star";
85 *error = NULL;
98 *error ="illegal character";
101 *error = NULL;
[all …]
H A Dzip.c184 if (error) { in phar_parse_zipfile()
195 if (error) { in phar_parse_zipfile()
207 if (error) { in phar_parse_zipfile()
214 if (error) { in phar_parse_zipfile()
256 if (error) { in phar_parse_zipfile()
772 if (error) { in phar_open_or_create_zip()
786 char **error; member
1173 if (pass->error && *(pass->error)) { in phar_zip_applysignature()
1208 if (error) { in phar_zip_flush()
1390 if (error) { in phar_zip_flush()
[all …]
H A Ddirstream.c343 if (error) { in phar_wrapper_open_dir()
353 if (error) { in phar_wrapper_open_dir()
354 efree(error); in phar_wrapper_open_dir()
460 efree(error); in phar_wrapper_mkdir()
476 if (error) { in phar_wrapper_mkdir()
478 efree(error); in phar_wrapper_mkdir()
490 if (error) { in phar_wrapper_mkdir()
492 efree(error); in phar_wrapper_mkdir()
529 if (error) { in phar_wrapper_mkdir()
603 if (error) { in phar_wrapper_rmdir()
[all …]
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_autocommit_oo.phpt32 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error);
35 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
46 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error);
53 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
60 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error);
63 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
66 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error);
70 $tmp['num'], $mysqli->errno, $mysqli->error);
75 printf("[015] [%d] %s\n", $mysqli->errno, $mysqli->error);
78 printf("[016] [%d] %s\n", $mysqli->errno, $mysqli->error);
[all …]
H A Dmysqli_error_oo.phpt2 $mysqli->error
17 if ('' !== ($tmp = @$mysqli->error))
24 $tmp = $mysqli->error;
26 …xpecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, $mysqli->errno, $mysqli->error);
29 printf("[004] Failed to drop old test table: [%d] %s\n", $mysqli->errno, $mysqli->error);
33 $tmp = $mysqli->error;
35 …able... doesn't exit], got %s/%s. [%d] %s\n", gettype($tmp), $tmp, $mysqli->errno, $mysqli->error);
39 var_dump($mysqli->error);
/PHP-7.3/ext/oci8/tests/
H A Dbug42134.phpt2 Bug #42134 (Collection error for invalid collection name)
13 // Test collection creation error for normal connection
24 echo "Normal connection: New Collection error\n";
29 // Test collection creation error for new connection
40 echo "New connection: New Collection error\n";
45 // Test collection creation error for persistent connection
56 echo "Persistent connection: New Collection error\n";
66 Normal connection: New Collection error
79 New connection: New Collection error
92 Persistent connection: New Collection error
/PHP-7.3/ext/curl/
H A Dmulti.c80 CURLMcode error = CURLM_OK; in PHP_FUNCTION() local
103 SAVE_CURLM_ERROR(mh, error); in PHP_FUNCTION()
168 CURLMcode error = CURLM_OK; in PHP_FUNCTION() local
184 SAVE_CURLM_ERROR(mh, error); in PHP_FUNCTION()
220 CURLMcode error = CURLM_OK; in PHP_FUNCTION() local
234 if (CURLM_OK != error) { in PHP_FUNCTION()
266 CURLMcode error = CURLM_OK; in PHP_FUNCTION() local
496 int error; in _php_server_push_callback() local
538 if (error == FAILURE) { in _php_server_push_callback()
589 if (error != CURLM_OK) { in _php_curl_multi_setopt()
[all …]
/PHP-7.3/ext/gd/tests/
H A Dbug39780_extern.phpt2 Bug #39780 (PNG image with CRC/data error raises a fatal error)
15 gd-png: fatal libpng error: Read Error: truncated data
16 gd-png error: setjmp returns error condition 2

Completed in 70 milliseconds

12345678910>>...94