/external/python/cpython2/Lib/ |
D | stat.py | 24 def S_IFMT(mode): function 41 return S_IFMT(mode) == S_IFDIR 44 return S_IFMT(mode) == S_IFCHR 47 return S_IFMT(mode) == S_IFBLK 50 return S_IFMT(mode) == S_IFREG 53 return S_IFMT(mode) == S_IFIFO 56 return S_IFMT(mode) == S_IFLNK 59 return S_IFMT(mode) == S_IFSOCK
|
D | filecmp.py | 60 return (stat.S_IFMT(st.st_mode), 160 a_type = stat.S_IFMT(a_stat.st_mode) 161 b_type = stat.S_IFMT(b_stat.st_mode)
|
/external/u-boot/fs/yaffs2/ |
D | yportenv.h | 220 #ifndef S_IFMT 221 #define S_IFMT 0170000 macro 252 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) 253 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 254 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 255 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 256 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 257 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 258 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
|
/external/kernel-headers/original/uapi/linux/ |
D | stat.h | 9 #define S_IFMT 00170000 macro 21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
/external/python/cpython3/Lib/ |
D | stat.py | 27 def S_IFMT(mode): function 48 return S_IFMT(mode) == S_IFDIR 52 return S_IFMT(mode) == S_IFCHR 56 return S_IFMT(mode) == S_IFBLK 60 return S_IFMT(mode) == S_IFREG 64 return S_IFMT(mode) == S_IFIFO 68 return S_IFMT(mode) == S_IFLNK 72 return S_IFMT(mode) == S_IFSOCK
|
D | filecmp.py | 69 return (stat.S_IFMT(st.st_mode), 169 a_type = stat.S_IFMT(a_stat.st_mode) 170 b_type = stat.S_IFMT(b_stat.st_mode)
|
/external/u-boot/include/linux/ |
D | stat.h | 10 #define S_IFMT 00170000 /* type of file */ macro 22 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 23 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 24 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 25 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 26 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 27 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 28 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
/external/strace/ |
D | printmode.c | 45 if (mode & S_IFMT) in print_symbolic_mode_t() 46 ifmt = xlookup(modetypes, mode & S_IFMT); in print_symbolic_mode_t() 60 mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)); in print_symbolic_mode_t()
|
/external/expat/xmlwf/ |
D | readfilemap.c | 62 # ifndef S_IFMT 63 # define S_IFMT _S_IFMT macro 65 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
/external/python/cpython3/Include/ |
D | pyport.h | 229 #ifndef S_IFMT 231 #define S_IFMT 0170000 macro 241 #define S_ISREG(x) (((x) & S_IFMT) == S_IFREG) 245 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR) 249 #define S_ISCHR(x) (((x) & S_IFMT) == S_IFCHR)
|
/external/python/cpython2/Lib/plat-atheos/ |
D | IN.py | 570 S_IFMT = 00170000 variable 581 def S_ISLNK(m): return (((m) & S_IFMT) == S_IFLNK) 583 def S_ISREG(m): return (((m) & S_IFMT) == S_IFREG) 585 def S_ISDIR(m): return (((m) & S_IFMT) == S_IFDIR) 587 def S_ISCHR(m): return (((m) & S_IFMT) == S_IFCHR) 589 def S_ISBLK(m): return (((m) & S_IFMT) == S_IFBLK) 591 def S_ISFIFO(m): return (((m) & S_IFMT) == S_IFIFO) 593 def S_ISSOCK(m): return (((m) & S_IFMT) == S_IFSOCK)
|
/external/ipsec-tools/src/racoon/ |
D | safefile.c | 73 switch (s.st_mode & S_IFMT) { 79 (s.st_mode & S_IFMT));
|
/external/python/cpython3/Modules/ |
D | _stat.c | 88 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) 92 # define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFIFO) 96 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) 100 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) 340 return PyLong_FromUnsignedLong(mode & S_IFMT); in stat_S_IFMT()
|
/external/strace/tests-mx32/ |
D | mknod.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main() 62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
|
D | mknodat.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main() 62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
|
D | xstatx.c | 136 printf("%#o", mode & S_IFMT); in print_ftype() 142 printf("%#o", mode & ~S_IFMT); in print_perms() 168 switch (st->st_mode & S_IFMT) { in print_stat()
|
/external/strace/tests-m32/ |
D | mknodat.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main() 62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
|
D | mknod.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main() 62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
|
D | xstatx.c | 136 printf("%#o", mode & S_IFMT); in print_ftype() 142 printf("%#o", mode & ~S_IFMT); in print_perms() 168 switch (st->st_mode & S_IFMT) { in print_stat()
|
/external/strace/tests/ |
D | mknodat.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main() 62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
|
D | mknod.c | 56 const unsigned short mode = (0xffff & ~S_IFMT) | S_IFBLK; in main() 62 sample, (short) (mode & ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX)), in main()
|
D | xstatx.c | 136 printf("%#o", mode & S_IFMT); in print_ftype() 142 printf("%#o", mode & ~S_IFMT); in print_perms() 168 switch (st->st_mode & S_IFMT) { in print_stat()
|
/external/curl/lib/ |
D | curl_setup.h | 745 #if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG) 746 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 750 #if !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR) 751 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
/external/ImageMagick/MagickWand/ |
D | studio.h | 198 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) 201 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify04.c | 128 } else if ((int)(st.st_mode & S_IFMT) != mask) { in verify_event() 130 "(%o != %o)", st.st_mode & S_IFMT, mask); in verify_event()
|