Searched refs:st_mode (Results 1 – 17 of 17) sorted by relevance
| /system/ulib/fuzz-utils/ |
| A D | path.cpp | 74 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 D | posix.h | 150 mode_t st_mode; // file mode member 164 mode_t st_mode; // file mode member
|
| /system/host/fidl/lib/ |
| A D | source_manager.cpp | 17 if ((s.st_mode & S_IFREG) != S_IFREG) in CreateSource()
|
| /system/utest/fdio/ |
| A D | fdio_handle_fd.c | 61 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 D | runtests-utils.cpp | 221 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 D | discover-and-run-tests.cpp | 285 if (output_dir != nullptr && stat(output_dir, &st) < 0 && (st.st_mode & S_IFMT) == S_IFDIR) { in DiscoverAndRunTests()
|
| /system/utest/fuzz-utils/ |
| A D | fixture.cpp | 106 ASSERT_TRUE(S_ISDIR(buf.st_mode)); in CreateDirectory()
|
| /system/host/merkleroot/ |
| A D | merkleroot.cpp | 83 if (!S_ISREG(info.st_mode)) { in handle_entry()
|
| /system/core/netsvc/ |
| A D | netfile.c | 65 if (stat(filename, &st) == 0 && S_ISDIR(st.st_mode)) { in netfile_open()
|
| /system/uapp/aslr-analysis/ |
| A D | main.cpp | 60 if (stat(kBinName, &stat_info) != 0 || !S_ISREG(stat_info.st_mode)) { in main()
|
| /system/host/minfs/ |
| A D | main.cpp | 73 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 D | filesystems.cpp | 245 } else if (!S_ISDIR(st.st_mode)) { in mount_memfs()
|
| /system/ulib/fs-host/ |
| A D | common.cpp | 513 bool is_block = S_ISBLK(stats.st_mode); in ResizeFile()
|
| /system/ulib/fvm-host/container/ |
| A D | fvm.cpp | 67 if (S_ISBLK(s.st_mode)) { in FvmContainer()
|
| /system/ulib/minfs/ |
| A D | host.cpp | 36 s->st_mode = a.mode; in do_stat()
|
| /system/host/zbi/ |
| A D | zbi.cpp | 744 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 D | unistd.c | 908 s->st_mode = attr.mode; in fdio_stat()
|
Completed in 37 milliseconds