/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/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 52 return S_IFMT(mode) == S_IFDIR 56 return S_IFMT(mode) == S_IFCHR 60 return S_IFMT(mode) == S_IFBLK 64 return S_IFMT(mode) == S_IFREG 68 return S_IFMT(mode) == S_IFIFO 72 return S_IFMT(mode) == S_IFLNK 76 return S_IFMT(mode) == S_IFSOCK
|
D | filecmp.py | 70 return (stat.S_IFMT(st.st_mode), 170 a_type = stat.S_IFMT(a_stat.st_mode) 171 b_type = stat.S_IFMT(b_stat.st_mode)
|
/external/zstd/contrib/pzstd/utils/ |
D | FileSystem.h | 51 #elif !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG) in is_regular_file() 52 return (status.st_mode & S_IFMT) == S_IFREG; in is_regular_file() 67 #elif !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR) in is_directory() 68 return (status.st_mode & S_IFMT) == S_IFDIR; in is_directory()
|
/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/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 | 92 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) 96 # define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFIFO) 100 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) 104 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) 344 return PyLong_FromUnsignedLong(mode & S_IFMT); in stat_S_IFMT()
|
/external/python/cpython3/Include/ |
D | pyport.h | 243 #ifndef S_IFMT 245 #define S_IFMT 0170000 macro 255 #define S_ISREG(x) (((x) & S_IFMT) == S_IFREG) 259 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR) 263 #define S_ISCHR(x) (((x) & S_IFMT) == S_IFCHR)
|
/external/strace/tests-m32/ |
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-mx32/ |
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/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/curl/lib/ |
D | curl_setup.h | 710 #if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG) 711 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 715 #if !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR) 716 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
/external/ImageMagick/MagickWand/ |
D | studio.h | 192 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) 195 # 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()
|
/external/ImageMagick/MagickCore/ |
D | studio.h | 202 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) 205 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|