Searched refs:S_ISREG (Results 1 – 7 of 7) sorted by relevance
41 #if !defined(S_ISREG)42 #error S_ISREG
35 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
152 ASSERT_TRUE(S_ISREG(st.st_mode)) << exe << " is not a file, or doesn't exist."; in TEST_F()
553 return stat(file.c_str(), &st) != -1 && S_ISREG(st.st_mode); in FileExists()
540 if (!S_ISDIR(st.st_mode) && !S_ISREG(st.st_mode)) { in main()
855 if (S_ISREG(sbp->st_mode)) in fts_stat()
156 return S_ISREG(s.st_mode); in file_exists()