Home
last modified time | relevance | path

Searched refs:AE_IFMT (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_mtree.c100 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
103 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
143 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
151 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
188 if ((entries2[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub2()
191 if ((entries2[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub2()
233 if (dironly && (entries2[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub2()
242 if ((entries2[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub2()
H A Dtest_write_format_mtree_classic.c140 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
143 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
167 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
180 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
H A Dtest_write_format_mtree_classic_indent.c142 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
145 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
169 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
182 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_cpio_binary.c446 if (((h.h_mode & AE_IFMT) == AE_IFSOCK) || ((h.h_mode & AE_IFMT) == AE_IFIFO)) { in write_header()
453 if ((h.h_mode & AE_IFMT) == AE_IFLNK) { in write_header()
H A Darchive_read_support_format_xar.c697 if ((file->mode & AE_IFMT) != AE_IFDIR) in xar_read_header()
777 if ((file->mode & AE_IFMT) == AE_IFDIR) in xar_read_header()
2730 (xar->file->mode & ~AE_IFMT) | AE_IFREG; in xml_data()
2733 (xar->file->mode & ~AE_IFMT) | AE_IFDIR; in xml_data()
2736 (xar->file->mode & ~AE_IFMT) | AE_IFLNK; in xml_data()
2739 (xar->file->mode & ~AE_IFMT) | AE_IFCHR; in xml_data()
2742 (xar->file->mode & ~AE_IFMT) | AE_IFBLK; in xml_data()
2745 (xar->file->mode & ~AE_IFMT) | AE_IFSOCK; in xml_data()
2748 (xar->file->mode & ~AE_IFMT) | AE_IFIFO; in xml_data()
2770 (xar->file->mode & AE_IFMT) | in xml_data()
[all …]
H A Darchive_entry.c371 return (AE_IFMT & entry->acl.mode); in archive_entry_filetype()
642 return (~AE_IFMT & entry->acl.mode); in archive_entry_perm()
851 entry->acl.mode &= ~AE_IFMT; in archive_entry_set_filetype()
852 entry->acl.mode |= AE_IFMT & type; in archive_entry_set_filetype()
1247 entry->acl.mode &= AE_IFMT; in archive_entry_set_perm()
1248 entry->acl.mode |= ~AE_IFMT & p; in archive_entry_set_perm()
H A Darchive_read_support_format_zip.c1046 if ((zip_entry->mode & AE_IFMT) == AE_IFIFO) { in zip_read_local_file_header()
1047 zip_entry->mode &= ~ AE_IFMT; in zip_read_local_file_header()
1077 if ((zip_entry->mode & AE_IFMT) != AE_IFDIR) { in zip_read_local_file_header()
1091 zip_entry->mode &= ~AE_IFMT; in zip_read_local_file_header()
1094 } else if ((zip_entry->mode & AE_IFMT) == 0) { in zip_read_local_file_header()
1100 if ((zip_entry->mode & AE_IFMT) == AE_IFDIR) { in zip_read_local_file_header()
1180 if ((zip->entry->mode & AE_IFMT) == AE_IFLNK) { in zip_read_local_file_header()
3117 if (AE_IFREG != (zip->entry->mode & AE_IFMT)) in archive_read_format_zip_read_data()
H A Darchive_read_support_format_cpio.c902 if ((archive_entry_mode(entry) & AE_IFMT) == 0) in header_bin_le()
947 if ((archive_entry_mode(entry) & AE_IFMT) == 0) in header_bin_be()
H A Darchive_entry.h184 #define AE_IFMT ((__LA_MODE_T)0170000) macro
H A Darchive_read_support_format_iso9660.c1327 if ((file->mode & AE_IFMT) != AE_IFDIR && in archive_read_format_iso9660_read_header()
1960 (file->mode & AE_IFMT) == AE_IFLNK) { in parse_file_info()
2284 if (((file->mode & AE_IFMT) == AE_IFREG && in register_CE()
2814 } else if ((file->mode & AE_IFMT) == AE_IFDIR) { in next_cache_entry()
2859 if ((file->mode & AE_IFMT) != AE_IFREG || file->number == -1) in next_cache_entry()
H A Darchive_write_disk_posix.c749 (a->mode & AE_IFMT) == AE_IFREG && a->filesize > 0) { in _archive_write_disk_header()
2363 else if ((st.st_mode & AE_IFMT) == AE_IFREG) { in create_filesystem_object()
2414 switch (a->mode & AE_IFMT) { in create_filesystem_object()
4430 (((st.st_mode & AE_IFMT) != AE_IFREG) && in fixup_appledouble()
4431 ((st.st_mode & AE_IFMT) != AE_IFDIR))) in fixup_appledouble()
H A Darchive_read_support_format_7zip.c800 if ((zip_entry->mode & AE_IFMT) == AE_IFLNK) { in archive_read_format_7zip_read_header()
834 zip_entry->mode &= ~AE_IFMT; in archive_read_format_7zip_read_header()
2774 (entries[i].mode & AE_IFMT) != AE_IFDIR) { in read_Header()
2775 entries[i].mode &= ~AE_IFMT; in read_Header()
2778 if ((entries[i].mode & AE_IFMT) == AE_IFDIR && in read_Header()
H A Darchive_write_set_format_mtree.c2182 if ((np->mode & AE_IFMT) != (file->mode & AE_IFMT)) { in mtree_entry_exchange_same_entry()
H A Darchive_read_support_format_lha.c653 if ((lha->mode & AE_IFMT) == AE_IFLNK) { in archive_read_format_lha_read_header()
671 lha->mode = (lha->mode & ~AE_IFMT) | in archive_read_format_lha_read_header()
H A Darchive_read_support_format_rar.c1792 if (((rar->mode) & AE_IFMT) == AE_IFLNK) in read_header()