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

12345

/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb_stat.h41 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
44 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
47 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
50 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
53 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
56 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
59 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
62 #define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB)
63 #define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC)
66 #define S_ISNWK(m) (((m) & S_IFMT)
[all...]
/freebsd-11-stable/contrib/libreadline/
H A Dposixstat.h42 #if !defined (S_IFMT)
43 # define S_IFMT 0170000 macro
44 #endif /* !S_IFMT */
51 #if defined (_S_IFMT) && !defined (S_IFMT)
52 #define S_IFMT _S_IFMT macro
80 #define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK) /* block device */
84 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */
88 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) /* directory */
92 #define S_ISREG(m) (((m)&S_IFMT) == S_IFREG) /* file */
96 #define S_ISFIFO(m) (((m)&S_IFMT)
[all...]
H A Drldefs.h52 # define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
/freebsd-11-stable/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-11-stable/contrib/binutils/binutils/
H A Dfilemode.c137 #define S_ISDIR(i) (((i) & S_IFMT) == S_IFDIR)
145 #define S_ISBLK(i) (((i) & S_IFMT) == S_IFBLK)
153 #define S_ISCHR(i) (((i) & S_IFMT) == S_IFCHR)
161 #define S_ISFIFO(i) (((i) & S_IFMT) == S_IFIFO)
169 #define S_ISSOCK(i) (((i) & S_IFMT) == S_IFSOCK)
177 #define S_ISLNK(i) (((i) & S_IFMT) == S_IFLNK)
199 #ifdef S_IFMT
201 if ((bits & S_IFMT) == S_IFMPC
202 || (bits & S_IFMT) == S_IFMPB)
206 if ((bits & S_IFMT)
[all...]
/freebsd-11-stable/contrib/ntp/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-11-stable/gnu/usr.bin/grep/
H A Disdir.c30 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR)
H A Dsystem.h106 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR)
109 # define S_ISREG(Mode) (((Mode) & S_IFMT) == S_IFREG)
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dunlink-if-ordinary.c55 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
/freebsd-11-stable/contrib/groff/src/include/
H A Dposix.h54 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dunlink-if-ordinary.c55 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
/freebsd-11-stable/contrib/expat/xmlwf/
H A Dreadfilemap.c62 # ifndef S_IFMT
63 # define S_IFMT _S_IFMT macro
65 # define S_ISREG(m) (((m)&S_IFMT) == S_IFREG)
/freebsd-11-stable/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-11-stable/contrib/libreadline/examples/rlfe/
H A Dos.h344 #if defined(S_IFIFO) && defined(S_IFMT) && !defined(S_ISFIFO)
345 #define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFIFO)
347 #if defined(S_IFSOCK) && defined(S_IFMT) && !defined(S_ISSOCK)
348 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
350 #if defined(S_IFCHR) && defined(S_IFMT) && !defined(S_ISCHR)
351 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR)
353 #if defined(S_IFDIR) && defined(S_IFMT) && !defined(S_ISDIR)
354 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
356 #if defined(S_IFLNK) && defined(S_IFMT) && !defined(S_ISLNK)
357 #define S_ISLNK(mode) (((mode) & S_IFMT)
[all...]
/freebsd-11-stable/lib/libc/stdio/
H A Dmakebuf.c101 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR;
114 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dsystem.h294 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
299 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
304 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
309 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
315 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
324 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
/freebsd-11-stable/lib/libc/string/
H A Dstrmode.c44 switch (mode & S_IFMT) {
/freebsd-11-stable/sbin/fsck_ffs/
H A Dutilities.c82 switch(stblock.st_mode & S_IFMT) {
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dstrmode.c46 switch (mode & S_IFMT) {
/freebsd-11-stable/contrib/ncurses/ncurses/
H A Dcurses.priv.h223 #define S_ISDIR(mode) ((mode & S_IFMT) == S_IFDIR)
227 #define S_ISREG(mode) ((mode & S_IFMT) == S_IFREG)
/freebsd-11-stable/contrib/amd/amd/
H A Damfs_toplvl.c180 } else if ((stb.st_mode & S_IFMT) != S_IFDIR) {
279 if ((stb.st_mode & S_IFMT) != S_IFDIR) {
/freebsd-11-stable/bin/chmod/
H A Dchmod.c203 S_IFMT) | newmode, m2);
206 (p->fts_statp->st_mode & S_IFMT) |
/freebsd-11-stable/usr.sbin/ctm/ctm/
H A Dctm_pass2.c125 if((st.st_mode & S_IFMT) != S_IFDIR) {
134 if((st.st_mode & S_IFMT) != S_IFREG) {
153 if(match && (st.st_mode & S_IFMT) == S_IFREG &&
/freebsd-11-stable/contrib/gcc/
H A Dsystem.h464 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
469 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
474 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
479 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
485 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
494 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
/freebsd-11-stable/usr.bin/whereis/
H A Dwhereis.c325 if ((sb.st_mode & S_IFMT) != S_IFDIR)
363 (sb.st_mode & S_IFMT) != S_IFDIR ||
455 (sb.st_mode & S_IFMT) == S_IFREG &&
568 (sb.st_mode & S_IFMT) == S_IFDIR) {

Completed in 316 milliseconds

12345