Home
last modified time | relevance | path

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

/bionic/libc/kernel/uapi/asm-arm/asm/
Dstat.h24 unsigned short st_mode; member
38 unsigned short st_mode; member
60 unsigned int st_mode; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dstat.h27 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/
Dstat.h26 unsigned int st_mode; member
49 unsigned int st_mode; member
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dmakebuf.c91 *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/
Dstat.h47 mode_t st_mode; \
68 mode_t st_mode; \
86 unsigned int st_mode; \
/bionic/tests/
Dsys_stat_test.cpp89 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()
Dftw_test.cpp65 if (S_ISDIR(sb->st_mode)) { in smoke_test_ftw()
71 } else if (S_ISLNK(sb->st_mode)) { in smoke_test_ftw()
Dfcntl_test.cpp331 ASSERT_EQ(perms, (sb.st_mode & ~S_IFMT)); in TEST()
344 ASSERT_EQ(perms, (sb.st_mode & ~S_IFMT)); in TEST()
Dstdio_test.cpp126 ASSERT_EQ(sb.st_mode & 0777, 0600U); in TEST()
/bionic/tests/headers/posix/
Dsys_stat_h.c46 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/
DUtils.h41 if (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) { in is_directory()
Dversioner.cpp95 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/
Dlinker_utils.cpp223 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/
Ddirent.cpp94 if (!S_ISDIR(sb.st_mode)) { in fdopendir()
Dfts.c837 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/
Dinterface_test.cpp152 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/
Dglob.c670 (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/
Dsystem_properties.cpp58 return S_ISDIR(info.st_mode); in is_dir()
Dprop_area.cpp114 ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) || in map_fd_ro()
/bionic/benchmarks/
Dbionic_benchmarks.cpp555 return stat(file.c_str(), &st) != -1 && S_ISREG(st.st_mode); in FileExists()