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

123456

/freebsd-9.3-release/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-9.3-release/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...]
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/contrib/gnu-sort/lib/
H A Dstat-macros.h28 # ifndef S_IFMT
29 # define S_IFMT 0170000 macro
50 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
58 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
66 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
74 # define S_ISDOOR(m) (((m) & S_IFMT) == S_IFDOOR)
82 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
90 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
98 # define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB)
99 # define S_ISMPC(m) (((m) & S_IFMT)
[all...]
/freebsd-9.3-release/contrib/cvs/lib/
H A Dsystem.h30 /* Not all systems have S_IFMT, but we want to use it if we have it.
31 The S_IFMT code below looks right (it masks and compares). The
32 non-S_IFMT code looks bogus (are there really systems on which
40 # if defined(S_IFMT)
41 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
48 # if defined(S_IFMT)
49 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
56 # if defined(S_IFMT)
57 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
64 # if defined(S_IFMT)
[all...]
H A Dmkdir.c98 if ((statbuf.st_mode & S_IFMT) != S_IFDIR)
H A Drename.c42 if ((from_stats.st_mode & S_IFMT) == S_IFDIR)
/freebsd-9.3-release/contrib/texinfo/info/
H A Dfilesys.h85 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
89 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/freebsd-9.3-release/gnu/usr.bin/grep/
H A Disdir.c30 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR)
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dunlink-if-ordinary.c55 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dunlink-if-ordinary.c55 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
/freebsd-9.3-release/contrib/groff/src/include/
H A Dposix.h54 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/freebsd-9.3-release/contrib/expat/xmlwf/
H A Dreadfilemap.c27 #ifndef S_IFMT
28 #define S_IFMT _S_IFMT macro
30 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/freebsd-9.3-release/contrib/cvs/diff/
H A Dsystem.h50 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
53 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
56 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
59 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR)
62 #define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFFIFO)
67 # ifdef S_IFMT
68 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
71 # endif /* S_IFMT */
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.os.h215 # ifndef S_IFMT
216 # define S_IFMT 0170000 /* type of file */ macro
226 # endif /* S_IFMT */
240 #ifdef S_IFMT
242 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
245 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR)
248 # define S_ISBLK(a) (((a) & S_IFMT) == S_IFBLK)
251 # define S_ISREG(a) (((a) & S_IFMT) == S_IFREG)
254 # define S_ISFIFO(a) (((a) & S_IFMT) == S_IFIFO)
257 # define S_ISNAM(a) (((a) & S_IFMT)
[all...]
/freebsd-9.3-release/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-9.3-release/lib/libc/stdio/
H A Dmakebuf.c105 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR;
118 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
/freebsd-9.3-release/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-9.3-release/contrib/ncurses/ncurses/tinfo/
H A Daccess.c139 && (sb.st_mode & S_IFMT) == S_IFDIR) {
152 && (sb.st_mode & S_IFMT) == S_IFREG) {
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dstrmode.c46 switch (mode & S_IFMT) {
/freebsd-9.3-release/lib/libc/string/
H A Dstrmode.c44 switch (mode & S_IFMT) {
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dutilities.c82 switch(stblock.st_mode & S_IFMT) {
/freebsd-9.3-release/bin/chmod/
H A Dchmod.c203 S_IFMT) | newmode, m2);
206 (p->fts_statp->st_mode & S_IFMT) |

Completed in 337 milliseconds

123456