Home
last modified time | relevance | path

Searched refs:st_mode (Results 1 – 13 of 13) sorted by relevance

/third_party/uapp/dash/src/bltin/
A Dtest.c409 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 Dzircon.c104 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 Dosunixdir.c181 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 Dstat.h9 mode_t st_mode; member
/third_party/ulib/musl/include/bits/aarch64/
A Dstat.h4 mode_t st_mode; member
/third_party/ulib/musl/src/misc/
A Dnftw.c37 } 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 Dexec.c415 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 Dredir.c192 } else if (!S_ISREG(sb.st_mode)) { in openredirect()
195 if (fstat(f, &sb) < 0 && S_ISREG(sb.st_mode)) { in openredirect()
A Dcd.c133 if (stat(p, &statb) >= 0 && S_ISDIR(statb.st_mode)) { in cdcmd()
A Dmain.c338 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) { in find_dot_file()
/third_party/ulib/musl/src/regex/
A Dglob.c83 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 Dasmain.c129 if (Gbl_StatBuf.st_mode & S_IFDIR) in AsExaminePaths()
/third_party/uapp/mkfs-msdosfs/
A Dmkfs_msdos.c233 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