Searched refs:st_mode (Results 1 - 25 of 28) sorted by relevance

12

/fuchsia/zircon/third_party/ulib/musl/include/bits/aarch64/
H A Dstat.h4 mode_t st_mode; member in struct:stat
/fuchsia/zircon/third_party/ulib/musl/include/bits/x86_64/
H A Dstat.h9 mode_t st_mode; member in struct:stat
/fuchsia/zircon/third_party/uapp/dash/src/bltin/
H A Dtest.c409 return S_ISREG(s.st_mode);
411 return S_ISDIR(s.st_mode);
413 return S_ISCHR(s.st_mode);
415 return S_ISBLK(s.st_mode);
417 return S_ISFIFO(s.st_mode);
419 return S_ISSOCK(s.st_mode);
421 return S_ISLNK(s.st_mode);
423 return (s.st_mode & S_ISUID) != 0;
425 return (s.st_mode & S_ISGID) != 0;
427 return (s.st_mode
[all...]
H A Dzircon.c104 printf("%s %8jd %s\n", modestr(s.st_mode), (intmax_t)s.st_size, dirn);
113 printf("%s %2ju %8jd %s\n", modestr(s.st_mode), s.st_nlink,
159 if (!is_mv && S_ISDIR(statbuf.st_mode)) {
307 if (S_ISDIR(statbuf.st_mode)) {
378 if (S_ISDIR(st.st_mode)) {
/fuchsia/zircon/third_party/lib/acpica/source/os_specific/service_layers/
H A Dosunixdir.c181 if ((S_ISDIR (temp_stat.st_mode)
184 ((!S_ISDIR (temp_stat.st_mode)
/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dnftw.c37 } else if (S_ISDIR(st.st_mode)) {
44 } else if (S_ISLNK(st.st_mode)) {
/fuchsia/zircon/system/ulib/fuzz-utils/
H A Dpath.cpp103 if (stat(abspath.c_str(), &buf) == 0 && S_ISDIR(buf.st_mode)) {
137 if (!S_ISDIR(buf.st_mode)) {
180 } else if (S_ISDIR(buf.st_mode)) {
/fuchsia/zircon/system/utest/fdio/
H A Dfdio_handle_fd.c61 ASSERT_EQ(st.st_mode & S_IFMT, (mode_t) S_IFIFO, "Unexpected mode");
63 ASSERT_EQ(st.st_mode & S_IFMT, (mode_t) S_IFIFO, "Unexpected mode");
/fuchsia/zircon/third_party/ulib/musl/src/regex/
H A Dglob.c83 if (!stat(d, &st) && S_ISDIR(st.st_mode)) {
126 mark = S_ISDIR(st.st_mode);
/fuchsia/zircon/system/host/merkleroot/
H A Dmerkleroot.cpp83 if (!S_ISREG(info.st_mode)) {
/fuchsia/zircon/system/utest/fuzz-utils/
H A Dfixture.cpp106 ASSERT_TRUE(S_ISDIR(buf.st_mode));
/fuchsia/zircon/third_party/lib/acpica/source/tools/acpisrc/
H A Dasmain.c129 if (Gbl_StatBuf.st_mode & S_IFDIR)
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dexec.c415 if (!S_ISREG(statb.st_mode))
431 if ((statb.st_mode & 0100) == 0)
434 if ((statb.st_mode & 010) == 0)
437 if ((statb.st_mode & 01) == 0)
H A Dcd.c133 if (stat(p, &statb) >= 0 && S_ISDIR(statb.st_mode)) {
H A Dredir.c192 } else if (!S_ISREG(sb.st_mode)) {
195 if (fstat(f, &sb) < 0 && S_ISREG(sb.st_mode)) {
H A Dmain.c338 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
/fuchsia/zircon/system/ulib/runtests-utils/
H A Druntests-utils.cpp219 if (!S_ISDIR(st.st_mode)) {
255 if (stat(test_path.c_str(), &st) != 0 || !S_ISREG(st.st_mode)) {
H A Ddiscover-and-run-tests.cpp266 if (output_dir != nullptr && stat(output_dir, &st) < 0 && (st.st_mode & S_IFMT) == S_IFDIR) {
/fuchsia/zircon/system/core/netsvc/
H A Dnetfile.c65 if (stat(filename, &st) == 0 && S_ISDIR(st.st_mode)) {
/fuchsia/zircon/system/uapp/aslr-analysis/
H A Dmain.cpp60 if (stat(kBinName, &stat_info) != 0 || !S_ISREG(stat_info.st_mode)) {
/fuchsia/zircon/system/host/minfs/
H A Dmain.cpp71 if (S_ISDIR(s.st_mode)) {
418 fprintf(stdout, "%s %8jd %s\n", GetModeString(stats.st_mode),
/fuchsia/zircon/system/utest/fs/
H A Dfilesystems.cpp240 } else if (!S_ISDIR(st.st_mode)) {
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/
H A Dmkfs_msdos.c233 if (!S_ISREG(sb.st_mode))
236 if (o.disk_size != -1 && !S_ISCHR(sb.st_mode))
353 if (!S_ISREG(sb.st_mode) || sb.st_size % bpb.bpbBytesPerSec ||
/fuchsia/zircon/system/ulib/fs-host/
H A Dcommon.cpp509 bool is_block = S_ISBLK(stats.st_mode);
/fuchsia/zircon/system/ulib/minfs/
H A Dhost.cpp35 s->st_mode = a.mode;

Completed in 91 milliseconds

12