Home
last modified time | relevance | path

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

/dragonfly/contrib/libarchive/libarchive/
H A Darchive_entry_strmode.c56 case AE_IFDIR: bp[0] = 'd'; break; in archive_entry_strmode()
H A Darchive_write_set_format.c93 case AE_IFDIR: in __archive_write_entry_filetype_unsupported()
H A Darchive_write_set_format_shar.c182 case AE_IFDIR: in archive_write_shar_header()
210 if (archive_entry_filetype(entry) != AE_IFDIR) { in archive_write_shar_header()
287 case AE_IFDIR: in archive_write_shar_header()
H A Darchive_write_set_format_mtree.c499 mtree->set.type = AE_IFDIR; in write_global()
758 case AE_IFDIR: in get_global_set_keys()
760 mtree->set.type == AE_IFDIR) in get_global_set_keys()
822 if (me->filetype == AE_IFDIR) { in mtree_entry_new()
884 if (mtree->dironly && archive_entry_filetype(entry) != AE_IFDIR) in archive_write_mtree_header()
949 me->nlink != 1 && me->filetype != AE_IFDIR) in write_mtree_entry()
1021 case AE_IFDIR: in write_mtree_entry()
1892 archive_entry_set_mode(entry, AE_IFDIR | 0755); in mtree_entry_create_virtual_dir()
H A Darchive_write_set_format_v7tar.c249 if (AE_IFDIR == archive_entry_filetype(entry)) { in archive_write_v7tar_header()
490 case AE_IFREG: case AE_IFDIR: in format_header_v7tar()
H A Darchive_write_set_format_ustar.c271 if (AE_IFDIR == archive_entry_filetype(entry)) { in archive_write_ustar_header()
615 case AE_IFDIR: h[USTAR_typeflag_offset] = '5' ; break; in __archive_write_format_header_ustar()
H A Darchive_write_set_format_gnutar.c304 if (AE_IFDIR == archive_entry_filetype(entry)) { in archive_write_gnutar_header()
536 case AE_IFDIR: tartype = '5' ; break; in archive_write_gnutar_header()
H A Darchive_write_set_format_zip.c529 if (type != AE_IFREG && type != AE_IFDIR && type != AE_IFLNK) { in archive_write_zip_header()
1441 if (type == AE_IFDIR && (path[0] == '\0' || path[len - 1] != '/')) in path_length()
1467 if ((type == AE_IFDIR) & (path[strlen(path) - 1] != '/')) { in write_path()
1491 if ((type == AE_IFDIR) && (path[pathlen - 1] != '/')) in copy_path()
H A Darchive_read_support_format_mtree.c1227 if (archive_entry_filetype(entry) != AE_IFDIR) in parse_file()
1250 archive_entry_filetype(entry) == AE_IFDIR) { in parse_file()
1301 archive_entry_filetype(entry) == AE_IFDIR) in parse_file()
1806 AE_IFDIR); in parse_keyword()
H A Darchive_entry_link_resolver.c195 if (archive_entry_filetype(*e) == AE_IFDIR in archive_entry_linkify()
H A Darchive_write_disk_posix.c475 case AE_IFDIR: in la_verify_filetype()
720 if (archive_entry_filetype(a->entry) == AE_IFDIR) in _archive_write_disk_header()
729 if (archive_entry_filetype(a->entry) == AE_IFDIR) in _archive_write_disk_header()
2429 case AE_IFDIR: in create_filesystem_object()
2530 if (p->filetype == AE_IFDIR) in _archive_write_disk_close()
2542 if (fd == -1 || p->filetype != AE_IFDIR) { in _archive_write_disk_close()
H A Darchive_entry.h190 #define AE_IFDIR ((__LA_MODE_T)0040000) macro
H A Darchive_read_support_format_tar.c575 archive_entry_set_filetype(entry, AE_IFDIR); in archive_read_format_tar_read_header()
582 archive_entry_set_filetype(entry, AE_IFDIR); in archive_read_format_tar_read_header()
1310 archive_entry_set_filetype(entry, AE_IFDIR); in header_common()
1325 archive_entry_set_filetype(entry, AE_IFDIR); in header_common()
H A Darchive_read_support_format_zip.c759 AE_IFDIR | 0775; in process_extra()
1078 if ((zip_entry->mode & AE_IFMT) != AE_IFDIR) { in zip_read_local_file_header()
1093 zip_entry->mode |= AE_IFDIR; in zip_read_local_file_header()
1101 if ((zip_entry->mode & AE_IFMT) == AE_IFDIR) { in zip_read_local_file_header()
3871 zip_entry->mode = AE_IFDIR | 0775; in slurp_central_directory()
H A Darchive_read_support_format_iso9660.c1328 if ((file->mode & AE_IFMT) != AE_IFDIR && in archive_read_format_iso9660_read_header()
1386 if (archive_entry_filetype(entry) == AE_IFDIR) { in archive_read_format_iso9660_read_header()
1890 file->mode = AE_IFDIR | 0700; in parse_file_info()
2815 } else if ((file->mode & AE_IFMT) == AE_IFDIR) { in next_cache_entry()
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()
2283 ((xar->file->mode & AE_IFMT) == AE_IFDIR)) in xml_end()
2724 (xar->file->mode & ~AE_IFMT) | AE_IFDIR; in xml_data()
H A Darchive_read_support_format_7zip.c2627 entries[i].mode = AE_IFDIR | 0777; in read_Header()
2631 (entries[i].mode & AE_IFMT) != AE_IFDIR) { in read_Header()
2633 entries[i].mode |= AE_IFDIR; in read_Header()
2635 if ((entries[i].mode & AE_IFMT) == AE_IFDIR && in read_Header()
H A Darchive_write_set_format_xar.c1223 case AE_IFDIR: in make_file_entry()
1978 if (entry != NULL && archive_entry_filetype(entry) == AE_IFDIR) in file_new()
2015 archive_entry_set_mode(file->entry, 0555 | AE_IFDIR); in file_create_virtual_dir()
H A Darchive_read_support_format_rar5.c1819 mode = 0555 | AE_IFDIR; in process_head_file()
1821 mode = 0755 | AE_IFDIR; in process_head_file()
H A Darchive_write_set_format_pax.c649 case AE_IFDIR: in archive_write_pax_header()
H A Darchive_write_set_format_iso9660.c4990 if (archive_entry_filetype(file->entry) == AE_IFDIR) in isofile_gen_utility_names()
5126 if (archive_entry_filetype(file->entry) == AE_IFDIR) in isoent_new()
5202 archive_entry_set_mode(file->entry, 0555 | AE_IFDIR); in isoent_create_virtual_dir()
H A Darchive_write_set_format_7zip.c1540 if (archive_entry_filetype(entry) == AE_IFDIR) in file_new()
H A Darchive_read_support_format_lha.c672 ((lha->directory)? AE_IFDIR: AE_IFREG); in archive_read_format_lha_read_header()
H A Darchive_read_support_format_rar.c1723 rar->mode = AE_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH; in read_header()
/dragonfly/contrib/libarchive/cpio/
H A Dcpio.c776 && archive_entry_filetype(entry) != AE_IFDIR) { in file_to_archive()