| /freebsd-11-stable/contrib/libarchive/libarchive/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 }, 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 …]
|
| HD | 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 …]
|
| 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_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_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_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_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()
|
| 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() 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()
|
| HD | 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-11-stable/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)
|
| /freebsd-11-stable/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)
|
| /freebsd-11-stable/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)
|
| /freebsd-11-stable/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)
|
| /freebsd-11-stable/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)
|
| /freebsd-11-stable/contrib/binutils/binutils/ |
| HD | filemode.c | 135 #ifdef S_IFDIR 136 #define S_ISDIR(i) (((i) & S_IFMT) == S_IFDIR)
|
| /freebsd-11-stable/contrib/diff/lib/ |
| HD | file-type.h | 67 # ifdef S_IFDIR 68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
| /freebsd-11-stable/usr.sbin/makefs/ |
| HD | mtree.c | 654 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/ |
| HD | 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-11-stable/contrib/amd/amd/ |
| HD | amfs_toplvl.c | 180 } 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/ |
| HD | misc.c | 257 return S_IFDIR; in nodetoino() 292 case S_IFDIR: in inotype()
|
| /freebsd-11-stable/contrib/bmake/ |
| HD | make.h | 145 #if defined(S_IFDIR) && !defined(S_ISDIR) 146 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|