Home
last modified time | relevance | path

Searched refs:archive_set_error (Results 1 – 25 of 94) sorted by relevance

1234

/freebsd/contrib/libarchive/libarchive/
H A Darchive_disk_acl_freebsd.c128 archive_set_error(&a->archive, errno, in translate_acl()
139 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in translate_acl()
146 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in translate_acl()
152 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in translate_acl()
160 archive_set_error(&a->archive, errno, in translate_acl()
171 archive_set_error(&a->archive, errno, in translate_acl()
228 archive_set_error(&a->archive, errno, "Failed " in translate_acl()
246 archive_set_error(&a->archive, errno, in translate_acl()
258 archive_set_error(&a->archive, errno, in translate_acl()
267 archive_set_error(&a->archive, errno, in translate_acl()
[all …]
H A Darchive_write_set_format_ustar.c180 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_set_format_ustar()
188 archive_set_error(&a->archive, ENOMEM, in archive_write_set_format_ustar()
214 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_ustar_options()
262 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,
291 archive_set_error(&a->archive, ENOMEM,
319 archive_set_error(&a->archive, ENOMEM,
345 archive_set_error(&a->archive, ENOMEM,
413 archive_set_error(&a->archive, ENOMEM,
417 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
437 archive_set_error(&a->archive, ENAMETOOLONG,
[all …]
H A Darchive_write_open_filename.c103 archive_set_error(a, ENOMEM, "No memory"); in open_filename()
112 archive_set_error(a, ENOMEM, "No memory"); in open_filename()
116 archive_set_error(a, ARCHIVE_ERRNO_MISC, in open_filename()
120 archive_set_error(a, ARCHIVE_ERRNO_MISC, in open_filename()
152 archive_set_error(a, errno, "No memory"); in file_open()
155 archive_set_error(a, errno, in file_open()
169 archive_set_error(a, errno, "No memory"); in file_open()
172 archive_set_error(a, errno, in file_open()
182 archive_set_error(a, errno, "Failed to open '%s'", mbs); in file_open()
184 archive_set_error(a, errno, "Failed to open '%S'", wcs); in file_open()
[all …]
H A Darchive_write_set_format_v7tar.c157 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_set_format_v7tar()
165 archive_set_error(&a->archive, ENOMEM, in archive_write_set_format_v7tar()
191 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_v7tar_options()
236 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_v7tar_header()
265 archive_set_error(&a->archive, ENOMEM, in archive_write_v7tar_header()
293 archive_set_error(&a->archive, ENOMEM, in archive_write_v7tar_header()
319 archive_set_error(&a->archive, ENOMEM, in archive_write_v7tar_header()
386 archive_set_error(&a->archive, ENOMEM, in format_header_v7tar()
390 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in format_header_v7tar()
401 archive_set_error(&a->archive, ENAMETOOLONG, in format_header_v7tar()
[all …]
H A Darchive_write_set_format_ar.c131 archive_set_error(&a->archive, ENOMEM, "Can't allocate ar data"); in archive_write_set_format_ar()
168 archive_set_error(&a->archive, EINVAL, in archive_write_ar_header()
220 archive_set_error(&a->archive, EINVAL, in archive_write_ar_header()
244 archive_set_error(&a->archive, EINVAL, in archive_write_ar_header()
251 archive_set_error(&a->archive, ENOMEM, in archive_write_ar_header()
263 archive_set_error(&a->archive, EINVAL, in archive_write_ar_header()
277 archive_set_error(&a->archive, ERANGE, in archive_write_ar_header()
301 archive_set_error(&a->archive, ERANGE, in archive_write_ar_header()
312 archive_set_error(&a->archive, ERANGE, in archive_write_ar_header()
317 archive_set_error(&a->archive, ERANGE, in archive_write_ar_header()
[all …]
H A Darchive_read_open_filename.c153 archive_set_error(a, ENOMEM, "No memory"); in archive_read_open_filenames()
203 archive_set_error(a, errno, in archive_read_open_filenames_w()
206 archive_set_error(a, EINVAL, in archive_read_open_filenames_w()
233 archive_set_error(a, ENOMEM, "No memory"); in archive_read_open_filenames_w()
288 archive_set_error(a, errno, in file_open()
305 archive_set_error(a, errno, in file_open()
310 archive_set_error(a, ARCHIVE_ERRNO_MISC, in file_open()
318 archive_set_error(a, errno, "Can't stat '%S'", in file_open()
322 archive_set_error(a, errno, "Can't stat '%s'", in file_open()
394 archive_set_error(a, ENOMEM, "No memory"); in file_open()
[all …]
H A Darchive_write_set_format_xar.c90 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_set_format_xar()
350 archive_set_error(&a->archive, ENOMEM, in archive_write_set_format_xar()
366 archive_set_error(&a->archive, ENOMEM, in archive_write_set_format_xar()
420 archive_set_error(&(a->archive), in xar_options()
456 archive_set_error(&(a->archive), in xar_options()
463 archive_set_error(&(a->archive), in xar_options()
476 archive_set_error(&(a->archive), in xar_options()
495 archive_set_error(&(a->archive), in xar_options()
512 archive_set_error(&(a->archive), in xar_options()
554 archive_set_error(&a->archive, ENOMEM, in xar_write_header()
[all …]
H A Darchive_write_set_format_cpio_binary.c176 archive_set_error(&a->archive, EINVAL, in archive_write_set_format_cpio_binary()
190 archive_set_error(&a->archive, ENOMEM, "Can't allocate cpio data"); in archive_write_set_format_cpio_binary()
210 archive_set_error(&a->archive, EINVAL, "binary format must be 'pwb' or 'bin'"); in archive_write_set_format_cpio_binary()
243 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_binary_options()
356 archive_set_error(&a->archive, -1, "Filetype required"); in archive_write_binary_header()
362 archive_set_error(&a->archive, ENOMEM, in archive_write_binary_header()
367 archive_set_error(&a->archive, -1, "Pathname required"); in archive_write_binary_header()
372 archive_set_error(&a->archive, -1, "Size required"); in archive_write_binary_header()
399 archive_set_error(&a->archive, ENOMEM, in write_header()
414 archive_set_error(&a->archive, ENOMEM, in write_header()
[all …]
H A Darchive_read_support_format_zip.c516 archive_set_error(&a->archive, in process_extra()
535 archive_set_error(&a->archive, in process_extra()
554 archive_set_error(&a->archive, in process_extra()
569 archive_set_error(&a->archive, in process_extra()
584 archive_set_error(&a->archive, in process_extra()
620 archive_set_error(&a->archive, in process_extra()
898 archive_set_error(&a->archive, in process_extra()
957 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in zip_read_local_file_header()
963 archive_set_error(&a->archive, -1, "Damaged Zip archive"); in zip_read_local_file_header()
996 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in zip_read_local_file_header()
[all …]
H A Darchive_read_support_filter_lzop.c122 archive_set_error(_a, ARCHIVE_ERRNO_MISC, in archive_read_support_filter_lzop()
190 archive_set_error(&self->archive->archive, ENOMEM, in lzop_bidder_init()
231 archive_set_error(&self->archive->archive, in consume_header()
239 archive_set_error(&self->archive->archive, ARCHIVE_ERRNO_MISC, in consume_header()
258 archive_set_error(&self->archive->archive, in consume_header()
301 archive_set_error(&self->archive->archive, in consume_header()
305 archive_set_error(&self->archive->archive, in consume_header()
353 archive_set_error(&self->archive->archive, in consume_block_info()
357 archive_set_error(&self->archive->archive, in consume_block_info()
404 archive_set_error(&self->archive->archive, ENOMEM, in lzop_filter_read()
[all …]
H A Darchive_read_disk_entry_from_file.c147 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_read_disk_entry_setup_path()
182 archive_set_error(&a->archive, errno, in archive_read_disk_entry_from_file()
191 archive_set_error(&a->archive, errno, in archive_read_disk_entry_from_file()
198 archive_set_error(&a->archive, errno, in archive_read_disk_entry_from_file()
261 archive_set_error(&a->archive, ENOMEM, in archive_read_disk_entry_from_file()
271 archive_set_error(&a->archive, errno, in archive_read_disk_entry_from_file()
281 archive_set_error(&a->archive, errno, in archive_read_disk_entry_from_file()
353 archive_set_error(&a->archive, errno, in setup_mac_metadata()
370 archive_set_error(&a->archive, errno, in setup_mac_metadata()
382 archive_set_error(&a->archive, errno, in setup_mac_metadata()
[all …]
H A Darchive_write_set_format_gnutar.c179 archive_set_error(&a->archive, ENOMEM, in archive_write_set_format_gnutar()
205 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_gnutar_options()
320 archive_set_error(&a->archive, ENOMEM, in archive_write_gnutar_header()
348 archive_set_error(&a->archive, ENOMEM, in archive_write_gnutar_header()
374 archive_set_error(&a->archive, ENOMEM, in archive_write_gnutar_header()
389 archive_set_error(&a->archive, ENOMEM, in archive_write_gnutar_header()
394 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in archive_write_gnutar_header()
404 archive_set_error(&a->archive, ENOMEM, in archive_write_gnutar_header()
409 archive_set_error(&a->archive, in archive_write_gnutar_header()
420 archive_set_error(&a->archive, ENOMEM, in archive_write_gnutar_header()
[all …]
H A Darchive_read_support_filter_lz4.c125 archive_set_error(_a, ARCHIVE_ERRNO_MISC, in archive_read_support_filter_lz4()
228 archive_set_error(&self->archive->archive, ENOMEM, in lz4_reader_init()
254 archive_set_error(&self->archive->archive, ENOMEM, in lz4_allocate_out_block()
277 archive_set_error(&self->archive->archive, ENOMEM, in lz4_allocate_out_block_for_legacy()
309 archive_set_error(&self->archive->archive, in lz4_filter_read()
323 archive_set_error(&self->archive->archive, in lz4_filter_read()
350 archive_set_error( in lz4_filter_read()
385 archive_set_error(&self->archive->archive, in lz4_filter_read_descriptor()
440 archive_set_error(&self->archive->archive, in lz4_filter_read_descriptor()
467 archive_set_error(&self->archive->archive, ARCHIVE_ERRNO_MISC, in lz4_filter_read_descriptor()
[all …]
H A Darchive_read_support_filter_xz.c127 archive_set_error(_a, ARCHIVE_ERRNO_MISC, in archive_read_support_filter_xz()
159 archive_set_error(_a, ARCHIVE_ERRNO_MISC, in archive_read_support_filter_lzma()
192 archive_set_error(_a, ARCHIVE_ERRNO_MISC, in archive_read_support_filter_lzip()
426 archive_set_error(&self->archive->archive, ENOMEM, in set_error()
430 archive_set_error(&self->archive->archive, ENOMEM, in set_error()
434 archive_set_error(&self->archive->archive, in set_error()
439 archive_set_error(&self->archive->archive, in set_error()
444 archive_set_error(&self->archive->archive, in set_error()
449 archive_set_error(&self->archive->archive, in set_error()
455 archive_set_error(&self->archive->archive, in set_error()
[all …]
H A Darchive_write_set_format_cpio_odc.c115 archive_set_error(&a->archive, ENOMEM, "Can't allocate cpio data"); in archive_write_set_format_cpio_odc()
140 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_odc_options()
253 archive_set_error(&a->archive, -1, "Filetype required"); in archive_write_odc_header()
259 archive_set_error(&a->archive, ENOMEM, in archive_write_odc_header()
264 archive_set_error(&a->archive, -1, "Pathname required"); in archive_write_odc_header()
269 archive_set_error(&a->archive, -1, "Size required"); in archive_write_odc_header()
296 archive_set_error(&a->archive, ENOMEM, in write_header()
311 archive_set_error(&a->archive, ENOMEM, in write_header()
316 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in write_header()
331 archive_set_error(&a->archive, ENOMEM, in write_header()
[all …]
H A Darchive_write_add_filter_bzip2.c91 archive_set_error(&a->archive, ENOMEM, "Out of memory"); in archive_write_add_filter_bzip2()
109 archive_set_error(&a->archive, ENOMEM, "Out of memory"); in archive_write_add_filter_bzip2()
113 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_add_filter_bzip2()
182 archive_set_error(f->archive, ENOMEM, in archive_compressor_bzip2_open()
202 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_bzip2_open()
208 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_bzip2_open()
213 archive_set_error(f->archive, ENOMEM, in archive_compressor_bzip2_open()
218 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_bzip2_open()
273 archive_set_error(f->archive, ARCHIVE_ERRNO_PROGRAMMER, in archive_compressor_bzip2_close()
337 archive_set_error(f->archive, in drive_compressor()
H A Darchive_write_set_format_cpio_newc.c121 archive_set_error(&a->archive, ENOMEM, "Can't allocate cpio data"); in archive_write_set_format_cpio_newc()
146 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_newc_options()
193 archive_set_error(&a->archive, -1, "Filetype required"); in archive_write_newc_header()
199 archive_set_error(&a->archive, ENOMEM, in archive_write_newc_header()
204 archive_set_error(&a->archive, -1, "Pathname required"); in archive_write_newc_header()
210 archive_set_error(&a->archive, -1, "Size required"); in archive_write_newc_header()
238 archive_set_error(&a->archive, ENOMEM, in write_header()
253 archive_set_error(&a->archive, ENOMEM, in write_header()
258 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in write_header()
275 archive_set_error(&a->archive, ERANGE, in write_header()
[all …]
H A Darchive_write_disk_posix.c526 archive_set_error(&a->archive, errno, "Couldn't stat file"); in lazy_stat()
628 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in _archive_write_disk_header()
835 archive_set_error(&a->archive, errno, in _archive_write_disk_header()
970 archive_set_error(&a->archive, 0, in write_data_block()
1025 archive_set_error(&a->archive, errno, in write_data_block()
1033 archive_set_error(&a->archive, errno, "Write failed"); in write_data_block()
1063 archive_set_error(&a->archive, errno, in hfs_set_compressed_fflag()
1101 archive_set_error(&a->archive, errno, in hfs_write_decmpfs()
1158 archive_set_error(&a->archive, errno, in hfs_write_resource_fork()
1235 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in hfs_reset_compressor()
[all …]
H A Darchive_read_support_format_ar.c108 archive_set_error(&a->archive, ENOMEM, in archive_read_support_format_ar()
178 archive_set_error(&a->archive, EINVAL, in _ar_read_header()
244 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in _ar_read_header()
261 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in _ar_read_header()
267 archive_set_error(&a->archive, EINVAL, in _ar_read_header()
272 archive_set_error(&a->archive, EINVAL, in _ar_read_header()
280 archive_set_error(&a->archive, ENOMEM, in _ar_read_header()
317 archive_set_error(&a->archive, EINVAL, in _ar_read_header()
350 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in _ar_read_header()
366 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in _ar_read_header()
[all …]
H A Darchive_read_support_format_tar.c261 archive_set_error(&a->archive, ENOMEM, in archive_read_support_format_tar()
439 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_read_format_tar_options()
631 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_read_format_tar_read_data()
752 archive_set_error(&a->archive, EINVAL, in tar_read_header()
760 archive_set_error(&a->archive, in tar_read_header()
790 archive_set_error(&a->archive, EINVAL, "Damaged tar archive"); in tar_read_header()
914 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in tar_read_header()
932 archive_set_error(&a->archive, in tar_read_header()
1063 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in header_Solaris_ACL()
1071 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in header_Solaris_ACL()
[all …]
H A Darchive_write_add_filter_gzip.c106 archive_set_error(&a->archive, ENOMEM, "Out of memory"); in archive_write_add_filter_gzip()
123 archive_set_error(&a->archive, ENOMEM, "Out of memory"); in archive_write_add_filter_gzip()
127 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_write_add_filter_gzip()
199 archive_set_error(f->archive, ENOMEM, in archive_compressor_gzip_open()
248 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, "Internal error " in archive_compressor_gzip_open()
254 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_gzip_open()
259 archive_set_error(f->archive, ENOMEM, in archive_compressor_gzip_open()
263 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_gzip_open()
330 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_gzip_close()
383 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in drive_compressor()
H A Darchive_read_support_filter_gzip.c113 archive_set_error(_a, ARCHIVE_ERRNO_MISC, in archive_read_support_filter_gzip()
325 archive_set_error(&self->archive->archive, ENOMEM, in gzip_bidder_init()
372 archive_set_error(&self->archive->archive, in consume_header()
378 archive_set_error(&self->archive->archive, ENOMEM, in consume_header()
383 archive_set_error(&self->archive->archive, in consume_header()
389 archive_set_error(&self->archive->archive, in consume_header()
412 archive_set_error(&self->archive->archive, in consume_trailer()
465 archive_set_error(&self->archive->archive, in gzip_filter_read()
496 archive_set_error(&self->archive->archive, in gzip_filter_read()
530 archive_set_error(&(self->archive->archive), in gzip_filter_close()
H A Darchive_write_add_filter_xz.c76 archive_set_error(a, ARCHIVE_ERRNO_MISC, in archive_write_add_filter_xz()
84 archive_set_error(a, ARCHIVE_ERRNO_MISC, in archive_write_add_filter_lzma()
92 archive_set_error(a, ARCHIVE_ERRNO_MISC, in archive_write_add_filter_lzip()
148 archive_set_error(&a->archive, ENOMEM, "Out of memory"); in common_setup()
253 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_xz_init_stream()
288 archive_set_error(f->archive, ENOMEM, in archive_compressor_xz_init_stream()
293 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_xz_init_stream()
324 archive_set_error(f->archive, ENOMEM, in archive_compressor_xz_open()
353 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in archive_compressor_xz_open()
520 archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, in drive_compressor()
[all …]
H A Darchive_read_support_format_rar.c602 archive_set_error(&a->archive, in rar_br_preparation()
717 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in ppmd_read()
740 archive_set_error(&a->archive, ENOMEM, "Can't allocate rar data"); in archive_read_support_format_rar()
871 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in skip_sfx()
886 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_read_format_rar_options()
965 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in archive_read_format_rar_read_header()
976 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in archive_read_format_rar_read_header()
988 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in archive_read_format_rar_read_header()
1003 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in archive_read_format_rar_read_header()
1011 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in archive_read_format_rar_read_header()
[all …]
H A Darchive_read_support_format_7zip.c452 archive_set_error(&a->archive, ENOMEM, in archive_read_support_format_7zip()
642 archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, in skip_sfx()
733 archive_set_error(&a->archive, ENOMEM, in archive_read_format_7zip_read_header()
737 archive_set_error(&a->archive, in archive_read_format_7zip_read_header()
821 archive_set_error(&a->archive, ENOMEM, in archive_read_format_7zip_read_header()
897 archive_set_error(&a->archive, in archive_read_format_7zip_read_data()
917 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, in archive_read_format_7zip_read_data()
1008 archive_set_error(&a->archive, ENOMEM, in set_error()
1012 archive_set_error(&a->archive, ENOMEM, in set_error()
1016 archive_set_error(&a->archive, in set_error()
[all …]

1234