| /freebsd-13.1/tests/sys/fs/fusefs/ |
| H A D | default_permissions.cc | 279 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1); in TEST_F() 293 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, 0, 1); in TEST_F() 313 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1); in TEST_F() 519 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1); in TEST_F() 563 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1); in TEST_F() 596 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0777, UINT64_MAX, 1); in TEST_F() 611 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1); in TEST_F() 626 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1); in TEST_F() 640 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1); in TEST_F() 1052 expect_lookup(RELSRC, ino, S_IFDIR | 0755, UINT64_MAX, 0); in TEST_F() [all …]
|
| H A D | mkdir.cc | 69 in.body.mkdir.mode == (S_IFDIR | mode) && in TEST_F() 104 in.body.mkdir.mode == (S_IFDIR | mode) && in TEST_F() 110 out.body.create.entry.attr.mode = S_IFDIR | mode; in TEST_F() 142 in.body.mkdir.mode == (S_IFDIR | mode) && in TEST_F() 148 out.body.entry.attr.mode = S_IFDIR | mode; in TEST_F() 156 expect_lookup(RELPATH, ino, S_IFDIR | mode, 0, 1); in TEST_F() 180 in.body.mkdir.mode == (S_IFDIR | mode) && in TEST_F() 187 out.body.create.entry.attr.mode = S_IFDIR | mode; in TEST_F() 211 in.body.mkdir.mode == (S_IFDIR | mode) && in TEST_F() 217 out.body.create.entry.attr.mode = S_IFDIR | mode; in TEST_F()
|
| H A D | lookup.cc | 163 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 184 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 210 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 218 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 245 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 253 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 425 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 458 out.body.entry.attr.mode = S_IFDIR | 0644; in TEST_F() 509 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 517 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() [all …]
|
| H A D | nfs.cc | 80 const mode_t mode = S_IFDIR | 0755; in TEST_F() 118 const mode_t mode = S_IFDIR | 0755; in TEST_F() 157 const mode_t mode = S_IFDIR | 0755; in TEST_F() 183 const mode_t mode = S_IFDIR | 0755; in TEST_F() 228 const mode_t mode = S_IFDIR | 0755; in TEST_F() 255 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 277 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 299 mode_t mode = S_IFDIR | 0755; in TEST_F()
|
| H A D | rename.cc | 67 expect_lookup(RELSRC, src_ino, S_IFDIR | 0755, 0, 2); in TEST_F() 231 expect_lookup(RELSRC, ino, S_IFDIR | 0755, 0, 1); in TEST_F() 238 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 268 out.body.attr.attr.mode = S_IFDIR | 0755; in TEST_F() 278 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F() 286 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
|
| H A D | interrupt.cc | 251 out0->body.create.entry.attr.mode = S_IFDIR | MODE; in TEST_F() 266 out.body.entry.attr.mode = S_IFDIR | MODE; in TEST_F() 321 out1->body.create.entry.attr.mode = S_IFDIR | MODE; in TEST_F() 339 out0->body.create.entry.attr.mode = S_IFDIR | MODE; in TEST_F() 392 out0->body.create.entry.attr.mode = S_IFDIR | MODE; in TEST_F() 436 out.body.create.entry.attr.mode = S_IFDIR | MODE; in TEST_F() 512 out.body.create.entry.attr.mode = S_IFDIR | MODE; in TEST_F() 654 out.body.create.entry.attr.mode = S_IFDIR | MODE; in TEST_F() 726 out.body.create.entry.attr.mode = S_IFDIR | MODE; in TEST_F()
|
| /freebsd-13.1/contrib/libarchive/libarchive/test/ |
| H A D | test_write_format_mtree.c | 43 { "./subdir", S_IFDIR | 0755, 1233504586, 1001, 1001 }, 46 { "./subdir2", S_IFDIR | 0755, 1233504586, 1001, 1001 }, 47 { "./subdir3", S_IFDIR | 0755, 1233504586, 1001, 1001 }, 63 { "subdir", S_IFDIR | 0755, 1233504586, 1001, 1001 }, 101 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 104 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 144 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 152 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 189 if ((entries2[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub2() 192 if ((entries2[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub2() [all …]
|
| H A D | test_write_format_iso9660.c | 132 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 218 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 230 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 242 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 254 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 267 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 280 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 293 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 306 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 319 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() [all …]
|
| H A D | test_write_format_mtree_classic.c | 39 { ".", S_IFDIR | 0755, 3, 1231975636, 1001, 1001 }, 45 { "./subdir", S_IFDIR | 0755, 3, 1233504586, 1001, 1001 }, 48 { "./subdir2", S_IFDIR | 0755, 3, 1233504586, 1001, 1001 }, 49 { "./subdir3", S_IFDIR | 0755, 3, 1233504586, 1001, 1001 }, 141 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 144 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 168 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 181 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
|
| H A D | test_write_format_mtree_classic_indent.c | 39 { ".", S_IFDIR | 0755, 3, 1231975636, 1001, 1001 }, 45 { "./subdir", S_IFDIR | 0755, 3, 1233504586, 1001, 1001 }, 48 { "./subdir2", S_IFDIR | 0755, 3, 1233504586, 1001, 1001 }, 49 { "./subdir3", S_IFDIR | 0755, 3, 1233504586, 1001, 1001 }, 143 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 146 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 170 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 183 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
|
| H A D | test_write_format_xar_empty.c | 60 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 70 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 80 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 90 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 100 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 110 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST()
|
| H A D | test_write_format_warc_empty.c | 49 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 59 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 69 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 79 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 89 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 99 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST()
|
| H A D | test_write_format_iso9660_empty.c | 78 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 88 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 98 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 108 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 118 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 128 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 193 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST()
|
| H A D | test_tar_filenames.c | 84 archive_entry_set_mode(ae, S_IFDIR | 0755); in test_filename() 97 archive_entry_set_mode(ae, S_IFDIR | 0755); in test_filename() 129 assert((S_IFDIR | 0755) == archive_entry_mode(ae)); in test_filename() 133 assert((S_IFDIR | 0755) == archive_entry_mode(ae)); in test_filename()
|
| H A D | test_ustar_filenames.c | 86 archive_entry_set_mode(ae, S_IFDIR | 0755); in test_filename() 103 archive_entry_set_mode(ae, S_IFDIR | 0755); in test_filename() 141 assert((S_IFDIR | 0755) == archive_entry_mode(ae)); in test_filename() 148 assert((S_IFDIR | 0755) == archive_entry_mode(ae)); in test_filename()
|
| H A D | test_read_extract.c | 54 archive_entry_set_mode(ae, S_IFDIR | 0775); in DEFINE_TEST() 71 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST() 92 archive_entry_set_mode(ae, S_IFDIR | 0710); in DEFINE_TEST() 99 archive_entry_set_mode(ae, S_IFDIR | 0711); in DEFINE_TEST()
|
| H A D | test_write_disk_secure.c | 57 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST() 167 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST() 189 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST() 217 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST()
|
| /freebsd-13.1/contrib/kyua/utils/fs/ |
| H A D | operations_test.cpp | 361 ATF_REQUIRE(lookup(".", "dir", S_IFDIR)); in ATF_TEST_CASE_BODY() 391 ATF_REQUIRE(!lookup(".", "a", S_IFDIR)); in ATF_TEST_CASE_BODY() 393 ATF_REQUIRE(lookup(".", "a", S_IFDIR)); in ATF_TEST_CASE_BODY() 394 ATF_REQUIRE(lookup("a", "b", S_IFDIR)); in ATF_TEST_CASE_BODY() 395 ATF_REQUIRE(lookup("a/b", "c", S_IFDIR)); in ATF_TEST_CASE_BODY() 424 ATF_REQUIRE(lookup(".", "a", S_IFDIR)); in ATF_TEST_CASE_BODY() 425 ATF_REQUIRE(lookup("a", "b", S_IFDIR)); in ATF_TEST_CASE_BODY() 426 ATF_REQUIRE(!lookup(".", "c", S_IFDIR)); in ATF_TEST_CASE_BODY() 427 ATF_REQUIRE(!lookup("a", "c", S_IFDIR)); in ATF_TEST_CASE_BODY() 428 ATF_REQUIRE(!lookup("a/b", "c", S_IFDIR)); in ATF_TEST_CASE_BODY() [all …]
|
| /freebsd-13.1/contrib/ntp/lib/isc/win32/include/isc/ |
| H A D | stat.h | 43 #ifndef S_IFDIR 44 # define S_IFDIR _S_IFDIR macro 54 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
| /freebsd-13.1/contrib/ntp/sntp/libopts/compat/ |
| H A D | windows-config.h | 111 # define S_IFDIR _S_IFDIR macro 112 # define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR)
|
| /freebsd-13.1/contrib/diff/lib/ |
| H A D | file-type.h | 67 # ifdef S_IFDIR 68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/ |
| H A D | mkbusy.c | 131 S_IFDIR)) in main() 145 } else if ((sbuf.st_mode & S_IFMT) == S_IFDIR) { in main()
|
| /freebsd-13.1/crypto/openssl/ |
| H A D | e_os.h | 119 # ifndef S_IFDIR 120 # define S_IFDIR _S_IFDIR macro
|
| /freebsd-13.1/contrib/tcsh/ |
| H A D | tc.os.h | 216 # define S_IFDIR 0040000 /* directory */ macro 240 # if !defined(S_ISDIR) && defined(S_IFDIR) 241 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
|
| /freebsd-13.1/usr.sbin/makefs/ |
| H A D | mtree.c | 670 node->type = S_IFDIR; in read_mtree_keywords() 750 type = (node->symlink != NULL) ? S_IFLNK : S_IFDIR; in read_mtree_keywords() 908 if (node->type != S_IFDIR) { in read_mtree_spec1() 929 type = (def == false || IS_DOT(name)) ? S_IFDIR : 0; in read_mtree_spec1() 947 if (node->type != S_IFDIR) in read_mtree_spec1() 952 node = create_node(".", S_IFDIR, parent, parent); in read_mtree_spec1() 1120 node = create_node(".", S_IFDIR, NULL, &mtree_global); in read_mtree()
|