/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_isorr_rr_moved.c | 87 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 101 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 113 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 125 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 137 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 149 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 161 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 173 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 187 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 201 assertEqualInt(AE_IFDIR, archive_entry_filetyp in DEFINE_TEST() [all...] |
H A D | test_read_disk_directory_traversals.c | 116 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() 148 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() 166 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() 198 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() 202 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() 206 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() 223 if (archive_entry_filetype(ae) == AE_IFDIR) { in test_basic() 244 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() 276 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() 294 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_basic() [all...] |
H A D | test_read_format_iso_Z.c | 51 assertEqualIntA(a, AE_IFDIR, archive_entry_filetype(ae)); in test1() 55 assertEqualIntA(a, AE_IFDIR | 0700, archive_entry_mode(ae)); in test1() 103 assertEqualIntA(a, AE_IFDIR, archive_entry_filetype(ae)); in test_small() 107 assertEqualIntA(a, AE_IFDIR | 0700, archive_entry_mode(ae)); in test_small() 124 assertEqualIntA(a, AE_IFDIR, archive_entry_filetype(ae)); in test_small() 128 assertEqualIntA(a, AE_IFDIR | 0700, archive_entry_mode(ae)); in test_small() 165 assertEqualIntA(a, AE_IFDIR, archive_entry_filetype(ae)); in test_small() 169 assertEqualIntA(a, AE_IFDIR | 0700, archive_entry_mode(ae)); in test_small()
|
H A D | test_write_format_mtree_absolute_path.c | 46 archive_entry_set_mode(ae, AE_IFDIR | 0755); in DEFINE_TEST() 61 archive_entry_set_mode(ae, AE_IFDIR | 0755); in DEFINE_TEST() 80 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST() 93 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST()
|
H A D | test_read_format_zip_msdos.c | 59 assertEqualInt(AE_IFDIR | 0775, archive_entry_mode(ae)); in verify() 69 assertEqualInt(AE_IFDIR | 0775, archive_entry_mode(ae)); in verify() 76 assertEqualInt(AE_IFDIR | 0775, archive_entry_mode(ae)); in verify() 82 assertEqualInt(AE_IFDIR | 0775, archive_entry_mode(ae)); in verify()
|
H A D | test_write_format_7zip.c | 144 archive_entry_set_mode(ae, AE_IFDIR | 0755); in test_basic() 159 archive_entry_set_mode(ae, AE_IFDIR | 0755); in test_basic() 174 archive_entry_set_mode(ae, AE_IFDIR | 0755); in test_basic() 276 assertEqualInt(AE_IFDIR | 0755, archive_entry_mode(ae)); in test_basic() 289 assertEqualInt(AE_IFDIR | 0755, archive_entry_mode(ae)); in test_basic() 302 assertEqualInt(AE_IFDIR | 0755, archive_entry_mode(ae)); in test_basic() 388 archive_entry_set_mode(ae, AE_IFDIR | 0755); in test_basic2() 403 archive_entry_set_mode(ae, AE_IFDIR | 0755); in test_basic2() 418 archive_entry_set_mode(ae, AE_IFDIR | 0755); in test_basic2() 483 assertEqualInt(AE_IFDIR | 075 in test_basic2() [all...] |
H A D | test_compat_tar_directory.c | 51 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in test_compat_tar_directory_1() 57 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in test_compat_tar_directory_1()
|
H A D | test_read_format_isojoliet_versioned.c | 54 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 59 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_write_disk_fixup.c | 64 archive_entry_set_mode(ae, AE_IFDIR | 0555); in DEFINE_TEST() 72 archive_entry_set_mode(ae, AE_IFDIR | 0555); in DEFINE_TEST()
|
H A D | test_read_format_iso_xorriso.c | 92 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 104 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 111 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_read_format_lha.c | 160 assertEqualInt((AE_IFDIR | 0750), archive_entry_mode(ae)); in verify() 162 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in verify() 176 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in verify()
|
H A D | test_write_format_mtree_no_separator.c | 50 archive_entry_set_mode(ae, AE_IFDIR | 0755); in DEFINE_TEST() 85 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST()
|
H A D | test_read_format_isojoliet_bz2.c | 75 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 91 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_read_format_isojoliet_long.c | 83 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 103 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_read_format_mtree.c | 85 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in test_read_format_mtree1() 297 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in test_read_format_mtree2() 566 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 669 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST() 682 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST() 686 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST() 736 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST() 749 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST() 753 assertEqualInt(archive_entry_mode(ae), AE_IFDIR | 0755); in DEFINE_TEST()
|
H A D | test_read_format_isojoliet_rr.c | 76 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 91 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_read_format_isozisofs_bz2.c | 80 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 94 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_read_format_isorr_ce.c | 117 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 131 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_read_format_isorr_new_bz2.c | 81 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 95 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_read_format_isorr_bz2.c | 81 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST() 95 assertEqualInt(AE_IFDIR, archive_entry_filetype(ae)); in DEFINE_TEST()
|
H A D | test_read_format_7zip.c | 268 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in test_extract_all_files() 308 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in test_extract_all_files_zstd() 482 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in test_extract_last_file() 613 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in test_extract_all_files2() 1221 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in DEFINE_TEST() 1226 assertEqualInt((AE_IFDIR | 0555), archive_entry_mode(ae)); in DEFINE_TEST() 1231 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in DEFINE_TEST() 1236 assertEqualInt((AE_IFDIR | 0755), archive_entry_mode(ae)); in DEFINE_TEST()
|
H A D | test_read_format_zip_jar.c | 50 assertEqualInt(AE_IFDIR | 0775, archive_entry_mode(ae)); in DEFINE_TEST()
|
H A D | test_entry_strmode.c | 46 archive_entry_set_mode(entry, AE_IFDIR | 0777); in DEFINE_TEST()
|
H A D | test_read_format_tar.c | 103 assert(archive_entry_filetype(ae) != AE_IFDIR); in verify1() 219 assertEqualInt(archive_entry_filetype(ae), AE_IFDIR); in verify5()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_entry_strmode.c | 55 case AE_IFDIR: bp[0] = 'd'; break; in archive_entry_strmode()
|