/freebsd/contrib/diff/lib/ |
H A D | file-type.h | 30 # ifndef S_IFMT 31 # define S_IFMT 0170000 macro 52 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 60 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 76 # define S_ISDOOR(m) (((m) & S_IFMT) == S_IFDOOR) 84 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 92 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 100 # define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) 101 # define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) [all …]
|
/freebsd/contrib/tcsh/ |
H A D | tc.os.h | 214 # ifndef S_IFMT 215 # define S_IFMT 0170000 /* type of file */ macro 239 #ifdef S_IFMT 241 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) 244 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR) 247 # define S_ISBLK(a) (((a) & S_IFMT) == S_IFBLK) 250 # define S_ISREG(a) (((a) & S_IFMT) == S_IFREG) 253 # define S_ISFIFO(a) (((a) & S_IFMT) == S_IFIFO) 256 # define S_ISNAM(a) (((a) & S_IFMT) == S_IFNAM) 259 # define S_ISLNK(a) (((a) & S_IFMT) == S_IFLNK) [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | stat.h | 40 #ifndef S_IFMT 41 # define S_IFMT _S_IFMT macro 54 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 57 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
/freebsd/contrib/expat/xmlwf/ |
H A D | readfilemap.c | 68 # ifndef S_IFMT 69 # define S_IFMT _S_IFMT macro 71 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
/freebsd/lib/libc/stdio/ |
H A D | makebuf.c | 97 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR; in __swhatbuf() 110 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ? in __swhatbuf()
|
/freebsd/sbin/mount_nullfs/ |
H A D | mount_nullfs.c | 105 if ((target_stat.st_mode & S_IFMT) != in main() 106 (mountpoint_stat.st_mode & S_IFMT)) in main()
|
/freebsd/bin/chmod/ |
H A D | chmod.c | 203 S_IFMT) | newmode, m2); in main() 206 (p->fts_statp->st_mode & S_IFMT) | in main()
|
/freebsd/usr.bin/whereis/ |
H A D | whereis.c | 322 if ((sb.st_mode & S_IFMT) != S_IFDIR) in defaults() 360 (sb.st_mode & S_IFMT) != S_IFDIR || in defaults() 452 (sb.st_mode & S_IFMT) == S_IFREG && in main() 565 (sb.st_mode & S_IFMT) == S_IFDIR) { in main()
|
/freebsd/crypto/openssl/ |
H A D | e_os.h | 77 # ifndef S_IFMT 78 # define S_IFMT _S_IFMT macro
|
/freebsd/sbin/fsck_ffs/ |
H A D | utilities.c | 72 switch(stblock.st_mode & S_IFMT) { in blockcheck()
|
/freebsd/contrib/lib9p/ |
H A D | utils.c | 461 { S_IFMT, S_IFIFO, "S_IFIFO" }, in l9p_describe_lperm() 462 { S_IFMT, S_IFCHR, "S_IFCHR" }, in l9p_describe_lperm() 463 { S_IFMT, S_IFDIR, "S_IFDIR" }, in l9p_describe_lperm() 464 { S_IFMT, S_IFBLK, "S_IFBLK" }, in l9p_describe_lperm() 465 { S_IFMT, S_IFREG, "S_IFREG" }, in l9p_describe_lperm() 466 { S_IFMT, S_IFLNK, "S_IFLNK" }, in l9p_describe_lperm() 467 { S_IFMT, S_IFSOCK, "S_IFSOCK" }, in l9p_describe_lperm()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | strmode.c | 46 switch (mode & S_IFMT) { in strmode()
|
/freebsd/lib/libc/string/ |
H A D | strmode.c | 40 switch (mode & S_IFMT) { in strmode()
|
/freebsd/contrib/ntp/tests/libntp/ |
H A D | realpath.c | 32 retv = (sb.st_mode & S_IFMT) != S_IFLNK; in isValidAbsPath()
|
/freebsd/libexec/flua/modules/ |
H A D | lfs.c | 257 mode = (sb->st_mode & S_IFMT); in PUSH_INTEGER() 287 snprintf(buf, sizeof(buf), "%o", sb->st_mode & ~S_IFMT); in push_st_permissions()
|
/freebsd/contrib/libucl/src/ |
H A D | ucl_internal.h | 108 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 109 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
/freebsd/contrib/sendmail/libsm/ |
H A D | makebuf.c | 149 if ((st.st_mode & S_IFMT) == S_IFREG &&
|
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | event-read-fifo.c | 110 if ((st.st_mode & S_IFMT) == S_IFREG) { in main()
|
/freebsd/contrib/libevent/sample/ |
H A D | event-read-fifo.c | 110 if ((st.st_mode & S_IFMT) == S_IFREG) { in main()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mkbusy.c | 136 switch (sbuf.st_mode & S_IFMT) { in main()
|
/freebsd/usr.sbin/makefs/ |
H A D | mtree.c | 437 n->inode->st.st_mode = (n->inode->st.st_mode & ~S_IFMT) | n->type; in create_node() 596 st->st_mode &= S_IFMT; in read_mtree_keywords() 724 st->st_mode = (st->st_mode & ~S_IFMT) | node->type; in read_mtree_keywords() 761 st->st_mode = (st->st_mode & ~S_IFMT) | node->type; in read_mtree_keywords()
|
/freebsd/contrib/sendmail/include/sm/ |
H A D | conf.h | 1385 # define S_IFMT _S_IFMT macro 2710 # define S_ISREG(foo) ((foo & S_IFMT) == S_IFREG) 2713 # define S_ISDIR(foo) ((foo & S_IFMT) == S_IFDIR) 2716 # define S_ISLNK(foo) ((foo & S_IFMT) == S_IFLNK) 2720 # define S_ISFIFO(foo) ((foo & S_IFMT) == S_IFIFO)
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_mtree.c | 1297 if (((st->st_mode & S_IFMT) == S_IFREG && in parse_file() 1300 ||((st->st_mode & S_IFMT) == S_IFLNK && in parse_file() 1308 ||((st->st_mode & S_IFMT) == S_IFCHR && in parse_file() 1312 ||((st->st_mode & S_IFMT) == S_IFBLK && in parse_file() 1315 ||((st->st_mode & S_IFMT) == S_IFDIR && in parse_file() 1318 ||((st->st_mode & S_IFMT) == S_IFIFO && in parse_file()
|
/freebsd/libexec/rbootd/ |
H A D | parseconf.c | 334 (statb.st_mode & S_IFMT) != S_IFREG) in GetBootFiles()
|
/freebsd/lib/libprocstat/ |
H A D | common_kvm.c | 133 vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR; in devfs_filestat()
|