/external/kernel-headers/original/uapi/linux/ |
D | stat.h | 7 #define S_IFMT 00170000 macro 19 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 20 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 21 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 22 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 23 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 24 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 25 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
D | gfs2_ondisk.h | 213 #define DT2IF(dt) (((dt) << 12) & S_IFMT) 214 #define IF2DT(sif) (((sif) & S_IFMT) >> 12)
|
/external/bison/lib/ |
D | sys_stat.in.h | 81 #ifndef S_IFMT 82 # define S_IFMT 0170000 101 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 109 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 117 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 129 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 137 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 145 # define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) 146 # define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) 155 # define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM) [all …]
|
/external/strace/ |
D | printmode.c | 16 if ((mode & S_IFMT) == 0) in sprintmode() 18 else if ((s = xlookup(modetypes, mode & S_IFMT)) == NULL) { in sprintmode() 26 mode &= ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX); in sprintmode()
|
D | mknod.c | 22 switch (mode & S_IFMT) { in decode_mknod() 64 switch (mode & S_IFMT) { in SYS_FUNC()
|
D | printstat.h | 41 switch (statbuf->st_mode & S_IFMT) { in DO_PRINTSTAT()
|
/external/bison/darwin-lib/sys/ |
D | stat.h | 393 #ifndef S_IFMT 394 # define S_IFMT 0170000 macro 413 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 421 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 429 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 441 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 449 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 457 # define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) 458 # define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) 467 # define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM) [all …]
|
/external/bison/linux-lib/sys/ |
D | stat.h | 393 #ifndef S_IFMT 394 # define S_IFMT 0170000 macro 413 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 421 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 429 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 441 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 449 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 457 # define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) 458 # define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) 467 # define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM) [all …]
|
/external/ipsec-tools/src/racoon/ |
D | safefile.c | 73 switch (s.st_mode & S_IFMT) { 79 (s.st_mode & S_IFMT));
|
/external/strace/tests/ |
D | stat.c | 77 printf("%#o", mode & S_IFMT); in print_ftype() 83 printf("%#o", mode & ~S_IFMT); in print_perms() 137 switch (stb.st_mode & S_IFMT) { in main()
|
/external/toybox/toys/other/ |
D | stat.c | 65 if (type == 'a') xprintf("%lo", stat->st_mode & ~S_IFMT); in print_stat() 79 int i, filetype = stat->st_mode & S_IFMT; in print_stat()
|
/external/openssh/openbsd-compat/ |
D | strmode.c | 46 switch (mode & S_IFMT) { in strmode()
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.c | 2281 switch(buf->st_mode & S_IFMT) { in reader_scan() 2961 if ((buf->st_mode & S_IFMT) != S_IFDIR) { in lookup_inode3() 3019 if((inode->buf.st_mode & S_IFMT) == S_IFREG) in alloc_inode_no() 3423 if((buf.st_mode & S_IFMT) != S_IFREG && in dir_scan1() 3424 (buf.st_mode & S_IFMT) != S_IFDIR && in dir_scan1() 3425 (buf.st_mode & S_IFMT) != S_IFLNK && in dir_scan1() 3426 (buf.st_mode & S_IFMT) != S_IFCHR && in dir_scan1() 3427 (buf.st_mode & S_IFMT) != S_IFBLK && in dir_scan1() 3428 (buf.st_mode & S_IFMT) != S_IFIFO && in dir_scan1() 3429 (buf.st_mode & S_IFMT) != S_IFSOCK) { in dir_scan1() [all …]
|
D | action.c | 1428 ((st_mode & S_IFMT) == S_IFDIR || in mode_execute() 1438 st_mode = (st_mode & S_IFMT) | mode; in mode_execute() 1667 if (comp_ent == NULL || (comp_ent->inode->buf.st_mode & S_IFMT) in eval_move() 1899 if((comp_ent->inode->buf.st_mode & S_IFMT) == S_IFDIR) in move_file() 1908 if((comp_ent->inode->buf.st_mode & S_IFMT) == S_IFDIR) in move_file() 2474 return (action_data->buf->st_mode & S_IFMT) == type->value; in type_fn() 2708 if((dir_ent->inode->buf.st_mode & S_IFMT) == S_IFLNK) { in follow_path() 2716 if((dir_ent->inode->buf.st_mode & S_IFMT) != S_IFDIR) in follow_path() 3116 return (buf->st_mode & ~S_IFMT) == perm_data->mode; in perm_fn()
|
D | unsquashfs.c | 98 { S_IFMT, S_IFSOCK, 0, 's' }, 99 { S_IFMT, S_IFLNK, 0, 'l' }, 100 { S_IFMT, S_IFBLK, 0, 'b' }, 101 { S_IFMT, S_IFDIR, 0, 'd' }, 102 { S_IFMT, S_IFCHR, 0, 'c' }, 103 { S_IFMT, S_IFIFO, 0, 'p' }, 559 switch(inode->mode & S_IFMT) { in print_filename() 586 if((inode->mode & S_IFMT) == S_IFLNK) in print_filename()
|
D | sort.c | 202 switch(buf->st_mode & S_IFMT) { in generate_file_priorities()
|
D | pseudo.c | 508 entry->dev->mode & ~S_IFMT, entry->dev->uid, in dump_pseudo()
|
/external/webrtc/test/testsupport/ |
D | fileutils.cc | 23 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/external/toybox/toys/posix/ |
D | cpio.c | 186 if (fd != -1 && !fstat(fd, &st) && (st.st_mode&S_IFMT) == mode) in cpio_main()
|
/external/deqp/framework/delibs/decpp/ |
D | deFilePath.cpp | 189 int type = st.st_mode & S_IFMT; in getType()
|
/external/lz4/programs/ |
D | bench.c | 75 # define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)
|
/external/elfutils/src/libdwfl/ |
D | linux-proc-maps.c | 355 if (stat (module_name, &sb) == -1 || (sb.st_mode & S_IFMT) != S_IFREG) in dwfl_linux_proc_find_elf()
|
/external/toybox/toys/pending/ |
D | tar.c | 234 error_msg("unknown file type '%o'", st->st_mode & S_IFMT); in add_file() 393 switch (file_hdr->mode & S_IFMT) { in extract_to_disk()
|
/external/openssh/ |
D | defines.h | 158 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
|
/external/zlib/src/examples/ |
D | gun.c | 523 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG) in copymeta()
|