Home
last modified time | relevance | path

Searched refs:typeflag (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_format_tar_empty_pax.c37 build_tar_header(char *p, const char *name, char typeflag, in build_tar_header() argument
51 p[156] = typeflag; in build_tar_header()
64 build_empty_pax_archive(char *buff, char typeflag) in build_empty_pax_archive() argument
68 typeflag == 'g' ? "pax_global_header" : "./PaxHeaders/file", in build_empty_pax_archive()
69 typeflag, 0); in build_empty_pax_archive()
74 assert_empty_pax_rejected(char typeflag, const char *error) in assert_empty_pax_rejected() argument
80 build_empty_pax_archive(archive, typeflag); in assert_empty_pax_rejected()
/freebsd/sys/fs/tarfs/
H A Dtarfs_vfsops.c69 char typeflag[1]; /* Type */ member
223 ptr < (const unsigned char *)hdrp->typeflag; ptr++) in tarfs_checksum()
242 ptr < (const unsigned char *)&hdrp->typeflag; ptr++) in tarfs_checksum()
554 hdrp->typeflag[0], sz, (intmax_t)mtime, mode, uid, gid); in tarfs_alloc_one()
557 if (hdrp->typeflag[0] == TAR_TYPE_GLOBAL_EXTHDR) { in tarfs_alloc_one()
564 if (hdrp->typeflag[0] == TAR_TYPE_EXTHDR) { in tarfs_alloc_one()
668 hdrp->typeflag[0] != TAR_TYPE_FILE) { in tarfs_alloc_one()
700 if (hdrp->typeflag[0] == TAR_TYPE_DIRECTORY) { in tarfs_alloc_one()
709 switch (hdrp->typeflag[0]) { in tarfs_alloc_one()
811 __func__, hdrp->typeflag[0], (int)namelen, name); in tarfs_alloc_one()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_tar.c62 char typeflag[1]; member
89 char typeflag[1]; member
414 if (header->typeflag[0] != 0 && in archive_read_format_tar_bid()
415 !( header->typeflag[0] >= '0' && header->typeflag[0] <= '9') && in archive_read_format_tar_bid()
416 !( header->typeflag[0] >= 'A' && header->typeflag[0] <= 'Z') && in archive_read_format_tar_bid()
417 !( header->typeflag[0] >= 'a' && header->typeflag[0] <= 'z') ) in archive_read_format_tar_bid()
815 switch(header->typeflag[0]) { in tar_read_header()
1426 tar->filetype = header->typeflag[0]; in header_common()
1850 if (header->typeflag[0] == '3' || header->typeflag[0] == '4') { in header_ustar()
3083 if (header->typeflag[0] == '3' || header->typeflag[0] == '4') { in header_gnutar()
/freebsd/bin/pax/
H A Dtar.h135 char typeflag; /* type of file. */ member
/freebsd/lib/libpmc/pmu-events/
H A Djevents.c1210 int typeflag, struct FTW *ftwbuf) in preprocess_arch_std_files() argument
1213 int is_file = typeflag == FTW_F; in preprocess_arch_std_files()
1222 int typeflag, struct FTW *ftwbuf) in process_one_file() argument
1225 int is_dir = typeflag == FTW_D; in process_one_file()
1226 int is_file = typeflag == FTW_F; in process_one_file()