Home
last modified time | relevance | path

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

123456

/freebsd-11-stable/contrib/libarchive/libarchive/test/
HDtest_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) 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()
[all …]
HDtest_write_format_iso9660.c132 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 …]
HDtest_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) 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()
HDtest_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) 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()
HDtest_write_format_xar_empty.c60 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()
HDtest_write_format_iso9660_empty.c78 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()
HDtest_write_format_warc_empty.c49 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()
HDtest_tar_filenames.c84 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()
HDtest_ustar_filenames.c86 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()
HDtest_read_extract.c54 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()
HDtest_write_disk_secure.c57 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-11-stable/contrib/libreadline/
HDposixstat.h39 #if !defined (S_IFDIR) && !defined (S_ISDIR)
40 # define S_IFDIR 0040000 macro
60 #if defined (_S_IFDIR) && !defined (S_IFDIR)
61 #define S_IFDIR _S_IFDIR macro
87 #if defined (S_IFDIR) && !defined (S_ISDIR)
88 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) /* directory */
HDrldefs.h51 #if defined (S_IFDIR) && !defined (S_ISDIR)
52 # define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
/freebsd-11-stable/contrib/ntp/lib/isc/win32/include/isc/
HDstat.h43 #ifndef S_IFDIR
44 # define S_IFDIR _S_IFDIR macro
54 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/freebsd-11-stable/contrib/ntp/sntp/libopts/compat/
HDwindows-config.h111 # define S_IFDIR _S_IFDIR macro
112 # define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR)
/freebsd-11-stable/gnu/usr.bin/grep/
HDisdir.c29 #if !defined S_ISDIR && defined S_IFDIR
30 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR)
HDsystem.h105 #if !defined(S_ISDIR) && defined(S_IFDIR)
106 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR)
/freebsd-11-stable/contrib/gdb/gdb/
HDgdb_stat.h46 #if !defined(S_ISDIR) && defined(S_IFDIR)
47 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/freebsd-11-stable/contrib/binutils/binutils/
HDfilemode.c135 #ifdef S_IFDIR
136 #define S_ISDIR(i) (((i) & S_IFMT) == S_IFDIR)
/freebsd-11-stable/contrib/diff/lib/
HDfile-type.h67 # ifdef S_IFDIR
68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/freebsd-11-stable/usr.sbin/makefs/
HDmtree.c654 node->type = S_IFDIR; in read_mtree_keywords()
734 type = (node->symlink != NULL) ? S_IFLNK : S_IFDIR; in read_mtree_keywords()
890 if (node->type != S_IFDIR) { in read_mtree_spec1()
911 type = (def == false || IS_DOT(name)) ? S_IFDIR : 0; in read_mtree_spec1()
929 if (node->type != S_IFDIR) in read_mtree_spec1()
934 node = create_node(".", S_IFDIR, parent, parent); in read_mtree_spec1()
1102 node = create_node(".", S_IFDIR, NULL, &mtree_global); in read_mtree()
/freebsd-11-stable/contrib/tcsh/
HDtc.os.h216 # 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-11-stable/contrib/amd/amd/
HDamfs_toplvl.c180 } else if ((stb.st_mode & S_IFMT) != S_IFDIR) { in amfs_toplvl_mount()
279 if ((stb.st_mode & S_IFMT) != S_IFDIR) { in amfs_toplvl_umount()
/freebsd-11-stable/contrib/mtree/
HDmisc.c257 return S_IFDIR; in nodetoino()
292 case S_IFDIR: in inotype()
/freebsd-11-stable/contrib/bmake/
HDmake.h145 #if defined(S_IFDIR) && !defined(S_ISDIR)
146 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)

123456