/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | stat.h | 24 unsigned short st_mode; member 38 unsigned short st_mode; member 60 unsigned int st_mode; member
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | stat.h | 27 unsigned short st_mode; member 51 unsigned int st_mode; member 75 unsigned int st_mode; member 97 unsigned short st_mode; member
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | stat.h | 26 unsigned int st_mode; member 49 unsigned int st_mode; member
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | makebuf.c | 91 *couldbetty = S_ISCHR(st.st_mode); in __swhatbuf() 104 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ? in __swhatbuf()
|
/bionic/libc/include/sys/ |
D | stat.h | 47 mode_t st_mode; \ 68 mode_t st_mode; \ 86 unsigned int st_mode; \
|
/bionic/tests/ |
D | sys_stat_test.cpp | 89 ASSERT_TRUE(S_ISFIFO(sb.st_mode)); in TEST() 117 EXPECT_EQ(sb.st_mode, sx.stx_mode); in TEST() 174 ASSERT_EQ(expected_mode & mask, static_cast<mode_t>(sb.st_mode) & mask); in AssertFileModeEquals() 231 ASSERT_EQ(expected_mode & mask, static_cast<mode_t>(sb.st_mode) & mask); in AssertSymlinkModeEquals() 253 AssertFileModeEquals(tf_sb.st_mode, tf.path); in TEST()
|
D | ftw_test.cpp | 65 if (S_ISDIR(sb->st_mode)) { in smoke_test_ftw() 71 } else if (S_ISLNK(sb->st_mode)) { in smoke_test_ftw()
|
D | fcntl_test.cpp | 331 ASSERT_EQ(perms, (sb.st_mode & ~S_IFMT)); in TEST() 344 ASSERT_EQ(perms, (sb.st_mode & ~S_IFMT)); in TEST()
|
D | stdio_test.cpp | 126 ASSERT_EQ(sb.st_mode & 0777, 0600U); in TEST()
|
/bionic/tests/headers/posix/ |
D | sys_stat_h.c | 46 STRUCT_MEMBER(struct stat, unsigned int, st_mode); in sys_stat_h() 48 STRUCT_MEMBER(struct stat, mode_t, st_mode); in sys_stat_h()
|
/bionic/tools/versioner/src/ |
D | Utils.h | 41 if (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) { in is_directory()
|
D | versioner.cpp | 95 return stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode); in is_dir() 129 if (!S_ISDIR(st.st_mode)) { in collectRequirements() 542 if (!S_ISDIR(st.st_mode) && !S_ISREG(st.st_mode)) { in main()
|
/bionic/linker/ |
D | linker_utils.cpp | 223 if (!S_ISDIR(s.st_mode)) { in resolve_path() 247 if (stat(normalized_path.c_str(), &s) == 0 && S_ISDIR(s.st_mode)) { in resolve_path()
|
/bionic/libc/bionic/ |
D | dirent.cpp | 94 if (!S_ISDIR(sb.st_mode)) { in fdopendir()
|
D | fts.c | 837 if (S_ISDIR(sbp->st_mode)) { in fts_stat() 866 if (S_ISLNK(sbp->st_mode)) in fts_stat() 868 if (S_ISREG(sbp->st_mode)) in fts_stat()
|
/bionic/benchmarks/tests/ |
D | interface_test.cpp | 152 ASSERT_TRUE(S_ISREG(st.st_mode)) << exe << " is not a file, or doesn't exist."; in TEST_F()
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | glob.c | 670 (S_ISDIR(sb.st_mode) || in glob2() 671 (S_ISLNK(sb.st_mode) && in glob2() 673 S_ISDIR(sb.st_mode)))) { in glob2()
|
/bionic/libc/system_properties/ |
D | system_properties.cpp | 58 return S_ISDIR(info.st_mode); in is_dir()
|
D | prop_area.cpp | 114 ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) || in map_fd_ro()
|
/bionic/benchmarks/ |
D | bionic_benchmarks.cpp | 555 return stat(file.c_str(), &st) != -1 && S_ISREG(st.st_mode); in FileExists()
|