Searched refs:st_mode (Results 1 – 19 of 19) sorted by relevance
24 unsigned short st_mode; member38 unsigned short st_mode; member60 unsigned int st_mode; member
27 unsigned short st_mode; member51 unsigned int st_mode; member75 unsigned int st_mode; member97 unsigned short st_mode; member
28 mode_t st_mode; member50 mode_t st_mode; member73 mode_t st_mode; member
26 unsigned int st_mode; member49 unsigned int st_mode; member
38 mode_t st_mode; member59 st->st_mode = static_cast<mode_t>(s->st_mode); in copy_stat()
91 *couldbetty = S_ISCHR(st.st_mode); in __swhatbuf()104 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ? in __swhatbuf()
43 mode_t st_mode; \64 mode_t st_mode; \83 mode_t st_mode; \101 unsigned int st_mode; \
244 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()
82 if (!S_ISDIR(sb.st_mode)) { in fdopendir()
835 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()
275 ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) || in map_fd_ro()1073 return S_ISDIR(info.st_mode); in is_dir()
82 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()
65 if (S_ISDIR(sb->st_mode)) { in sanity_check_ftw()71 } else if (S_ISLNK(sb->st_mode)) { in sanity_check_ftw()
93 ASSERT_EQ(sb.st_mode & 0777, 0600U); in TEST()
169 if (S_ISLNK(sb.st_mode)) { in realpath()220 } else if (!S_ISDIR(sb.st_mode) && p != NULL) { in realpath()
39 if (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) { in is_directory()
106 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()
213 if (S_ISDIR(s.st_mode)) { in resolve_paths()
142 return S_ISREG(s.st_mode); in file_exists()