Searched refs:archive (Results 101 - 125 of 442) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/libarchive/libarchive/
H A Darchive_read_open_file.c51 #include "archive.h"
60 static int file_close(struct archive *, void *);
61 static ssize_t file_read(struct archive *, void *, const void **buff);
62 static int64_t file_skip(struct archive *, void *, int64_t request);
65 archive_read_open_FILE(struct archive *a, FILE *f)
109 file_read(struct archive *a, void *client_data, const void **buff)
123 file_skip(struct archive *a, void *client_data, int64_t request)
172 file_close(struct archive *a, void *client_data)
H A Darchive_match.c40 #include "archive.h"
91 struct archive archive; member in struct:archive_match
186 static int validate_time_flag(struct archive *, int, const char *);
208 archive_set_error(&(a->archive), ENOMEM, "No memory");
209 a->archive.state = ARCHIVE_STATE_FATAL;
216 struct archive *
224 a->archive.magic = ARCHIVE_MATCH_MAGIC;
225 a->archive.state = ARCHIVE_STATE_NEW;
233 return (&(a->archive));
[all...]
H A Darchive_write_set_format_cpio.c41 #include "archive.h"
101 archive_write_set_format_cpio(struct archive *_a)
115 archive_set_error(&a->archive, ENOMEM, "Can't allocate cpio data");
126 a->archive.archive_format = ARCHIVE_FORMAT_CPIO_POSIX;
127 a->archive.archive_format_name = "POSIX cpio";
140 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,
145 &a->archive, val, 0);
164 * would corrupt the archive. Instead, we generate synthetic ino values
165 * to store in the archive and maintain a map of original ino values to
183 * particular, this handles the end-of-archive marke
[all...]
H A Darchive_write_set_format_cpio_newc.c42 #include "archive.h"
107 archive_write_set_format_cpio_newc(struct archive *_a)
121 archive_set_error(&a->archive, ENOMEM, "Can't allocate cpio data");
133 a->archive.archive_format = ARCHIVE_FORMAT_CPIO_SVR4_NOCRC;
134 a->archive.archive_format_name = "SVR4 cpio nocrc";
147 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,
152 &a->archive, val, 0);
179 &(a->archive));
194 archive_set_error(&a->archive, -1, "Filetype required");
200 archive_set_error(&a->archive, ENOME
[all...]
H A Darchive_read_disk_posix.c96 #include "archive.h"
354 static int _archive_read_disk_open(struct archive *, const char *);
355 static int _archive_read_free(struct archive *);
356 static int _archive_read_close(struct archive *);
357 static int _archive_read_data_block(struct archive *,
359 static int _archive_read_next_header(struct archive *,
361 static int _archive_read_next_header2(struct archive *,
390 archive_read_disk_gname(struct archive *_a, int64_t gid)
402 archive_read_disk_uname(struct archive *_a, int64_t uid)
414 archive_read_disk_set_gname_lookup(struct archive *_
[all...]
H A Darchive_read_add_passphrase.c69 archive_set_error(&a->archive, ENOMEM,
76 archive_set_error(&a->archive, ENOMEM,
84 archive_read_add_passphrase(struct archive *_a, const char *passphrase)
93 archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,
107 archive_read_set_passphrase_callback(struct archive *_a, void *client_data,
173 passphrase = a->passphrases.callback(&a->archive,
H A Darchive_read_support_format_by_code.c29 #include "archive.h"
33 archive_read_support_format_by_code(struct archive *a, int format_code)
H A Darchive_read_support_format_raw.c36 #include "archive.h"
56 archive_read_support_format_raw(struct archive *_a)
67 archive_set_error(&a->archive, ENOMEM,
117 a->archive.archive_format = ARCHIVE_FORMAT_RAW;
118 a->archive.archive_format_name = "raw";
/freebsd-11.0-release/contrib/libarchive/cpio/
H A Dcpio.c32 #include <archive.h>
104 static int extract_data(struct archive *, struct archive *);
127 static const char * passphrase_callback(struct archive *, void *);
443 fprintf(stderr, " List: %s -it < archive\n", p);
444 fprintf(stderr, " Extract: %s -i < archive\n", p);
445 fprintf(stderr, " Create: %s -o < filenames > archive\n", p);
455 "Create: %p -o [options] < [list of files] > [archive]\n"
456 " -J,-y,-z,--lzma Compress archive with xz/bzip2/gzip/lzma\n"
457 " --format {odc|newc|ustar} Select archive forma
[all...]
/freebsd-11.0-release/contrib/libarchive/libarchive/test/
H A Dtest_archive_read_next_header_empty.c32 struct archive* a = archive_read_new();
49 struct archive* a = archive_read_new();
72 struct archive* a = archive_read_new();
H A Dtest_read_filter_compress.c30 struct archive *a;
46 struct archive *a;
70 struct archive *a;
H A Dtest_archive_read_close_twice_open_fd.c31 struct archive* a = archive_read_new();
H A Dtest_archive_read_close_twice_open_filename.c31 struct archive* a = archive_read_new();
H A Dtest_archive_read_set_filter_option.c35 struct archive* a = archive_read_new();
H A Dtest_archive_write_set_filter_option.c35 struct archive* a = archive_write_new();
H A Dtest_compat_uudecode.c49 struct archive *a;
H A Dtest_read_format_cpio_bin_xz.c29 static unsigned char archive[] = { variable
50 struct archive *a;
63 archive_read_open_memory(a, archive, sizeof(archive)));
H A Dtest_read_format_gtar_lzma.c28 static unsigned char archive[] = { variable
45 struct archive *a;
59 r = archive_read_open_memory2(a, archive, sizeof(archive), 3);
H A Dtest_read_format_rar_invalid1.c31 struct archive *a;
H A Dtest_read_format_zip_zip64.c34 verify_file0_seek(struct archive *a)
55 verify_file0_stream(struct archive *a, int size_known)
86 struct archive *a;
110 struct archive *a;
H A Dtest_write_format_cpio_empty.c29 * Check that an "empty" cpio archive is correctly created.
32 /* Here's what an empty cpio archive should look like. */
49 struct archive *a;
53 /* Create a new archive in memory. */
63 /* Close out the archive. */
67 failure("Empty cpio archive should be exactly 87 bytes, was %d.", used);
69 failure("Empty cpio archive is incorrectly formatted.");
H A Dtest_write_format_shar_empty.c29 * Check that an "empty" shar archive is correctly created as an empty file.
34 struct archive *a;
38 /* Create a new archive in memory. */
48 /* Close out the archive. */
52 failure("Empty shar archive should be exactly 0 bytes, was %d.", used);
/freebsd-11.0-release/lib/libpam/static_libpam/
H A DMakefile67 ${LD} -o ${.TARGET} -r --whole-archive ${.ALLSRC}
/freebsd-11.0-release/usr.bin/ar/
H A DMakefile8 LIBADD= archive elf
/freebsd-11.0-release/usr.bin/tar/
H A DMakefile23 LIBADD= archive

Completed in 192 milliseconds

1234567891011>>