Searched refs:st_mode (Results 1 – 13 of 13) sorted by relevance
| /third_party/uapp/dash/src/bltin/ |
| A D | test.c | 409 return S_ISREG(s.st_mode); in filstat() 411 return S_ISDIR(s.st_mode); in filstat() 413 return S_ISCHR(s.st_mode); in filstat() 415 return S_ISBLK(s.st_mode); in filstat() 417 return S_ISFIFO(s.st_mode); in filstat() 419 return S_ISSOCK(s.st_mode); in filstat() 421 return S_ISLNK(s.st_mode); in filstat() 423 return (s.st_mode & S_ISUID) != 0; in filstat() 425 return (s.st_mode & S_ISGID) != 0; in filstat() 427 return (s.st_mode & S_ISVTX) != 0; in filstat() [all …]
|
| A D | zircon.c | 104 printf("%s %8jd %s\n", modestr(s.st_mode), (intmax_t)s.st_size, dirn); in zxc_ls() 113 printf("%s %2ju %8jd %s\n", modestr(s.st_mode), s.st_nlink, in zxc_ls() 159 if (!is_mv && S_ISDIR(statbuf.st_mode)) { in verify_file() 307 if (S_ISDIR(statbuf.st_mode)) { in zxc_mv_or_cp() 378 if (S_ISDIR(st.st_mode)) { in zxc_rm_recursive()
|
| /third_party/lib/acpica/source/os_specific/service_layers/ |
| A D | osunixdir.c | 181 if ((S_ISDIR (temp_stat.st_mode) in AcpiOsGetNextFilename() 184 ((!S_ISDIR (temp_stat.st_mode) in AcpiOsGetNextFilename()
|
| /third_party/ulib/musl/include/bits/x86_64/ |
| A D | stat.h | 9 mode_t st_mode; member
|
| /third_party/ulib/musl/include/bits/aarch64/ |
| A D | stat.h | 4 mode_t st_mode; member
|
| /third_party/ulib/musl/src/misc/ |
| A D | nftw.c | 37 } else if (S_ISDIR(st.st_mode)) { in do_nftw() 44 } else if (S_ISLNK(st.st_mode)) { in do_nftw()
|
| /third_party/uapp/dash/src/ |
| A D | exec.c | 415 if (!S_ISREG(statb.st_mode)) in find_command() 431 if ((statb.st_mode & 0100) == 0) in find_command() 434 if ((statb.st_mode & 010) == 0) in find_command() 437 if ((statb.st_mode & 01) == 0) in find_command()
|
| A D | redir.c | 192 } else if (!S_ISREG(sb.st_mode)) { in openredirect() 195 if (fstat(f, &sb) < 0 && S_ISREG(sb.st_mode)) { in openredirect()
|
| A D | cd.c | 133 if (stat(p, &statb) >= 0 && S_ISDIR(statb.st_mode)) { in cdcmd()
|
| A D | main.c | 338 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) { in find_dot_file()
|
| /third_party/ulib/musl/src/regex/ |
| A D | glob.c | 83 if (!stat(d, &st) && S_ISDIR(st.st_mode)) { in match_in_dir() 126 mark = S_ISDIR(st.st_mode); in match_in_dir()
|
| /third_party/lib/acpica/source/tools/acpisrc/ |
| A D | asmain.c | 129 if (Gbl_StatBuf.st_mode & S_IFDIR) in AsExaminePaths()
|
| /third_party/uapp/mkfs-msdosfs/ |
| A D | mkfs_msdos.c | 233 if (!S_ISREG(sb.st_mode)) in mkfs_msdos() 236 if (o.disk_size != -1 && !S_ISCHR(sb.st_mode)) in mkfs_msdos() 353 if (!S_ISREG(sb.st_mode) || sb.st_size % bpb.bpbBytesPerSec || in mkfs_msdos()
|
Completed in 22 milliseconds