Home
last modified time | relevance | path

Searched refs:st_mode (Results 1 – 19 of 19) 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-mips/asm/
Dstat.h28 mode_t st_mode; member
50 mode_t st_mode; member
73 mode_t st_mode; member
/bionic/libc/kernel/uapi/asm-generic/
Dstat.h26 unsigned int st_mode; member
49 unsigned int st_mode; member
/bionic/libc/arch-mips64/bionic/
Dstat.cpp38 mode_t st_mode; member
59 st->st_mode = static_cast<mode_t>(s->st_mode); in copy_stat()
/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.h43 mode_t st_mode; \
64 mode_t st_mode; \
83 mode_t st_mode; \
101 unsigned int st_mode; \
/bionic/libc/bionic/
Dgetentropy_linux.c244 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) { in getentropy_urandom()
480 if (S_ISREG(st.st_mode) || in getentropy_fallback()
481 S_ISFIFO(st.st_mode) || in getentropy_fallback()
482 S_ISSOCK(st.st_mode)) { in getentropy_fallback()
490 if (S_ISCHR(st.st_mode)) { in getentropy_fallback()
493 } else if (S_ISSOCK(st.st_mode)) { in getentropy_fallback()
Ddirent.cpp82 if (!S_ISDIR(sb.st_mode)) { in fdopendir()
Dfts.c835 if (S_ISDIR(sbp->st_mode)) { in fts_stat()
864 if (S_ISLNK(sbp->st_mode)) in fts_stat()
866 if (S_ISREG(sbp->st_mode)) in fts_stat()
Dsystem_properties.cpp275 ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) || in map_fd_ro()
1073 return S_ISDIR(info.st_mode); in is_dir()
/bionic/tests/
Dsys_stat_test.cpp82 ASSERT_TRUE(S_ISFIFO(sb.st_mode)); in TEST()
145 ASSERT_EQ(expected_mode & mask, static_cast<mode_t>(sb.st_mode) & mask); in AssertFileModeEquals()
202 ASSERT_EQ(expected_mode & mask, static_cast<mode_t>(sb.st_mode) & mask); in AssertSymlinkModeEquals()
224 AssertFileModeEquals(tf_sb.st_mode, tf.filename); in TEST()
Dftw_test.cpp65 if (S_ISDIR(sb->st_mode)) { in sanity_check_ftw()
71 } else if (S_ISLNK(sb->st_mode)) { in sanity_check_ftw()
Dstdio_test.cpp93 ASSERT_EQ(sb.st_mode & 0777, 0600U); in TEST()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Drealpath.c169 if (S_ISLNK(sb.st_mode)) { in realpath()
220 } else if (!S_ISDIR(sb.st_mode) && p != NULL) { in realpath()
/bionic/tools/versioner/src/
DUtils.h39 if (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) { in is_directory()
Dversioner.cpp106 if (!S_ISDIR(st.st_mode)) { in collectRequirements()
505 if (!S_ISDIR(st.st_mode)) { in main()
601 } else if (!S_ISDIR(st.st_mode)) { in main()
/bionic/linker/
Dlinker_utils.cpp213 if (S_ISDIR(s.st_mode)) { in resolve_paths()
Dlinker.cpp142 return S_ISREG(s.st_mode); in file_exists()