Searched refs:st_mode (Results 1 – 8 of 8) sorted by relevance
40 return S_ISFIFO(file_stat.st_mode); in IsFifo()44 return S_ISSOCK(file_stat.st_mode); in IsSocket()48 return S_ISLNK(file_stat.st_mode); in IsSymlink()52 return S_ISREG(file_stat.st_mode); in IsRegular()
51 if ((statbuf.st_mode & S_IFMT) != S_IFDIR) { in CleanPriorFiles()94 bool is_directory = (statbuf.st_mode & S_IFMT) == S_IFDIR; in CleanPriorFiles()
593 bool st_mode; member1500 if (T(self_test).st_mode) {1735 T(self_test).st_mode,1743 if (T(self_test).st_mode) {1751 if (!T(self_test).st_mode) {1752 T(self_test).st_mode = true;1828 T(self_test).st_mode = false;1846 T(self_test).st_mode = false;
144 return ((buf.st_mode & S_IFCHR) != 0); in has_dev_urandom()
165 if ((st.st_mode & S_IFMT) != S_IFDIR) { in DirectoryExists()540 return stat(path.c_str(), &st) == 0 && S_ISSOCK(st.st_mode); in FileIsSocket()
106 return S_ISREG(info.st_mode); in IsRegularFile()