Home
last modified time | relevance | path

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

/bionic/libc/kernel/uapi/asm-arm/asm/
Dstat.h25 unsigned short st_mode; member
42 unsigned short st_mode; member
70 unsigned int st_mode; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dstat.h29 unsigned short st_mode; member
58 unsigned int st_mode; member
88 unsigned int st_mode; member
115 unsigned short st_mode; member
/bionic/libc/kernel/uapi/asm-mips/asm/
Dstat.h30 mode_t st_mode; member
57 mode_t st_mode; member
86 mode_t st_mode; member
/bionic/libc/kernel/uapi/asm-generic/
Dstat.h27 unsigned int st_mode; member
56 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/
Dremove.c46 if (S_ISDIR(st.st_mode)) in remove()
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/tests/
Dftw_test.cpp54 if (S_ISDIR(sb->st_mode)) { in sanity_check_ftw()
56 } else if (S_ISLNK(sb->st_mode)) { in sanity_check_ftw()
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()
Dstdio_test.cpp67 ASSERT_EQ(sb.st_mode & 0777, 0600U); in TEST()
/bionic/libc/bionic/
Dgetentropy_linux.c255 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) { in getentropy_urandom()
492 if (S_ISREG(st.st_mode) || in getentropy_fallback()
493 S_ISFIFO(st.st_mode) || in getentropy_fallback()
494 S_ISSOCK(st.st_mode)) { in getentropy_fallback()
502 if (S_ISCHR(st.st_mode)) { in getentropy_fallback()
505 } else if (S_ISSOCK(st.st_mode)) { in getentropy_fallback()
Ddirent.cpp82 if (!S_ISDIR(sb.st_mode)) { in fdopendir()
Dfts.c833 if (S_ISDIR(sbp->st_mode)) { in fts_stat()
862 if (S_ISLNK(sbp->st_mode)) in fts_stat()
864 if (S_ISREG(sbp->st_mode)) in fts_stat()
Dsystem_properties.cpp289 || ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) in map_fd_ro()
998 return S_ISDIR(info.st_mode); in is_dir()
/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/linker/
Dlinker.cpp449 if (S_ISDIR(s.st_mode)) { in resolve_paths()