Searched refs:S_ISREG (Results 1 – 6 of 6) 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()
555 return stat(file.c_str(), &st) != -1 && S_ISREG(st.st_mode); in FileExists()
542 if (!S_ISDIR(st.st_mode) && !S_ISREG(st.st_mode)) { in main()
868 if (S_ISREG(sbp->st_mode)) in fts_stat()