Home
last modified time | relevance | path

Searched refs:zip_error_set (Results 1 – 25 of 63) sorted by relevance

123

/PHP-7.0/ext/zip/lib/
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_source_filep.c104 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()
184 zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); in create_temp_output()
191 zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); in create_temp_output()
199 zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); in create_temp_output()
376 zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); in read_file()
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_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()
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()
402 zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 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()
501 zip_error_set(error, ZIP_ER_SEEK, EINVAL); in _zip_seek_win32()
[all …]
H A Dzip_open.c97 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_open_from_source()
116 zip_error_set(error, ZIP_ER_RDONLY, 0); in zip_open_from_source()
286 zip_error_set(error, ZIP_ER_NOZIP, 0); in _zip_read_cdir()
292 zip_error_set(error, ZIP_ER_NOZIP, 0); in _zip_read_cdir()
313 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_read_cdir()
673 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_read_eocd()
692 zip_error_set(error, ZIP_ER_NOZIP, 0); in _zip_read_eocd()
706 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_read_eocd()
711 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_read_eocd()
750 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_read_eocd64()
[all …]
H A Dzip_hash.c57 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()
233 zip_error_set(error, ZIP_ER_NOENT, 0); in _zip_hash_lookup()
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()
H A Dzip_set_file_compression.c45 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_set_file_compression()
50 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_set_file_compression()
55 zip_error_set(&za->error, ZIP_ER_COMPNOTSUPP, 0); in zip_set_file_compression()
77 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in zip_set_file_compression()
H A Dzip_io_util.c45 zip_error_set(error, ZIP_ER_INTERNAL, 0); 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()
133 zip_error_set(&za->error, ZIP_ER_WRITE, EINTR); in _zip_write()
H A Dzip_file_rename.c47 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_rename()
52 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_rename()
63 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_rename()
H A Dzip_source_call.c44 zip_error_set(&src->error, ZIP_ER_OPNOTSUPP, 0); in _zip_source_call()
60 zip_error_set(&src->error, ZIP_ER_INTERNAL, 0); in _zip_source_call()
63 zip_error_set(&src->error, e[0], e[1]); in _zip_source_call()
H A Dzip_source_buffer.c91 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()
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()
166 zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); in read_data()
213 zip_error_set(&ctx->error, ZIP_ER_TELL, EOVERFLOW); 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_window.c66 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()
108 zip_error_set(&src->error, ZIP_ER_ZIPCLOSED, 0); in _zip_source_invalidate()
143 zip_error_set(&ctx->error, ZIP_ER_EOF, 0); in window_read()
167 zip_error_set(&ctx->error, ZIP_ER_EOF, 0); in window_read()
175 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()
243 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in _zip_register_source()
H A Dzip_set_archive_comment.c46 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_set_archive_comment()
51 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_set_archive_comment()
61 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_set_archive_comment()
H A Dzip_source_win32utf8.c59 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()
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()
367 zip_error_set(error, ZIP_ER_INTERNAL, 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()
876 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_get_dirent()
882 zip_error_set(error, ZIP_ER_INVAL, 0); in _zip_get_dirent()
[all …]
H A Dzip_dir_add.c52 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_dir_add()
57 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_dir_add()
66 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in zip_dir_add()
H A Dzip_source_seek.c47 zip_error_set(&src->error, ZIP_ER_INVAL, 0); in zip_source_seek()
82 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_source_seek_compute_offset()
87 zip_error_set(error, ZIP_ER_INVAL, 0); in zip_source_seek_compute_offset()
H A Dzip_source_close.c42 zip_error_set(&src->error, ZIP_ER_INVAL, 0); in zip_source_close()
52 zip_error_set(&src->error, ZIP_ER_INTERNAL, 0); in zip_source_close()
H A Dzip_source_pkware.c67 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_source_pkware()
71 zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); in zip_source_pkware()
76 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in zip_source_pkware()
141 zip_error_set(&ctx->error, ZIP_ER_EOF, 0); in decrypt_header()
155 zip_error_set(&ctx->error, ZIP_ER_WRONGPASSWD, 0); in decrypt_header()
216 zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); in pkware_decrypt()
H A Dzip_extra_field.c49 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_ef_clone()
143 zip_error_set(error, ZIP_ER_NOENT, 0); in _zip_ef_get_by_id()
215 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_ef_parse()
230 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_ef_parse()
237 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_ef_parse()
258 zip_error_set(error, ZIP_ER_INCONS, 0); in _zip_ef_parse()
339 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in _zip_ef_write()
370 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_read_local_ef()
380 zip_error_set(&za->error, ZIP_ER_SEEK, EFBIG); in _zip_read_local_ef()
398 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in _zip_read_local_ef()
[all …]
H A Dzip_source_commit_write.c42 zip_error_set(&src->error, ZIP_ER_INVAL, 0); in zip_source_commit_write()
47 zip_error_set(&src->error, ZIP_ER_INUSE, 0); in zip_source_commit_write()
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()
H A Dzip_set_archive_flag.c52 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_set_archive_flag()
59 zip_error_set(&za->error, ZIP_ER_CHANGED, 0); in zip_set_archive_flag()
H A Dzip_source_open.c44 zip_error_set(&src->error, ZIP_ER_DELETED, 0); in zip_source_open()
50 zip_error_set(&src->error, ZIP_ER_INUSE, 0); in zip_source_open()
H A Dzip_file_set_comment.c52 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_set_comment()
57 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_set_comment()
86 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in zip_file_set_comment()

Completed in 58 milliseconds

123