/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_private.h | 39 struct archive_read; 86 * This structure is allocated within the archive_read core 87 * and initialized by archive_read and the init() method of the 96 struct archive_read *archive; /* Associated archive. */ 158 struct archive_read { 198 int (*bid)(struct archive_read *, int best_bid); 199 int (*options)(struct archive_read *, const char *key, 201 int (*read_header)(struct archive_read *, struct archive_entry *); 202 int (*read_data)(struct archive_read *, const void **, size_t *, int64_t *); 203 int (*read_data_skip)(struct archive_read *); 160 struct archive_read { global() struct 171 clientarchive_read global() argument 174 biddersarchive_read global() argument 177 filterarchive_read global() argument 200 archive_format_descriptorarchive_read global() argument 216 extractarchive_read global() argument 217 cleanup_archive_extractarchive_read global() argument 231 passphrasesarchive_read global() argument [all...] |
H A D | archive_read_support_format_raw.c | 46 static int archive_read_format_raw_bid(struct archive_read *, int); 47 static int archive_read_format_raw_cleanup(struct archive_read *); 48 static int archive_read_format_raw_read_data(struct archive_read *, 50 static int archive_read_format_raw_read_data_skip(struct archive_read *); 51 static int archive_read_format_raw_read_header(struct archive_read *, 58 struct archive_read *a = (struct archive_read *)_a; in archive_read_support_format_raw() 96 archive_read_format_raw_bid(struct archive_read *a, int best_bid) in archive_read_format_raw_bid() 107 archive_read_format_raw_read_header(struct archive_read *a, in archive_read_format_raw_read_header() 128 archive_read_format_raw_read_data(struct archive_read *a, in archive_read_format_raw_read_data() 169 archive_read_format_raw_read_data_skip(struct archive_read *a) in archive_read_format_raw_read_data_skip() [all …]
|
H A D | archive_read.c | 57 static int choose_filters(struct archive_read *); 58 static int choose_format(struct archive_read *); 59 static int close_filters(struct archive_read *); 93 struct archive_read *a; in archive_read_new() 116 struct archive_read *a = (struct archive_read *)_a; in archive_read_extract_set_skip_file() 238 read_client_close_proxy(struct archive_read *a) in read_client_close_proxy() 305 struct archive_read *a = (struct archive_read *)_a; in archive_read_set_open_callback() 316 struct archive_read *a = (struct archive_read *)_a; in archive_read_set_read_callback() 327 struct archive_read *a = (struct archive_read *)_a; in archive_read_set_skip_callback() 338 struct archive_read *a = (struct archive_read *)_a; in archive_read_set_seek_callback() [all …]
|
H A D | archive_read_support_format_empty.c | 33 static int archive_read_format_empty_bid(struct archive_read *, int); 34 static int archive_read_format_empty_read_data(struct archive_read *, 36 static int archive_read_format_empty_read_header(struct archive_read *, 41 struct archive_read *a = (struct archive_read *)_a; in archive_read_support_format_empty() 65 archive_read_format_empty_bid(struct archive_read *a, int best_bid) 73 archive_read_format_empty_read_header(struct archive_read *a, 86 archive_read_format_empty_read_data(struct archive_read *a,
|
H A D | archive_read_add_passphrase.c | 34 add_passphrase_to_tail(struct archive_read *a, 43 remove_passphrases_from_head(struct archive_read *a) 54 insert_passphrase_to_head(struct archive_read *a, 66 new_read_passphrase(struct archive_read *a, const char *passphrase) 89 struct archive_read *a = (struct archive_read *)_a; in archive_read_add_passphrase() 113 struct archive_read *a = (struct archive_read *)_a; in archive_read_set_passphrase_callback() 128 __archive_read_reset_passphrase(struct archive_read *a) 138 __archive_read_next_passphrase(struct archive_read * [all...] |
H A D | archive_read_extract2.c | 44 static int archive_read_extract_cleanup(struct archive_read *); 51 __archive_read_get_extract(struct archive_read *a) in __archive_read_get_extract() 68 archive_read_extract_cleanup(struct archive_read *a) in archive_read_extract_cleanup() 84 struct archive_read *a = (struct archive_read *)_a; in archive_read_extract2() 116 struct archive_read *a = (struct archive_read *)_a; in archive_read_extract_set_progress_callback() 133 extract = __archive_read_get_extract((struct archive_read *)ar); in copy_data()
|
H A D | archive_read_support_format_cpio.c | 176 int (*read_header)(struct archive_read *, struct cpio *, 193 static int archive_read_format_cpio_bid(struct archive_read *, int); 194 static int archive_read_format_cpio_options(struct archive_read *, 196 static int archive_read_format_cpio_cleanup(struct archive_read *); 197 static int archive_read_format_cpio_read_data(struct archive_read *, 199 static int archive_read_format_cpio_read_header(struct archive_read *, 201 static int archive_read_format_cpio_skip(struct archive_read *); 203 static int find_odc_header(struct archive_read *); 204 static int find_newc_header(struct archive_read *); 205 static int header_bin_be(struct archive_read *, struct cpio *, [all …]
|
H A D | archive_read_support_format_ar.c | 83 static int archive_read_format_ar_bid(struct archive_read *a, int); 84 static int archive_read_format_ar_cleanup(struct archive_read *a); 85 static int archive_read_format_ar_read_data(struct archive_read *a, 87 static int archive_read_format_ar_skip(struct archive_read *a); 88 static int archive_read_format_ar_read_header(struct archive_read *a, 92 static int ar_parse_gnu_filename_table(struct archive_read *a); 99 struct archive_read *a = (struct archive_read *)_a; in archive_read_support_format_ar() 135 archive_read_format_ar_cleanup(struct archive_read *a) in archive_read_format_ar_cleanup() 147 archive_read_format_ar_bid(struct archive_read *a, int best_bid) in archive_read_format_ar_bid() 166 _ar_read_header(struct archive_read *a, struct archive_entry *entry, in _ar_read_header() [all …]
|
H A D | archive_read_support_format_tar.c | 156 static int gnu_add_sparse_entry(struct archive_read *, struct tar *, 160 static int gnu_sparse_old_read(struct archive_read *, struct tar *, 162 static int gnu_sparse_old_parse(struct archive_read *, struct tar *, 164 static int gnu_sparse_01_parse(struct archive_read *, struct tar *, 166 static ssize_t gnu_sparse_10_read(struct archive_read *, struct tar *, 168 static int header_Solaris_ACL(struct archive_read *, struct tar *, 170 static int header_common(struct archive_read *, struct tar *, 172 static int header_old_tar(struct archive_read *, struct tar *, 174 static int header_pax_extension(struct archive_read *, struct tar *, 176 static int header_pax_global(struct archive_read *, struct tar *, [all …]
|
H A D | archive_read_support_format_rar5.c | 370 static int verify_global_checksums(struct archive_read* a); 371 static int rar5_read_data_skip(struct archive_read *a); 372 static int push_data_ready(struct archive_read* a, struct rar5* rar, 514 static inline struct rar5* get_context(struct archive_read* a) { in get_context() 661 static int run_filter(struct archive_read* a, struct filter_info* flt) { in run_filter() 720 static void push_data(struct archive_read* a, struct rar5* rar, in push_data() 764 static void push_window_data(struct archive_read* a, struct rar5* rar, in push_window_data() 770 static int apply_filters(struct archive_read* a) { in apply_filters() 888 struct archive_read** ar) in get_archive_read() 890 *ar = (struct archive_read*) a; in get_archive_read() [all …]
|
H A D | archive_read_support_format_xar.c | 73 struct archive_read *a = (struct archive_read *)_a; in archive_read_support_format_xar() 373 static int xar_bid(struct archive_read *, int); 374 static int xar_read_header(struct archive_read *, 376 static int xar_read_data(struct archive_read *, 378 static int xar_read_data_skip(struct archive_read *); 379 static int xar_cleanup(struct archive_read *); 380 static int move_reading_point(struct archive_read *, uint64_t); 381 static int rd_contents_init(struct archive_read *, 383 static int rd_contents(struct archive_read *, const void **, 389 static int heap_add_entry(struct archive_read *a, [all …]
|
H A D | archive_read_support_format_mtree.c | 121 static int cleanup(struct archive_read *); 122 static int detect_form(struct archive_read *, int *); 123 static int mtree_bid(struct archive_read *, int); 124 static int parse_file(struct archive_read *, struct archive_entry *, 127 static int parse_line(struct archive_read *, struct archive_entry *, 129 static int parse_keyword(struct archive_read *, struct mtree *, 131 static int read_data(struct archive_read *a, 133 static ssize_t readline(struct archive_read *, struct mtree *, char **, ssize_t); 134 static int skip(struct archive_read *a); 135 static int read_header(struct archive_read *, [all …]
|
H A D | archive_read_support_format_7zip.c | 375 static int archive_read_format_7zip_has_encrypted_entries(struct archive_read *); 376 static int archive_read_support_format_7zip_capabilities(struct archive_read *a); 377 static int archive_read_format_7zip_bid(struct archive_read *, int); 378 static int archive_read_format_7zip_cleanup(struct archive_read *); 379 static int archive_read_format_7zip_read_data(struct archive_read *, 381 static int archive_read_format_7zip_read_data_skip(struct archive_read *); 382 static int archive_read_format_7zip_read_header(struct archive_read *, 386 static int decode_encoded_header_info(struct archive_read *, 388 static int decompress(struct archive_read *, struct _7zip *, 390 static ssize_t extract_pack_stream(struct archive_read *, size_t); [all …]
|
H A D | archive_read_support_format_rar.c | 397 static int archive_read_support_format_rar_capabilities(struct archive_read *); 398 static int archive_read_format_rar_has_encrypted_entries(struct archive_read *); 399 static int archive_read_format_rar_bid(struct archive_read *, int); 400 static int archive_read_format_rar_options(struct archive_read *, 402 static int archive_read_format_rar_read_header(struct archive_read *, 404 static int archive_read_format_rar_read_data(struct archive_read *, 406 static int archive_read_format_rar_read_data_skip(struct archive_read *a); 407 static int64_t archive_read_format_rar_seek_data(struct archive_read *, int64_t, 409 static int archive_read_format_rar_cleanup(struct archive_read *); 412 static int read_header(struct archive_read *, struct archive_entry *, char); [all …]
|
H A D | archive_read_support_format_warc.c | 122 static int _warc_bid(struct archive_read *a, int); 123 static int _warc_cleanup(struct archive_read *a); 124 static int _warc_read(struct archive_read*, const void**, size_t*, int64_t*); 125 static int _warc_skip(struct archive_read *a); 126 static int _warc_rdhdr(struct archive_read *a, struct archive_entry *e); 141 struct archive_read *a = (struct archive_read *)_a; in archive_read_support_format_warc() 167 _warc_cleanup(struct archive_read *a) 181 _warc_bid(struct archive_read *a, int best_bid) 210 _warc_rdhdr(struct archive_read * [all...] |
H A D | archive_read_support_format_cab.c | 306 static int archive_read_format_cab_bid(struct archive_read *, int); 307 static int archive_read_format_cab_options(struct archive_read *, 309 static int archive_read_format_cab_read_header(struct archive_read *, 311 static int archive_read_format_cab_read_data(struct archive_read *, 313 static int archive_read_format_cab_read_data_skip(struct archive_read *); 314 static int archive_read_format_cab_cleanup(struct archive_read *); 316 static int cab_skip_sfx(struct archive_read *); 318 static int cab_read_data(struct archive_read *, const void **, 320 static int cab_read_header(struct archive_read *); 323 static void cab_checksum_update(struct archive_read *, size_t); [all …]
|
H A D | archive_read_append_filter.c | 43 struct archive_read *a = (struct archive_read *)_a; in archive_read_append_filter() 160 struct archive_read *a = (struct archive_read *)_a; in archive_read_append_filter_program_signature()
|
H A D | archive_read_support_format_zip.c | 259 zip_read_data_deflate(struct archive_read *a, const void **buff, 264 zip_read_data_zipx_lzma_alone(struct archive_read *a, const void **buff, 275 struct archive_read *a = ((IByteIn*)p)->a; in ppmd_read() 495 process_extra(struct archive_read *a, struct archive_entry *entry, in process_extra() 926 zip_read_local_file_header(struct archive_read *a, struct archive_entry *entry, in zip_read_local_file_header() 1310 check_authentication_code(struct archive_read *a, const void *_p) in check_authentication_code() 1415 consume_end_of_file_marker(struct archive_read *a, struct zip *zip) in consume_end_of_file_marker() 1613 zip_read_data_none(struct archive_read *a, const void **_buff, in zip_read_data_none() 1730 zipx_xz_init(struct archive_read *a, struct zip *zip) in zipx_xz_init() 1766 zipx_lzma_alone_init(struct archive_read *a, struct zip *zip) in zipx_lzma_alone_init() [all …]
|
H A D | archive_read_support_format_lha.c | 213 static int archive_read_format_lha_bid(struct archive_read *, int); 214 static int archive_read_format_lha_options(struct archive_read *, 216 static int archive_read_format_lha_read_header(struct archive_read *, 218 static int archive_read_format_lha_read_data(struct archive_read *, 220 static int archive_read_format_lha_read_data_skip(struct archive_read *); 221 static int archive_read_format_lha_cleanup(struct archive_read *); 225 static int lha_read_file_header_0(struct archive_read *, struct lha *); 226 static int lha_read_file_header_1(struct archive_read *, struct lha *); 227 static int lha_read_file_header_2(struct archive_read *, struct lha *); 228 static int lha_read_file_header_3(struct archive_read *, struct lha *); [all …]
|
H A D | archive_read_support_format_iso9660.c | 385 static int archive_read_format_iso9660_bid(struct archive_read *, int); 386 static int archive_read_format_iso9660_options(struct archive_read *, 388 static int archive_read_format_iso9660_cleanup(struct archive_read *); 389 static int archive_read_format_iso9660_read_data(struct archive_read *, 391 static int archive_read_format_iso9660_read_data_skip(struct archive_read *); 392 static int archive_read_format_iso9660_read_header(struct archive_read *, 415 static int next_cache_entry(struct archive_read *, struct iso9660 *, 417 static int next_entry_seek(struct archive_read *, struct iso9660 *, 420 parse_file_info(struct archive_read *a, 423 static int parse_rockridge(struct archive_read *a, [all …]
|
H A D | archive_read_extract.c | 41 struct archive_read * a = (struct archive_read *)_a; in archive_read_extract()
|
H A D | archive_read_support_filter_grzip.c | 63 struct archive_read *a = (struct archive_read *)_a;
|
H A D | archive_read_support_filter_lrzip.c | 62 struct archive_read *a = (struct archive_read *)_a;
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_read_add_passphrase.c | 29 struct archive_read; 30 extern void __archive_read_reset_passphrase(struct archive_read *); 31 extern const char * __archive_read_next_passphrase(struct archive_read *); 61 struct archive_read *ar = (struct archive_read *)a; in DEFINE_TEST() 75 struct archive_read *ar = (struct archive_read *)a; in DEFINE_TEST() 92 struct archive_read *ar = (struct archive_read *)a; in DEFINE_TEST() 120 struct archive_read *a in DEFINE_TEST() [all...] |
H A D | test_archive_read.c | 36 struct archive_read *ar; in DEFINE_TEST() 41 ar = (struct archive_read *)a; in DEFINE_TEST()
|