Searched refs:archive (Results 1 - 25 of 1129) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_add_filter_none.c29 #include "archive.h"
32 archive_write_set_compression_none(struct archive *a)
39 archive_write_add_filter_none(struct archive *a)
H A Darchive.h25 * $FreeBSD: src/lib/libarchive/archive.h.in,v 1.50 2008/05/26 17:00:22 kientzle Exp $
47 * Note: archive.h is for use outside of libarchive; the configuration
183 struct archive;
191 #define ARCHIVE_EOF 1 /* Found end of archive. */
197 /* But if write_header is "fatal," then this archive is dead and useless. */
216 * archive. You can provide your own for complex tasks (like breaking
221 /* Returns pointer and size of next block of data from archive. */
222 typedef la_ssize_t archive_read_callback(struct archive *,
225 /* Skips at most request bytes from archive and returns the skipped amount.
230 typedef la_int64_t archive_skip_callback(struct archive *,
[all...]
H A Darchive_read_support_filter_none.c29 #include "archive.h"
35 archive_read_support_compression_none(struct archive *a)
46 archive_read_support_filter_none(struct archive *a)
H A Darchive_options_private.h31 typedef int (*option_handler)(struct archive *a,
35 _archive_set_option(struct archive *a,
40 _archive_set_options(struct archive *a, const char *options,
44 _archive_set_either_option(struct archive *a,
H A Darchive_virtual.c29 #include "archive.h"
34 archive_filter_code(struct archive *a, int n)
40 archive_filter_count(struct archive *a)
46 archive_filter_name(struct archive *a, int n)
52 archive_filter_bytes(struct archive *a, int n)
58 archive_free(struct archive *a)
66 archive_write_close(struct archive *a)
72 archive_read_close(struct archive *a)
78 archive_write_fail(struct archive *a)
85 archive_write_free(struct archive *
[all...]
H A Darchive_private.h39 #include "archive.h"
64 int (*archive_close)(struct archive *);
65 int (*archive_free)(struct archive *);
66 int (*archive_write_header)(struct archive *,
68 int (*archive_write_finish_entry)(struct archive *);
69 ssize_t (*archive_write_data)(struct archive *,
71 ssize_t (*archive_write_data_block)(struct archive *,
74 int (*archive_read_next_header)(struct archive *,
76 int (*archive_read_next_header2)(struct archive *,
78 int (*archive_read_data_block)(struct archive *,
89 struct archive { struct
[all...]
H A Darchive_write.c32 * actually needs to write an archive. Optional pieces have been, as
58 #include "archive.h"
65 static int _archive_filter_code(struct archive *, int);
66 static const char *_archive_filter_name(struct archive *, int);
67 static int64_t _archive_filter_bytes(struct archive *, int);
68 static int _archive_write_filter_count(struct archive *);
69 static int _archive_write_close(struct archive *);
70 static int _archive_write_free(struct archive *);
71 static int _archive_write_header(struct archive *, struct archive_entry *);
72 static int _archive_write_finish_entry(struct archive *);
[all...]
H A Darchive_read_disk_private.h42 struct archive archive; member in struct:archive_read_disk
78 int (*metadata_filter_func)(struct archive *, void *,
83 struct archive *matching;
86 void (*excluded_cb_func)(struct archive *, void *,
H A Darchive_write_open_file.c48 #include "archive.h"
54 static int file_close(struct archive *, void *);
55 static int file_open(struct archive *, void *);
56 static ssize_t file_write(struct archive *, void *, const void *buff, size_t);
59 archive_write_open_FILE(struct archive *a, FILE *f)
74 file_open(struct archive *a, void *client_data)
83 file_write(struct archive *a, void *client_data, const void *buff, size_t length)
102 file_close(struct archive *a, void *client_data)
H A Darchive_read_extract.c33 #include "archive.h"
39 archive_read_extract(struct archive *_a, struct archive_entry *entry, int flags)
52 archive_set_error(&a->archive, ENOMEM, "Can't extract");
59 return (archive_read_extract2(&a->archive, entry, extract->ad));
/netbsd-current/external/gpl3/binutils/dist/binutils/
H A Dbfdtest1.c34 bfd *archive; local
38 die ("usage: bfdtest1 <archive>");
40 archive = bfd_openr (argv[1], NULL);
41 if (archive == NULL)
42 die ("no such archive");
44 if (!bfd_check_format (archive, bfd_archive))
46 bfd_close (archive);
50 for (last = bfd_openr_next_archived_file (archive, NULL);
54 next = bfd_openr_next_archived_file (archive, last);
58 for (last = bfd_openr_next_archived_file (archive, NUL
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/binutils/
H A Dbfdtest1.c34 bfd *archive; local
38 die ("usage: bfdtest1 <archive>");
40 archive = bfd_openr (argv[1], NULL);
41 if (archive == NULL)
42 die ("no such archive");
44 if (!bfd_check_format (archive, bfd_archive))
46 bfd_close (archive);
50 for (last = bfd_openr_next_archived_file (archive, NULL);
54 next = bfd_openr_next_archived_file (archive, last);
58 for (last = bfd_openr_next_archived_file (archive, NUL
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/binutils/
H A Dbfdtest1.c34 bfd *archive; local
38 die ("usage: bfdtest1 <archive>");
40 archive = bfd_openr (argv[1], NULL);
41 if (archive == NULL)
42 die ("no such archive");
44 if (!bfd_check_format (archive, bfd_archive))
46 bfd_close (archive);
50 for (last = bfd_openr_next_archived_file (archive, NULL);
54 next = bfd_openr_next_archived_file (archive, last);
58 for (last = bfd_openr_next_archived_file (archive, NUL
[all...]
/netbsd-current/external/gpl3/gdb/dist/libctf/testsuite/libctf-regression/
H A Dlibctf-repeat-cu.d2 CTF archive member: .*/libctf-repeat-cu-lib.c:
4 CTF archive member: .*/libctf-repeat-cu-lib.c#0:
6 CTF archive member: .*/libctf-repeat-cu-lib.c#1:
/netbsd-current/usr.bin/make/unit-tests/
H A Darchive.exp1 Making remove-archive
4 Making libprog.a out-of-date archive.mk modmisc.mk varmisc.mk
5 ar cru libprog.a archive.mk modmisc.mk varmisc.mk
8 Making create-archive out-of-date libprog.a
10 Making list-archive out-of-date libprog.a
12 archive.mk
16 Making list-archive-wildcard out-of-date archive-suffix.mk archive.mk ternary.mk
17 list-archive
[all...]
/netbsd-current/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_read_format_tbz.c28 static unsigned char archive[] = { variable
39 struct archive *a;
51 archive_read_open_memory(a, archive, sizeof(archive)));
H A Dtest_read_format_cpio_odc.c28 static unsigned char archive[] = { variable
52 struct archive *a;
56 assertA(0 == archive_read_open_memory(a, archive, sizeof(archive)));
H A Dtest.h32 #define EXTRA_DUMP(x) archive_error_string((struct archive *)(x))
33 #define EXTRA_ERRNO(x) archive_errno((struct archive *)(x))
H A Dtest_read_filter_program_signature.c29 static unsigned char archive[] = { variable
35 #define signature archive
36 #define badsignature (&archive[1])
43 struct archive *a;
60 archive_read_open_memory(a, archive, sizeof(archive)));
80 archive_read_open_memory(a, archive, sizeof(archive)));
100 archive_read_open_memory(a, archive, sizeof(archive)));
[all...]
H A Dtest_read_format_empty.c28 static unsigned char archive[] = { 0 }; variable
33 struct archive *a;
37 assertA(0 == archive_read_open_memory(a, archive, 0));
H A Dtest_read_format_cpio_bin_lzip.c29 static unsigned char archive[] = { variable
41 struct archive *a;
54 archive_read_open_memory(a, archive, sizeof(archive)));
H A Dtest_read_format_cpio_svr4c_Z.c28 static unsigned char archive[] = { variable
39 struct archive *a;
40 /* printf("Archive address: start=%X, end=%X\n", archive, archive+sizeof(archive)); */
47 archive_read_open_memory(a, archive, sizeof(archive)));
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/misc/
H A DMakefile.am31 EXTRA_DIST += add-to-archive cvsuser.c archive.tar.gz
34 gettextsrc_DATA = archive.tar.gz
36 # The archive.tar.gz is not in the CVS. Alpha-testers must use the one from an
38 archive.tar.gz:
39 cp -p $(gettextsrcdir)/archive.tar.gz $@
/netbsd-current/distrib/x68k/stand/
H A DMakefile17 .for archive in ${ARCHIVES}
18 CLEANFILES+= ${MEMBER_${archive}}
22 .for archive in ${UUDECODE_FILES}
23 ${TOOL_PAX} ${PAX_TIMESTAMP} -O -zrvpp -f ${archive}
27 .for archive in ${ARCHIVES}
28 ${RELEASE_INSTALL} ${MEMBER_${archive}} \
/netbsd-current/external/bsd/pkg_install/dist/create/
H A Dbuild.c82 #include <archive.h>
98 write_meta_file(struct memory_file *file, struct archive *archive) argument
109 if (archive_write_header(archive, entry))
110 errx(2, "cannot write to archive: %s", archive_error_string(archive));
112 archive_write_data(archive, file->data, file->len);
118 write_entry(struct archive *archive, struct archive_entry *entry) argument
131 if (archive_write_header(archive, entr
169 write_normal_file(const char *name, struct archive *archive, struct archive_entry_linkresolver *resolver, const char *owner, const char *group) argument
229 struct archive *archive; local
[all...]

Completed in 199 milliseconds

1234567891011>>