Home
last modified time | relevance | path

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

/system/ulib/fuzz-utils/
A Dpath.cpp74 if (!S_ISREG(buf.st_mode)) { in GetSize()
75 xprintf("Not a regular file (%08x): %s\n", buf.st_mode, abspath.c_str()); in GetSize()
111 if (stat(abspath.c_str(), &buf) == 0 && S_ISDIR(buf.st_mode)) { in Ensure()
145 if (!S_ISDIR(buf.st_mode)) { in Push()
188 } else if (S_ISDIR(buf.st_mode)) { in Remove()
/system/ulib/ftl/inc/
A Dposix.h150 mode_t st_mode; // file mode member
164 mode_t st_mode; // file mode member
/system/host/fidl/lib/
A Dsource_manager.cpp17 if ((s.st_mode & S_IFREG) != S_IFREG) in CreateSource()
/system/utest/fdio/
A Dfdio_handle_fd.c61 ASSERT_EQ(st.st_mode & S_IFMT, (mode_t) S_IFIFO, "Unexpected mode"); in pipe_test()
63 ASSERT_EQ(st.st_mode & S_IFMT, (mode_t) S_IFIFO, "Unexpected mode"); in pipe_test()
/system/ulib/runtests-utils/
A Druntests-utils.cpp221 if (!S_ISDIR(st.st_mode)) { in DiscoverTestsInDirGlobs()
257 if (stat(test_path.c_str(), &st) != 0 || !S_ISREG(st.st_mode)) { in DiscoverTestsInDirGlobs()
A Ddiscover-and-run-tests.cpp285 if (output_dir != nullptr && stat(output_dir, &st) < 0 && (st.st_mode & S_IFMT) == S_IFDIR) { in DiscoverAndRunTests()
/system/utest/fuzz-utils/
A Dfixture.cpp106 ASSERT_TRUE(S_ISDIR(buf.st_mode)); in CreateDirectory()
/system/host/merkleroot/
A Dmerkleroot.cpp83 if (!S_ISREG(info.st_mode)) { in handle_entry()
/system/core/netsvc/
A Dnetfile.c65 if (stat(filename, &st) == 0 && S_ISDIR(st.st_mode)) { in netfile_open()
/system/uapp/aslr-analysis/
A Dmain.cpp60 if (stat(kBinName, &stat_info) != 0 || !S_ISREG(stat_info.st_mode)) { in main()
/system/host/minfs/
A Dmain.cpp73 if (S_ISDIR(s.st_mode)) { in IsDirectory()
431 fprintf(stdout, "%s %8jd %s\n", GetModeString(stats.st_mode), in Ls()
/system/utest/fs/
A Dfilesystems.cpp245 } else if (!S_ISDIR(st.st_mode)) { in mount_memfs()
/system/ulib/fs-host/
A Dcommon.cpp513 bool is_block = S_ISBLK(stats.st_mode); in ResizeFile()
/system/ulib/fvm-host/container/
A Dfvm.cpp67 if (S_ISBLK(s.st_mode)) { in FvmContainer()
/system/ulib/minfs/
A Dhost.cpp36 s->st_mode = a.mode; in do_stat()
/system/host/zbi/
A Dzbi.cpp744 if (!S_ISREG(st.st_mode)) { in RequireRegularFile()
895 if (S_ISDIR(st.st_mode)) { in Next()
1992 if (input_manifest && S_ISDIR(st.st_mode)) { in main()
/system/ulib/fdio/
A Dunistd.c908 s->st_mode = attr.mode; in fdio_stat()

Completed in 37 milliseconds