/external/ipsec-tools/src/racoon/ |
H A D | safefile.c | 73 switch (s.st_mode & S_IFMT) { 79 (s.st_mode & S_IFMT)); 85 if ((s.st_mode & S_IRWXG) != 0 || (s.st_mode & S_IRWXO) != 0) {
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
H A D | stat.h | 7 unsigned short st_mode; member in struct:__old_kernel_stat 28 unsigned short st_mode; member in struct:stat 62 unsigned int st_mode; member in struct:stat64
|
/external/vboot_reference/futility/ |
H A D | file_type.c | 94 if (S_ISREG(sb.st_mode) || S_ISBLK(sb.st_mode)) { 108 } else if (S_ISDIR(sb.st_mode)) { 110 } else if (S_ISCHR(sb.st_mode)) { 112 } else if (S_ISFIFO(sb.st_mode)) { 114 } else if (S_ISSOCK(sb.st_mode)) {
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | stat.h | 26 unsigned int st_mode; /* File mode. */ member in struct:stat 51 unsigned int st_mode; /* File mode. */ member in struct:stat64
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
H A D | stat.h | 12 unsigned short st_mode; member in struct:stat 47 unsigned int st_mode; member in struct:stat64 87 unsigned int st_mode; member in struct:stat 119 unsigned short st_mode; member in struct:__old_kernel_stat
|
/external/toybox/toys/other/ |
H A D | lsattr.c | 82 if(!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { 95 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) { 147 if (S_ISDIR(root->st.st_mode) && !root->parent) 154 if (S_ISDIR(root->st.st_mode) && (toys.optflags & FLAG_R) 173 else if (S_ISDIR(sb.st_mode) && !(toys.optflags & FLAG_d)) 198 if (!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { 268 if ((S_ISLNK(root->st.st_mode) [all...] |
H A D | switch_root.c | 34 if (S_ISDIR(node->st.st_mode)) { 71 if (stat("init", &st1) || !S_ISREG(st1.st_mode) || !(st1.st_mode&0100)) {
|
H A D | which.c | 34 if (!stat(filename, &st) && S_ISREG(st.st_mode)) {
|
H A D | mountpoint.c | 39 if (S_ISBLK(st1.st_mode)) { 48 if (!S_ISDIR(st1.st_mode)) die("directory");
|
H A D | stat.c | 65 if (type == 'a') xprintf("%lo", stat->st_mode & ~S_IFMT); 69 mode_to_string(stat->st_mode, str); 75 else if (type == 'f') xprintf("%lx", stat->st_mode); 79 int i, filetype = stat->st_mode & S_IFMT; 90 if (S_ISLNK(stat->st_mode))
|
/external/toybox/toys/pending/ |
H A D | test.c | 65 nolink = !S_ISLNK(st.st_mode); 68 if (id == 0) toys.exitval = !S_ISBLK(st.st_mode); // b 69 else if (id == 1) toys.exitval = !S_ISCHR(st.st_mode); // c 70 else if (id == 2) toys.exitval = !S_ISDIR(st.st_mode); // d 72 else if (id == 4) toys.exitval = !S_ISREG(st.st_mode); // f 73 else if (id == 5) toys.exitval = !(st.st_mode & S_ISGID); // g 75 else if (id == 8) toys.exitval = !S_ISFIFO(st.st_mode); // p 76 else if (id == 9) toys.exitval = !S_ISSOCK(st.st_mode); // S 78 else toys.exitval = !(st.st_mode & S_ISUID); // u
|
/external/e2fsprogs/lib/e2p/ |
H A D | getflags.c | 58 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode))
|
H A D | setflags.c | 64 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
|
H A D | fgetflags.c | 71 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
|
H A D | fsetflags.c | 77 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
|
/external/f2fs-tools/mkfs/ |
H A D | f2fs_format_utils.c | 48 if (S_ISREG(stat_buf.st_mode)) { 56 } else if (S_ISBLK(stat_buf.st_mode)) {
|
/external/toybox/toys/posix/ |
H A D | cp.c | 115 if (S_ISDIR(try->st.st_mode) && try->again) { 121 if (S_ISLNK(try->st.st_mode) && (flags & FLAG_d)) flags |= FLAG_r; 138 if (!faccessat(cfd, catch, F_OK, 0) && !S_ISDIR(cst.st_mode)) { 170 if (S_ISDIR(try->st.st_mode)) { 186 if (!mkdirat(cfd, catch, try->st.st_mode | 0200) || errno == EEXIST) 188 if (!fstat(try->extra, &st2) && S_ISDIR(st2.st_mode)) 225 } else if (!S_ISREG(try->st.st_mode) 231 if (S_ISLNK(try->st.st_mode) 234 : !mknodat(cfd, catch, try->st.st_mode, try->st.st_rdev)) 249 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode); [all...] |
H A D | ln.c | 41 || !S_ISDIR(buf.st_mode)) 44 buf.st_mode = 0; 51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try));
|
H A D | chmod.c | 48 mode = string_to_mode(TT.mode, try->st.st_mode);
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
H A D | stat.h | 22 mode_t st_mode; member in struct:stat 57 mode_t st_mode; member in struct:stat64 98 mode_t st_mode; member in struct:stat
|
/external/strace/ |
H A D | printstat.h | 21 tprintf("{st_dev=makedev(%u, %u), st_ino=%llu, st_mode=%s, ", 25 sprintmode(statbuf->st_mode)); 38 tprintf("{st_mode=%s, ", sprintmode(statbuf->st_mode)); 41 switch (statbuf->st_mode & S_IFMT) {
|
/external/e2fsprogs/tests/progs/ |
H A D | hold_inode.c | 35 if (S_ISDIR(statbuf.st_mode)) {
|
/external/bison/lib/ |
H A D | stat.c | 86 if (result == 0 && !S_ISDIR (st->st_mode)) 129 if (result == 0 && check_dir && !S_ISDIR (st->st_mode))
|
/external/fio/lib/ |
H A D | linux-dev-lookup.c | 34 if (S_ISDIR(st.st_mode)) { 43 if (!S_ISBLK(st.st_mode))
|
/external/squashfs-tools/squashfs-tools/ |
H A D | android.c | 48 fs_config(path, S_ISDIR(stat->st_mode), target_out_path, 49 &stat->st_uid, &stat->st_gid, &stat->st_mode, &capabilities);
|