Searched refs:S_IFDIR (Results 1 - 25 of 135) sorted by relevance

123456

/freebsd-13-stable/contrib/ntp/lib/isc/win32/include/isc/
H A Dstat.h43 #ifndef S_IFDIR
44 # define S_IFDIR _S_IFDIR macro
54 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/freebsd-13-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_warc_empty.c49 archive_entry_set_mode(ae, S_IFDIR | 0755);
59 archive_entry_set_mode(ae, S_IFDIR | 0755);
69 archive_entry_set_mode(ae, S_IFDIR | 0755);
79 archive_entry_set_mode(ae, S_IFDIR | 0755);
89 archive_entry_set_mode(ae, S_IFDIR | 0755);
99 archive_entry_set_mode(ae, S_IFDIR | 0755);
H A Dtest_write_format_xar_empty.c60 archive_entry_set_mode(ae, S_IFDIR | 0755);
70 archive_entry_set_mode(ae, S_IFDIR | 0755);
80 archive_entry_set_mode(ae, S_IFDIR | 0755);
90 archive_entry_set_mode(ae, S_IFDIR | 0755);
100 archive_entry_set_mode(ae, S_IFDIR | 0755);
110 archive_entry_set_mode(ae, S_IFDIR | 0755);
H A Dtest_write_format_mtree_classic.c39 { ".", 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)
144 if ((entries[i].mode & AE_IFMT) != S_IFDIR)
168 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR)
181 if ((entries[i].mode & AE_IFMT) != S_IFDIR)
H A Dtest_write_format_mtree_classic_indent.c39 { ".", 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)
146 if ((entries[i].mode & AE_IFMT) != S_IFDIR)
170 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR)
183 if ((entries[i].mode & AE_IFMT) != S_IFDIR)
H A Dtest_write_format_mtree.c43 { "./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 },
66 { "subdir2", S_IFDIR | 0755, 1233504586, 1001, 1001 },
67 { "subdir3", S_IFDIR | 0755, 1233504586, 1001, 1001 },
101 if ((entries[i].mode & AE_IFMT) != S_IFDIR)
104 if ((entries[i].mode & AE_IFMT) != S_IFDIR)
144 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR)
152 if ((entries[i].mode & AE_IFMT) != S_IFDIR)
[all...]
H A Dtest_write_format_iso9660.c132 archive_entry_set_mode(ae, S_IFDIR | 0755);
218 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
230 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
242 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
254 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
267 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
280 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
293 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
306 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
319 assert((S_IFDIR | 055
[all...]
H A Dtest_write_format_iso9660_empty.c78 archive_entry_set_mode(ae, S_IFDIR | 0755);
88 archive_entry_set_mode(ae, S_IFDIR | 0755);
98 archive_entry_set_mode(ae, S_IFDIR | 0755);
108 archive_entry_set_mode(ae, S_IFDIR | 0755);
118 archive_entry_set_mode(ae, S_IFDIR | 0755);
128 archive_entry_set_mode(ae, S_IFDIR | 0755);
193 assert((S_IFDIR | 0555) == archive_entry_mode(ae));
H A Dtest_read_extract.c54 archive_entry_set_mode(ae, S_IFDIR | 0775);
72 archive_entry_set_mode(ae, S_IFDIR | 0777);
93 archive_entry_set_mode(ae, S_IFDIR | 0710);
100 archive_entry_set_mode(ae, S_IFDIR | 0711);
H A Dtest_tar_filenames.c84 archive_entry_set_mode(ae, S_IFDIR | 0755);
97 archive_entry_set_mode(ae, S_IFDIR | 0755);
129 assert((S_IFDIR | 0755) == archive_entry_mode(ae));
133 assert((S_IFDIR | 0755) == archive_entry_mode(ae));
H A Dtest_ustar_filenames.c86 archive_entry_set_mode(ae, S_IFDIR | 0755);
103 archive_entry_set_mode(ae, S_IFDIR | 0755);
141 assert((S_IFDIR | 0755) == archive_entry_mode(ae));
148 assert((S_IFDIR | 0755) == archive_entry_mode(ae));
H A Dtest_write_disk_secure745.c69 archive_entry_set_mode(ae, S_IFDIR | 0777);
H A Dtest_write_disk_secure744.c83 archive_entry_set_mode(ae, S_IFDIR | 0777);
/freebsd-13-stable/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h111 # define S_IFDIR _S_IFDIR macro
112 # define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR)
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dmkdir.cc69 in.body.mkdir.mode == (S_IFDIR | mode) &&
104 in.body.mkdir.mode == (S_IFDIR | mode) &&
110 out.body.create.entry.attr.mode = S_IFDIR | mode;
142 in.body.mkdir.mode == (S_IFDIR | mode) &&
148 out.body.entry.attr.mode = S_IFDIR | mode;
156 expect_lookup(RELPATH, ino, S_IFDIR | mode, 0, 1);
180 in.body.mkdir.mode == (S_IFDIR | mode) &&
187 out.body.create.entry.attr.mode = S_IFDIR | mode;
211 in.body.mkdir.mode == (S_IFDIR | mode) &&
217 out.body.create.entry.attr.mode = S_IFDIR | mod
[all...]
H A Ddefault_permissions.cc278 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1);
292 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, 0, 1);
312 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1);
333 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1, uid);
364 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1, uid);
393 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1, geteuid());
421 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1, uid);
455 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1, uid, gid);
481 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 0755, UINT64_MAX, 1, uid, gid);
518 expect_getattr(FUSE_ROOT_ID, S_IFDIR | 075
[all...]
H A Dnfs.cc80 const mode_t mode = S_IFDIR | 0755;
118 const mode_t mode = S_IFDIR | 0755;
157 const mode_t mode = S_IFDIR | 0755;
183 const mode_t mode = S_IFDIR | 0755;
228 const mode_t mode = S_IFDIR | 0755;
255 out.body.entry.attr.mode = S_IFDIR | 0755;
277 out.body.entry.attr.mode = S_IFDIR | 0755;
299 mode_t mode = S_IFDIR | 0755;
/freebsd-13-stable/contrib/kyua/utils/fs/
H A Doperations_test.cpp361 ATF_REQUIRE(lookup(".", "dir", S_IFDIR));
374 ATF_REQUIRE(!lookup(".", "dir1", S_IFDIR));
375 ATF_REQUIRE(!lookup(".", "dir2", S_IFDIR));
382 ATF_REQUIRE(!lookup(".", "new-dir", S_IFDIR));
384 ATF_REQUIRE(lookup(".", "new-dir", S_IFDIR));
391 ATF_REQUIRE(!lookup(".", "a", S_IFDIR));
393 ATF_REQUIRE(lookup(".", "a", S_IFDIR));
394 ATF_REQUIRE(lookup("a", "b", S_IFDIR));
395 ATF_REQUIRE(lookup("a/b", "c", S_IFDIR));
424 ATF_REQUIRE(lookup(".", "a", S_IFDIR));
[all...]
/freebsd-13-stable/contrib/diff/lib/
H A Dfile-type.h67 # ifdef S_IFDIR
68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c131 S_IFDIR))
145 } else if ((sbuf.st_mode & S_IFMT) == S_IFDIR) {
/freebsd-13-stable/lib/libc/string/
H A Dstrmode.c47 case S_IFDIR: /* directory */
/freebsd-13-stable/sbin/fsck_ffs/
H A Dutilities.c84 case S_IFDIR:
/freebsd-13-stable/contrib/ntp/lib/isc/unix/
H A Dfsaccess.c46 if ((statb.st_mode & S_IFDIR) != 0)
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dstrmode.c47 case S_IFDIR: /* directory */
/freebsd-13-stable/crypto/openssl/
H A De_os.h119 # ifndef S_IFDIR
120 # define S_IFDIR _S_IFDIR macro

Completed in 276 milliseconds

123456