Home
last modified time | relevance | path

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

/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_set_format_cpio_binary.c447 if (((h.h_mode & AE_IFMT) == AE_IFSOCK) || ((h.h_mode & AE_IFMT) == AE_IFIFO)) { in write_header()
454 if ((h.h_mode & AE_IFMT) == AE_IFLNK) { in write_header()
H A Darchive_read_support_format_xar.c696 if ((file->mode & AE_IFMT) != AE_IFDIR) in xar_read_header()
776 if ((file->mode & AE_IFMT) == AE_IFDIR) in xar_read_header()
2721 (xar->file->mode & ~AE_IFMT) | AE_IFREG; in xml_data()
2724 (xar->file->mode & ~AE_IFMT) | AE_IFDIR; in xml_data()
2727 (xar->file->mode & ~AE_IFMT) | AE_IFLNK; in xml_data()
2730 (xar->file->mode & ~AE_IFMT) | AE_IFCHR; in xml_data()
2733 (xar->file->mode & ~AE_IFMT) | AE_IFBLK; in xml_data()
2736 (xar->file->mode & ~AE_IFMT) | AE_IFSOCK; in xml_data()
2739 (xar->file->mode & ~AE_IFMT) | AE_IFIFO; in xml_data()
2761 (xar->file->mode & AE_IFMT) | in xml_data()
[all …]
H A Darchive_entry.c372 return (AE_IFMT & entry->acl.mode); in archive_entry_filetype()
617 return (~AE_IFMT & entry->acl.mode); in archive_entry_perm()
814 entry->acl.mode &= ~AE_IFMT; in archive_entry_set_filetype()
815 entry->acl.mode |= AE_IFMT & type; in archive_entry_set_filetype()
1207 entry->acl.mode &= AE_IFMT; in archive_entry_set_perm()
1208 entry->acl.mode |= ~AE_IFMT & p; in archive_entry_set_perm()
H A Darchive_read_support_format_zip.c1047 if ((zip_entry->mode & AE_IFMT) == AE_IFIFO) { in zip_read_local_file_header()
1048 zip_entry->mode &= ~ AE_IFMT; in zip_read_local_file_header()
1078 if ((zip_entry->mode & AE_IFMT) != AE_IFDIR) { in zip_read_local_file_header()
1092 zip_entry->mode &= ~AE_IFMT; in zip_read_local_file_header()
1095 } else if ((zip_entry->mode & AE_IFMT) == 0) { in zip_read_local_file_header()
1101 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()
2969 if (AE_IFREG != (zip->entry->mode & AE_IFMT)) in archive_read_format_zip_read_data()
H A Darchive_read_support_format_cpio.c903 if ((archive_entry_mode(entry) & AE_IFMT) == 0) in header_bin_le()
948 if ((archive_entry_mode(entry) & AE_IFMT) == 0) in header_bin_be()
H A Darchive_read_support_format_iso9660.c1328 if ((file->mode & AE_IFMT) != AE_IFDIR && in archive_read_format_iso9660_read_header()
1961 (file->mode & AE_IFMT) == AE_IFLNK) { in parse_file_info()
2285 if (((file->mode & AE_IFMT) == AE_IFREG && in register_CE()
2815 } else if ((file->mode & AE_IFMT) == AE_IFDIR) { in next_cache_entry()
2860 if ((file->mode & AE_IFMT) != AE_IFREG || file->number == -1) in next_cache_entry()
H A Darchive_entry.h184 #define AE_IFMT ((__LA_MODE_T)0170000) macro
H A Darchive_read_support_format_7zip.c732 if ((zip_entry->mode & AE_IFMT) == AE_IFLNK) { in archive_read_format_7zip_read_header()
766 zip_entry->mode &= ~AE_IFMT; in archive_read_format_7zip_read_header()
2631 (entries[i].mode & AE_IFMT) != AE_IFDIR) { in read_Header()
2632 entries[i].mode &= ~AE_IFMT; in read_Header()
2635 if ((entries[i].mode & AE_IFMT) == AE_IFDIR && in read_Header()
H A Darchive_write_disk_posix.c744 (a->mode & AE_IFMT) == AE_IFREG && a->filesize > 0) { in _archive_write_disk_header()
2345 else if ((st.st_mode & AE_IFMT) == AE_IFREG) { in create_filesystem_object()
2396 switch (a->mode & AE_IFMT) { in create_filesystem_object()
4403 (st.st_mode & AE_IFMT) != AE_IFREG) in fixup_appledouble()
H A Darchive_write_set_format_mtree.c2183 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.c1786 if (((rar->mode) & AE_IFMT) == AE_IFLNK) in read_header()