Searched refs:S_IFMT (Results 1 - 25 of 101) sorted by relevance

12345

/freebsd-current/contrib/diff/lib/
H A Dfile-type.h30 # 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)
[all...]
/freebsd-current/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dstat.h40 #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-current/contrib/expat/xmlwf/
H A Dreadfilemap.c68 # ifndef S_IFMT
69 # define S_IFMT _S_IFMT macro
71 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/freebsd-current/contrib/tcsh/
H A Dtc.os.h214 # ifndef S_IFMT
215 # define S_IFMT 0170000 /* type of file */ macro
225 # endif /* S_IFMT */
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)
[all...]
/freebsd-current/lib/libc/stdio/
H A Dmakebuf.c97 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR;
110 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
/freebsd-current/sbin/mount_nullfs/
H A Dmount_nullfs.c105 if ((target_stat.st_mode & S_IFMT) !=
106 (mountpoint_stat.st_mode & S_IFMT))
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dstrmode.c46 switch (mode & S_IFMT) {
/freebsd-current/contrib/ntp/tests/libntp/
H A Drealpath.c32 retv = (sb.st_mode & S_IFMT) != S_IFLNK;
/freebsd-current/lib/libc/string/
H A Dstrmode.c40 switch (mode & S_IFMT) {
/freebsd-current/sbin/fsck_ffs/
H A Dutilities.c72 switch(stblock.st_mode & S_IFMT) {
H A Dsetup.c373 if ((statb.st_mode & S_IFMT) != S_IFCHR &&
374 (statb.st_mode & S_IFMT) != S_IFBLK) {
/freebsd-current/bin/chmod/
H A Dchmod.c203 S_IFMT) | newmode, m2);
206 (p->fts_statp->st_mode & S_IFMT) |
/freebsd-current/contrib/ncurses/ncurses/
H A Dcurses.priv.h255 #define S_ISDIR(mode) ((mode & S_IFMT) == S_IFDIR)
259 #define S_ISREG(mode) ((mode & S_IFMT) == S_IFREG)
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmkbusy.c136 switch (sbuf.st_mode & S_IFMT) {
/freebsd-current/contrib/sendmail/libsm/
H A Dmakebuf.c149 if ((st.st_mode & S_IFMT) == S_IFREG &&
/freebsd-current/contrib/ntp/sntp/libevent/sample/
H A Devent-read-fifo.c110 if ((st.st_mode & S_IFMT) == S_IFREG) {
/freebsd-current/contrib/libevent/sample/
H A Devent-read-fifo.c110 if ((st.st_mode & S_IFMT) == S_IFREG) {
/freebsd-current/libexec/flua/modules/
H A Dlfs.c257 mode = (sb->st_mode & S_IFMT);
287 snprintf(buf, sizeof(buf), "%o", sb->st_mode & ~S_IFMT);
/freebsd-current/crypto/openssl/
H A De_os.h77 # ifndef S_IFMT
78 # define S_IFMT _S_IFMT macro
/freebsd-current/usr.bin/whereis/
H A Dwhereis.c322 if ((sb.st_mode & S_IFMT) != S_IFDIR)
360 (sb.st_mode & S_IFMT) != S_IFDIR ||
452 (sb.st_mode & S_IFMT) == S_IFREG &&
565 (sb.st_mode & S_IFMT) == S_IFDIR) {
/freebsd-current/libexec/rbootd/
H A Dparseconf.c334 (statb.st_mode & S_IFMT) != S_IFREG)
/freebsd-current/lib/libprocstat/
H A Dcommon_kvm.c133 vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR;
/freebsd-current/contrib/libucl/src/
H A Ducl_internal.h108 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
109 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/freebsd-current/contrib/lib9p/
H A Dutils.c455 * the S_IFMT field.
461 { S_IFMT, S_IFIFO, "S_IFIFO" },
462 { S_IFMT, S_IFCHR, "S_IFCHR" },
463 { S_IFMT, S_IFDIR, "S_IFDIR" },
464 { S_IFMT, S_IFBLK, "S_IFBLK" },
465 { S_IFMT, S_IFREG, "S_IFREG" },
466 { S_IFMT, S_IFLNK, "S_IFLNK" },
467 { S_IFMT, S_IFSOCK, "S_IFSOCK" },
/freebsd-current/bin/ls/
H A Dprint.c490 if ((mode & S_IFMT) == S_IFDIR) {
497 switch (mode & S_IFMT) {
617 switch (mode & S_IFMT) {

Completed in 379 milliseconds

12345