Searched refs:archive_read (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_support_format_empty.c33 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;
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 Darchive_read_private.h39 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 { struct
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 *);
[all...]
H A Darchive_read_support_format_raw.c46 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;
96 archive_read_format_raw_bid(struct archive_read *a, int best_bid)
107 archive_read_format_raw_read_header(struct archive_read *a,
128 archive_read_format_raw_read_data(struct archive_read *
[all...]
H A Darchive_read_extract2.c44 static int archive_read_extract_cleanup(struct archive_read *);
51 __archive_read_get_extract(struct archive_read *a)
68 archive_read_extract_cleanup(struct archive_read *a)
84 struct archive_read *a = (struct archive_read *)_a;
116 struct archive_read *a = (struct archive_read *)_a;
133 extract = __archive_read_get_extract((struct archive_read *)ar);
H A Darchive_read_extract.c41 struct archive_read * a = (struct archive_read *)_a;
H A Darchive_read_add_passphrase.c34 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;
113 struct archive_read *a = (struct archive_read *)_a;
128 __archive_read_reset_passphrase(struct archive_read *a)
138 __archive_read_next_passphrase(struct archive_read *
[all...]
H A Darchive_read.c57 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;
95 a = (struct archive_read *)calloc(1, sizeof(*a));
116 struct archive_read *a = (struct archive_read *)_a;
238 read_client_close_proxy(struct archive_read *a)
305 struct archive_read *a = (struct archive_read *)_
[all...]
H A Darchive_read_support_format_ar.c83 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;
135 archive_read_format_ar_cleanup(struct archive_read *a)
147 archive_read_format_ar_bid(struct archive_read *
[all...]
H A Darchive_read_support_filter_lrzip.c62 struct archive_read *a = (struct archive_read *)_a;
H A Darchive_read_support_filter_grzip.c63 struct archive_read *a = (struct archive_read *)_a;
H A Darchive_read_set_format.c41 struct archive_read *a = (struct archive_read *)_a;
H A Darchive_read_support_format_cpio.c176 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 *, struc
[all...]
H A Darchive_read_support_format_tar.c162 static int gnu_add_sparse_entry(struct archive_read *, struct tar *,
166 static int gnu_sparse_old_read(struct archive_read *, struct tar *,
168 static int gnu_sparse_old_parse(struct archive_read *, struct tar *,
170 static int gnu_sparse_01_parse(struct archive_read *, struct tar *,
172 static ssize_t gnu_sparse_10_read(struct archive_read *, struct tar *,
174 static int header_Solaris_ACL(struct archive_read *, struct tar *,
176 static int header_common(struct archive_read *, struct tar *,
178 static int header_old_tar(struct archive_read *, struct tar *,
180 static int header_pax_extensions(struct archive_read *, struct tar *,
182 static int header_pax_global(struct archive_read *, struc
[all...]
H A Darchive_read_append_filter.c43 struct archive_read *a = (struct archive_read *)_a;
161 struct archive_read *a = (struct archive_read *)_a;
H A Darchive_read_set_options.c77 struct archive_read *a = (struct archive_read *)_a;
H A Darchive_read_support_format_warc.c122 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;
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 Darchive_read_support_format_mtree.c121 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 Darchive_read_support_format_rar5.c360 static int verify_global_checksums(struct archive_read* a);
361 static int rar5_read_data_skip(struct archive_read *a);
362 static int push_data_ready(struct archive_read* a, struct rar5* rar,
503 static inline struct rar5* get_context(struct archive_read* a) {
651 static int run_filter(struct archive_read* a, struct filter_info* flt) {
709 static void push_data(struct archive_read* a, struct rar5* rar,
753 static void push_window_data(struct archive_read* a, struct rar5* rar,
759 static int apply_filters(struct archive_read* a) {
877 struct archive_read** ar)
879 *ar = (struct archive_read*)
[all...]
H A Darchive_read_support_format_7zip.c375 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_
[all...]
H A Darchive_read_support_format_rar.c397 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 *, struc
[all...]
H A Darchive_read_support_format_xar.c73 struct archive_read *a = (struct archive_read *)_a;
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 *, cons
[all...]
H A Darchive_read_support_format_cab.c306 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_
[all...]
H A Darchive_read_support_filter_xz.c118 struct archive_read *a = (struct archive_read *)_a;
150 struct archive_read *a = (struct archive_read *)_a;
183 struct archive_read *a = (struct archive_read *)_a;
H A Darchive_read_support_filter_zstd.c89 struct archive_read *a = (struct archive_read *)_a;
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_archive_read_add_passphrase.c29 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;
75 struct archive_read *ar = (struct archive_read *)a;
92 struct archive_read *ar = (struct archive_read *)a;
120 struct archive_read *a
[all...]

Completed in 281 milliseconds

12