/freebsd/usr.bin/ar/ |
H A D | ar.1 | 39 .Ar archive 51 .Ar archive 58 .Ar archive 70 .Ar archive 87 .Ar archive 93 .Ar archive 99 .Ar archive 109 .Ar archive 116 .Ar archive ... 121 archive. [all …]
|
/freebsd/contrib/elftoolchain/ar/ |
H A D | ar.1 | 40 .Ar archive 52 .Ar archive 60 .Ar archive 73 .Ar archive 91 .Ar archive 99 .Ar archive 106 .Ar archive 117 .Ar archive 127 archive. 128 Once an archive has been created, new files can be added to it, and [all …]
|
H A D | ar.5 | 31 .Nd archive file format for 48 archive is contained in a single operating system file. 52 archive format: the BSD archive format, and the SVR4/GNU archive 55 In both variants the archive file starts with an identifying byte 66 Archive members follow the initial identifying byte sequence. 67 Each archive member is prefixed by a fixed size header describing the 69 .Ss "Archive Headers" 70 An archive header describes the file attributes for the archive member that 78 Archive headers are placed at an even byte offset in the archive file. 79 If the data for an archive member ends at an odd byte offset, then a [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive.h | 45 * 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 *, 237 typedef la_int64_t archive_seek_callback(struct archive *, [all …]
|
H A D | archive_write_format.3 | 59 Streaming Archive Library (libarchive, -larchive) 61 .In archive.h 63 .Fn archive_write_set_format "struct archive *" "int code" 65 .Fn archive_write_set_format_7zip "struct archive *" 67 .Fn archive_write_set_format_ar "struct archive *" 69 .Fn archive_write_set_format_ar_bsd "struct archive *" 71 .Fn archive_write_set_format_ar_svr4 "struct archive *" 73 .Fn archive_write_set_format_by_name "struct archive *" "const char *name" 75 .Fn archive_write_set_format_cpio "struct archive *" 77 .Fn archive_write_set_format_cpio_bin "struct archive *" [all...] |
H A D | archive_write.c | 31 * actually needs to write an archive. Optional pieces have been, as 57 #include "archive.h" 62 static int _archive_filter_code(struct archive *, int); 63 static const char *_archive_filter_name(struct archive *, int); 64 static int64_t _archive_filter_bytes(struct archive *, int); 65 static int _archive_write_filter_count(struct archive *); 66 static int _archive_write_close(struct archive *); 67 static int _archive_write_free(struct archive *); 68 static int _archive_write_header(struct archive *, struct archive_entry *); 69 static int _archive_write_finish_entry(struct archive *); [all …]
|
H A D | archive_util.3 | 45 Streaming Archive Library (libarchive, -larchive) 47 .In archive.h 49 .Fn archive_clear_error "struct archive *" 51 .Fn archive_compression "struct archive *" 53 .Fn archive_compression_name "struct archive *" 55 .Fn archive_copy_error "struct archive *" "struct archive *" 57 .Fn archive_errno "struct archive *" 59 .Fn archive_error_string "struct archive *" 61 .Fn archive_file_count "struct archive *" [all...] |
H A D | archive_read_disk.3 | 51 Streaming Archive Library (libarchive, -larchive) 53 .In archive.h 54 .Ft struct archive * 57 .Fn archive_read_disk_open "struct archive *" "const char *" 59 .Fn archive_read_disk_open_w "struct archive *" "const wchar_t *" 61 .Fn archive_read_disk_set_behavior "struct archive *" "int" 63 .Fn archive_read_disk_set_symlink_logical "struct archive *" 65 .Fn archive_read_disk_set_symlink_physical "struct archive *" 67 .Fn archive_read_disk_set_symlink_hybrid "struct archive *" 69 .Fn archive_read_disk_gname "struct archive *" "gid_ [all...] |
H A D | archive_read.c | 29 * actually needs to read an archive. Optional pieces have been, as 50 #include "archive.h" 60 static int64_t _archive_filter_bytes(struct archive *, int); 61 static int _archive_filter_code(struct archive *, int); 62 static const char *_archive_filter_name(struct archive *, int); 63 static int _archive_filter_count(struct archive *); 64 static int _archive_read_close(struct archive *); 65 static int _archive_read_data_block(struct archive *, 67 static int _archive_read_free(struct archive *); 68 static int _archive_read_next_header(struct archive *, [all …]
|
H A D | archive_write_filter.3 | 47 Streaming Archive Library (libarchive, -larchive) 49 .In archive.h 51 .Fn archive_write_add_filter_b64encode "struct archive *" 53 .Fn archive_write_add_filter_bzip2 "struct archive *" 55 .Fn archive_write_add_filter_compress "struct archive *" 57 .Fn archive_write_add_filter_grzip "struct archive *" 59 .Fn archive_write_add_filter_gzip "struct archive *" 61 .Fn archive_write_add_filter_lrzip "struct archive *" 63 .Fn archive_write_add_filter_lz4 "struct archive *" 65 .Fn archive_write_add_filter_lzip "struct archive *" [all...] |
H A D | archive_read.3 | 32 Streaming Archive Library (libarchive, -larchive) 34 .In archive.h 38 .Tn struct archive 39 object, set options, initialize the reader, iterate over the archive 40 headers and associated data, then close the archive and release all 43 .Ss Create archive object 47 To read an archive, you must first obtain an initialized 48 .Tn struct archive 83 .Ss Open archive 88 .Tn struct archive [all...] |
H A D | archive_read_filter.3 | 45 Streaming Archive Library (libarchive, -larchive) 47 .In archive.h 49 .Fn archive_read_support_filter_all "struct archive *" 51 .Fn archive_read_support_filter_by_code "struct archive *" "int" 53 .Fn archive_read_support_filter_bzip2 "struct archive *" 55 .Fn archive_read_support_filter_compress "struct archive *" 57 .Fn archive_read_support_filter_grzip "struct archive *" 59 .Fn archive_read_support_filter_gzip "struct archive *" 61 .Fn archive_read_support_filter_lrzip "struct archive *" 63 .Fn archive_read_support_filter_lz4 "struct archive *" [all...] |
H A D | archive_read_format.3 | 47 Streaming Archive Library (libarchive, -larchive) 49 .In archive.h 51 .Fn archive_read_support_format_7zip "struct archive *" 53 .Fn archive_read_support_format_all "struct archive *" 55 .Fn archive_read_support_format_ar "struct archive *" 57 .Fn archive_read_support_format_by_code "struct archive *" "int" 59 .Fn archive_read_support_format_cab "struct archive *" 61 .Fn archive_read_support_format_cpio "struct archive *" 63 .Fn archive_read_support_format_empty "struct archive *" 65 .Fn archive_read_support_format_iso9660 "struct archive *" [all...] |
H A D | archive_virtual.c | 28 #include "archive.h" 33 archive_filter_code(struct archive *a, int n) 39 archive_filter_count(struct archive *a) 45 archive_filter_name(struct archive *a, int n) 51 archive_filter_bytes(struct archive *a, int n) 57 archive_free(struct archive *a) 65 archive_write_close(struct archive *a) 71 archive_read_close(struct archive *a) 77 archive_write_fail(struct archive *a) 84 archive_write_free(struct archive * [all...] |
/freebsd/share/man/man5/ |
H A D | ar.5 | 29 .Nd archive file format for 46 archive is contained in a single operating system file. 50 archive format: the BSD archive format, and the SVR4/GNU archive 53 In both variants the archive file starts with an identifying byte 64 Archive members follow the initial identifying byte sequence. 65 Each archive member is prefixed by a fixed size header describing the 67 .Ss "Archive Headers" 68 An archive header describes the file attributes for the archive member that 76 Archive headers are placed at an even byte offset in the archive file. 77 If the data for an archive member ends at an odd byte offset, then a [all …]
|
/freebsd/usr.bin/clang/llvm-ar/ |
H A D | llvm-ar.1 | 35 \fBllvm\-ar\fP [\-]{dmpqrstx}[abcDilLNoOPsSTuUvV] [relpos] [count] archive [files...] 40 files into a single archive library that can be linked into a program. However, 41 the archive can contain any kind of file. By default, \fBllvm\-ar\fP 43 table needs to be consulted, not each individual file member of the archive. 45 The \fBllvm\-ar\fP command can be used to \fIread\fP archive files in SVR4, GNU, 46 BSD , Big Archive, and Darwin format, and \fIwrite\fP in the GNU, BSD, Big Archive, and 47 Darwin style archive files. If an SVR4 format archive is used with the \fI\%r\fP 49 (quick update) operations, the archive will be reconstructed in the format 103 \fBllvm\-ar\fP specify a single basic Operation to perform on the archive, 104 a variety of Modifiers for that Operation, the name of the archive file, and an [all …]
|
/freebsd/bin/pax/ |
H A D | pax.1 | 43 .Op Fl f Ar archive 70 .Op Fl f Ar archive 110 .Op Fl f Ar archive 178 utility will read, write, and list the members of an archive file, 180 These operations are independent of the specific archive format, 181 and support a wide variety of different archive formats. 182 A list of supported archive formats can be found under the description of the 201 a table of contents of the members of the archive file read from 209 Extract the members of the archive file read from the 213 The archive format and blocking is automatically determined on input. [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | archive.mk | 1 # $NetBSD: archive.mk,v 1.13 2024/04/27 20:23:22 rillig Exp $ 7 # archive handling. That's why it deviates from the tutorial style of 10 ARCHIVE= libprog.a 11 FILES= archive.mk archive-suffix.mk modmisc.mk ternary.mk varmisc.mk 20 @${MAKE} -f ${MAKEFILE} remove-archive 21 @${MAKE} -f ${MAKEFILE} create-archive 22 @${MAKE} -f ${MAKEFILE} list-archive 23 @${MAKE} -f ${MAKEFILE} list-archive-wildcard 26 @${MAKE} -f ${MAKEFILE} remove-archive [all...] |
H A D | archive.exp | 1 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...] |
/freebsd/contrib/libarchive/tar/ |
H A D | bsdtar.1 | 24 .Fl f Ar archive-file 33 creates and manipulates streaming archive files. 50 Create a new archive containing the specified items. 56 but new entries are appended to the archive. 64 List archive contents to stdout. 71 newer than the corresponding entry in the archive. 79 Extract to disk from the archive. 80 If a file with the same name appears more than once in the archive, 93 archive in the order specified on the command line. 97 is read and parsed before the archive is opened. [all …]
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | elf_rand.3 | 31 .Nd provide sequential access to the next archive member 37 .Fn elf_rand "Elf *archive" "off_t offset" 42 .Ar archive 45 will provide access to the archive member at byte offset 47 in the archive. 50 is the byte offset from the start of the archive to the beginning of 51 the archive header for the desired member. 53 Archive member offsets may be retrieved using the 63 To process all the members of an archive use: 66 Elf *archive, *e; [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | archive | 2 # $File: archive,v 1.193 2023/07/27 17:55:58 christos Exp $ 3 # archive: file(1) magic for archive formats (see also "msdos" for self- 37 …member name without digits and without used image suffix and without *.ovf then it is a TAR archive 40 # minimal check and then display tar archive information which can also be 48 >>>156 ubyte 0x4c GNU tar archive 51 >>>156 ubyte 0x4d GNU tar archive 54 >>>156 ubyte 0x56 GNU tar archive 57 >>>156 default x tar archive (V7) 63 >>257 ulong !0 tar archive (old) 70 >>261 ubelong =0x72202000 POSIX tar archive (GNU) [all …]
|
/freebsd/contrib/libarchive/tar/test/ |
H A D | test_option_a.c | 18 /* Test1: archive it with .tar.Z suffix. */ in DEFINE_TEST() 22 /* Check that the archive file has a compress signature. */ in DEFINE_TEST() 25 failure("The archive should be compressed"); in DEFINE_TEST() 29 /* Test2: archive it with .taZ suffix. */ in DEFINE_TEST() 33 /* Check that the archive file has a compress signature. */ in DEFINE_TEST() 36 failure("The archive should be compressed"); in DEFINE_TEST() 40 /* Test3: archive it with .tar.Z.uu suffix. */ in DEFINE_TEST() 44 /* Check that the archive file has a compress signature. */ in DEFINE_TEST() 47 failure("The archive should be uuencoded"); in DEFINE_TEST() 51 /* Test4: archive it with .zip suffix. */ in DEFINE_TEST() [all …]
|
/freebsd/usr.sbin/bsdinstall/distextract/ |
H A D | distextract.c | 32 #include <archive.h> 49 static struct archive *archive = NULL; variable 140 conf.title = "Archive Extraction"; in main() 171 * Returns number of files in archive file. Parses $BSDINSTALL_DISTDIR/MANIFEST 172 * if it exists, otherwise uses archive(3) to read the archive file. 217 * Either no manifest, or manifest didn't mention this archive. in count_files() 218 * Use archive(3) to read the archive, counting files within. in count_files() 221 if ((archive = archive_read_new()) == NULL) { in count_files() 228 archive_read_support_format_all(archive); in count_files() 229 archive_read_support_filter_all(archive); in count_files() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | Archive.cpp | 1 //===- Archive.cpp - ar File Format implementation ------------------------===// 13 #include "llvm/Object/Archive.h" 42 void Archive::anchor() {} in anchor() 45 std::string StringMsg = "truncated or malformed archive (" + Msg.str() + ")"; in malformedError() 53 StringRef Msg("remaining size of archive too small for next archive " in createMemberHeaderParseError() 95 ArchiveMemberHeader::ArchiveMemberHeader(const Archive *Parent, in ArchiveMemberHeader() 115 std::string Msg("terminator characters in archive member \"" + Buf + in ArchiveMemberHeader() 116 "\" not the correct \"`\\n\" values for the archive " in ArchiveMemberHeader() 130 BigArchiveMemberHeader::BigArchiveMemberHeader(const Archive *Parent, in BigArchiveMemberHeader() 141 *Err = malformedError("malformed AIX big archive: remaining buffer is " in BigArchiveMemberHeader() [all …]
|