| /NextBSD/contrib/libarchive/libarchive/test/ |
| HD | test_write_format_iso9660.c | 132 archive_entry_set_mode(ae, S_IFDIR | 0755); in DEFINE_TEST() 205 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 217 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 229 assert((S_IFDIR | 0555) == archive_entry_mode(ae)); in DEFINE_TEST() 241 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() [all …]
|
| HD | 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()
|
| HD | 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()
|
| HD | 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()
|
| HD | 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 }, 81 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 84 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 124 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub() 132 if ((entries[i].mode & AE_IFMT) != S_IFDIR) in test_write_format_mtree_sub()
|
| HD | 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()
|
| HD | 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()
|
| HD | 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()
|
| HD | test_read_extract.c | 54 archive_entry_set_mode(ae, S_IFDIR | 0775); in DEFINE_TEST() 72 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST() 93 archive_entry_set_mode(ae, S_IFDIR | 0710); in DEFINE_TEST() 100 archive_entry_set_mode(ae, S_IFDIR | 0711); in DEFINE_TEST()
|
| HD | test_write_disk_secure.c | 53 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST() 123 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST() 145 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST() 173 archive_entry_set_mode(ae, S_IFDIR | 0777); in DEFINE_TEST()
|
| /NextBSD/contrib/libreadline/ |
| HD | posixstat.h | 39 #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 */
|
| HD | rldefs.h | 51 #if defined (S_IFDIR) && !defined (S_ISDIR) 52 # define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
|
| /NextBSD/contrib/ntp/lib/isc/win32/include/isc/ |
| HD | stat.h | 43 #ifndef S_IFDIR 44 # define S_IFDIR _S_IFDIR macro 54 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
| /NextBSD/contrib/ntp/sntp/libopts/compat/ |
| HD | windows-config.h | 111 # define S_IFDIR _S_IFDIR macro 112 # define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR)
|
| /NextBSD/gnu/usr.bin/grep/ |
| HD | isdir.c | 29 #if !defined S_ISDIR && defined S_IFDIR 30 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR)
|
| HD | system.h | 105 #if !defined(S_ISDIR) && defined(S_IFDIR) 106 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR)
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | gdb_stat.h | 46 #if !defined(S_ISDIR) && defined(S_IFDIR) 47 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
| /NextBSD/contrib/binutils/binutils/ |
| HD | filemode.c | 135 #ifdef S_IFDIR 136 #define S_ISDIR(i) (((i) & S_IFMT) == S_IFDIR)
|
| /NextBSD/contrib/diff/lib/ |
| HD | file-type.h | 67 # ifdef S_IFDIR 68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
| /NextBSD/usr.sbin/makefs/ |
| HD | mtree.c | 686 node->type = S_IFDIR; in read_mtree_keywords() 766 type = (node->symlink != NULL) ? S_IFLNK : S_IFDIR; in read_mtree_keywords() 922 if (node->type != S_IFDIR) { in read_mtree_spec1() 943 type = (def == false || IS_DOT(name)) ? S_IFDIR : 0; in read_mtree_spec1() 961 if (node->type != S_IFDIR) in read_mtree_spec1() 966 node = create_node(".", S_IFDIR, parent, parent); in read_mtree_spec1() 1129 node = create_node(".", S_IFDIR, NULL, &mtree_global); in read_mtree()
|
| /NextBSD/contrib/tcsh/ |
| HD | tc.os.h | 217 # define S_IFDIR 0040000 /* directory */ macro 241 # if !defined(S_ISDIR) && defined(S_IFDIR) 242 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
|
| /NextBSD/contrib/amd/amd/ |
| HD | amfs_toplvl.c | 184 } else if ((stb.st_mode & S_IFMT) != S_IFDIR) { in amfs_toplvl_mount() 278 if ((stb.st_mode & S_IFMT) != S_IFDIR) { in amfs_toplvl_umount()
|
| /NextBSD/contrib/mtree/ |
| HD | misc.c | 257 return S_IFDIR; in nodetoino() 292 case S_IFDIR: in inotype()
|
| /NextBSD/contrib/bmake/ |
| HD | make.h | 140 #if defined(S_IFDIR) && !defined(S_ISDIR) 141 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
| /NextBSD/include/apple/sys/_types/ |
| HD | _s_ifmt.h | 38 #define S_IFDIR 0040000 /* [XSI] directory */ macro
|