Home
last modified time | relevance | path

Searched refs:cpio (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-11-stable/contrib/libarchive/cpio/
HDcpio.c107 static int entry_to_archive(struct cpio *, struct archive_entry *);
108 static int file_to_archive(struct cpio *, const char *);
110 static void list_item_verbose(struct cpio *, struct archive_entry *);
112 static const char *lookup_gname(struct cpio *, gid_t gid);
113 static int lookup_gname_helper(struct cpio *,
115 static const char *lookup_uname(struct cpio *, uid_t uid);
116 static int lookup_uname_helper(struct cpio *,
118 static void mode_in(struct cpio *) __LA_DEAD;
119 static void mode_list(struct cpio *) __LA_DEAD;
120 static void mode_out(struct cpio *);
[all …]
HDcmdline.c112 cpio_getopt(struct cpio *cpio) in cpio_getopt() argument
124 cpio->argument = NULL; in cpio_getopt()
129 ++cpio->argv; in cpio_getopt()
130 --cpio->argc; in cpio_getopt()
139 if (cpio->argv[0] == NULL) in cpio_getopt()
142 if (cpio->argv[0][0] != '-') in cpio_getopt()
145 if (strcmp(cpio->argv[0], "--") == 0) { in cpio_getopt()
146 ++cpio->argv; in cpio_getopt()
147 --cpio->argc; in cpio_getopt()
151 opt_word = *cpio->argv++; in cpio_getopt()
[all …]
HDcpio.h42 struct cpio { struct
120 int cpio_getopt(struct cpio *cpio);
/freebsd-11-stable/contrib/libarchive/libarchive/
HDarchive_read_support_format_cpio.c175 struct cpio { struct
177 int (*read_header)(struct archive_read *, struct cpio *, argument
206 static int header_bin_be(struct archive_read *, struct cpio *, argument
208 static int header_bin_le(struct archive_read *, struct cpio *,
210 static int header_newc(struct archive_read *, struct cpio *,
212 static int header_odc(struct archive_read *, struct cpio *,
214 static int header_afiol(struct archive_read *, struct cpio *,
220 struct cpio *cpio, struct archive_entry *entry);
226 struct cpio *cpio; in archive_read_support_format_cpio() local
232 cpio = (struct cpio *)calloc(1, sizeof(*cpio)); in archive_read_support_format_cpio()
[all …]
HDarchive_write_set_format_cpio_odc.c61 struct cpio { struct
105 struct cpio *cpio; in archive_write_set_format_cpio_odc() local
114 cpio = (struct cpio *)calloc(1, sizeof(*cpio)); in archive_write_set_format_cpio_odc()
115 if (cpio == NULL) { in archive_write_set_format_cpio_odc()
119 a->format_data = cpio; in archive_write_set_format_cpio_odc()
136 struct cpio *cpio = (struct cpio *)a->format_data; in archive_write_odc_options() local
145 cpio->opt_sconv = archive_string_conversion_to_charset( in archive_write_odc_options()
147 if (cpio->opt_sconv != NULL) in archive_write_odc_options()
176 synthesize_ino_value(struct cpio *cpio, struct archive_entry *entry) in synthesize_ino_value() argument
193 return (int)(++cpio->ino_next); in synthesize_ino_value()
[all …]
HDarchive_write_set_format_cpio_binary.c59 struct cpio { struct
174 struct cpio *cpio; in archive_write_set_format_cpio_binary() local
189 cpio = (struct cpio *)calloc(1, sizeof(*cpio)); in archive_write_set_format_cpio_binary()
190 if (cpio == NULL) { in archive_write_set_format_cpio_binary()
194 a->format_data = cpio; in archive_write_set_format_cpio_binary()
239 struct cpio *cpio = (struct cpio *)a->format_data; in archive_write_binary_options() local
248 cpio->opt_sconv = archive_string_conversion_to_charset( in archive_write_binary_options()
250 if (cpio->opt_sconv != NULL) in archive_write_binary_options()
279 synthesize_ino_value(struct cpio *cpio, struct archive_entry *entry) in synthesize_ino_value() argument
296 return (int)(++cpio->ino_next); in synthesize_ino_value()
[all …]
HDarchive_write_set_format_cpio_newc.c62 struct cpio { struct
111 struct cpio *cpio; in archive_write_set_format_cpio_newc() local
120 cpio = (struct cpio *)calloc(1, sizeof(*cpio)); in archive_write_set_format_cpio_newc()
121 if (cpio == NULL) { in archive_write_set_format_cpio_newc()
125 a->format_data = cpio; in archive_write_set_format_cpio_newc()
142 struct cpio *cpio = (struct cpio *)a->format_data; in archive_write_newc_options() local
151 cpio->opt_sconv = archive_string_conversion_to_charset( in archive_write_newc_options()
153 if (cpio->opt_sconv != NULL) in archive_write_newc_options()
170 struct cpio *cpio; in get_sconv() local
173 cpio = (struct cpio *)a->format_data; in get_sconv()
[all …]
/freebsd-11-stable/contrib/libarchive/
HDFREEBSD-Xlist15 cpio/CMakeLists.txt
16 cpio/cpio_windows.c
17 cpio/cpio_windows.h
18 cpio/config_freebsd.h
19 cpio/test/CMakeLists.txt
HDREADME.md5 also includes implementations of the common `tar`, `cpio`, and `zcat`
24 * **cpio**: the 'bsdcpio' program is a different interface to essentially the same functionality
61 * cpio.5, mtree.5, and tar.5 provide detailed information about these
63 modern cpio and tar variants.
81 * POSIX octet-oriented cpio
82 * SVR4 ASCII cpio
83 * Binary cpio (big-endian or little-endian)
84 * PWB binary cpio
116 * POSIX octet-oriented cpio
117 * SVR4 "newc" cpio
[all …]
HDNEWS223 Jan 31, 2010: Support cpio -V
226 Jan 17, 2010: Fix error handling for 'echo nonexistent | cpio -o'
322 Jun 19, 2008: bsdcpio: additional long options for better GNU cpio compat
379 ustar, and old cpio archives. Just a little more testing before
405 Jan 22, 2008: Fix bad padding when writing symlinks to newc cpio archives.
406 Jan 22, 2008: Verify bsdcpio_test by getting it to work against GNU cpio 2.9.
413 hardlinks extracted from newc cpio files. (Which store the body
438 Dec 04, 2007: Fix cpio/test/test_write_odc by setting the umask first.
474 Oct 20, 2007: Initial work on new pattern-matching code for cpio; I
479 Oct 05, 2007: New cpio.5 manpage, updates to "History" of bsdcpio.1 and
[all …]
/freebsd-11-stable/contrib/gcc/
HDconfig.build56 # a broken tar, so we use cpio instead.
57 build_install_headers_dir=install-headers-cpio
70 build_install_headers_dir=install-headers-cpio
90 build_install_headers_dir=install-headers-cpio
93 build_install_headers_dir=install-headers-cpio
97 build_install_headers_dir=install-headers-cpio
101 build_install_headers_dir=install-headers-cpio
111 build_install_headers_dir=install-headers-cpio
115 build_install_headers_dir=install-headers-cpio
/freebsd-11-stable/usr.bin/cpio/
HDMakefile12 .PATH: ${_LIBARCHIVEDIR}/cpio
13 SRCS= cpio.c cmdline.c
/freebsd-11-stable/etc/
HDrc.initdiskless365 if [ -d $j -a ! -f $j.cpio.gz ]; then
370 for j in /conf/$i/*.cpio.gz ; do
371 subdir=${j%*.cpio.gz}
/freebsd-11-stable/lib/libarchive/tests/
HDMakefile344 ${PACKAGE}FILES+= test_compat_cpio_1.cpio.uu
463 ${PACKAGE}FILES+= test_read_format_cpio_bin_be.cpio.uu
464 ${PACKAGE}FILES+= test_read_format_cpio_bin_le.cpio.uu
465 ${PACKAGE}FILES+= test_read_format_cpio_filename_cp866.cpio.uu
466 ${PACKAGE}FILES+= test_read_format_cpio_filename_eucjp.cpio.uu
467 ${PACKAGE}FILES+= test_read_format_cpio_filename_koi8r.cpio.uu
468 ${PACKAGE}FILES+= test_read_format_cpio_filename_utf8_jp.cpio.uu
469 ${PACKAGE}FILES+= test_read_format_cpio_filename_utf8_ru.cpio.uu
658 ${PACKAGE}FILES+= test_write_disk_appledouble.cpio.gz.uu
/freebsd-11-stable/tools/tools/nanobsd/
HDdefaults.sh549 find . -print | cpio -dumpl ../../../etc/local
562 find $d -print | cpio -dumpl conf/base/
641 find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio -dumpv ${mnt}
916 find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio -Ldumpv ${NANO_WORLDDIR}
/freebsd-11-stable/usr.bin/cpio/tests/
HDfunctional_test.sh31 export BSDCPIO=$(which cpio)
/freebsd-11-stable/bin/pax/
HDMakefile32 SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \
/freebsd-11-stable/usr.sbin/crunch/examples/
HDfilesystem.conf23 progs cpio gzip
HDfixit.conf38 progs cpio gzip
/freebsd-11-stable/tools/bsdbox/
HDMakefile.base20 CRUNCH_PROGS_usr.bin+= cpio
/freebsd-11-stable/tools/tools/sysbuild/
HDsysbuild.sh516 (cd / ; find var/db/ports -print | cpio -dumpv ${SBMNT} > /dev/null 2>&1)
635 find ${CONFIGFILES} -print | cpio -dumpv root/configfiles_dist
639 (cd / && find ${CONFIGFILES} -print | cpio -dumpv ${SBMNT})
/freebsd-11-stable/tools/tools/nanobsd/pcengines/
HDcommon.conf42 find . -print | grep -Ev '/(CVS|\.svn)' | cpio -dumpv ${NANO_WORLDDIR}
/freebsd-11-stable/usr.sbin/crunch/
HDREADME38 ftp rsh sed telnet rlogin vi cpio gzip gunzip gzcat
40 Note carefully: vi, cpio, gzip, ed, sed, dump/restore, some networking
/freebsd-11-stable/tools/tools/cd2dvd/
HDcd2dvd.sh118 (cd "${_mnt}" && find . ${_exclude} | cpio -p -d -m -V --quiet "${_dst}") || exit 1
/freebsd-11-stable/tools/tools/tinybsd/
HDtinybsd454 cd ${WORKDIR} && find . -print | sed '/kernel/ d' | cpio -dump ${IMGMNT} || true
474 ( cd ${WORKDIR} && find . -print | cpio -dump ${IMGMNT} ) || true

123