Searched refs:HasOpenDirectory (Results 1 – 4 of 4) sorted by relevance
27 TEST(ProcUtil, HasOpenDirectory) { in TEST() argument29 EXPECT_FALSE(ProcUtil::HasOpenDirectory()); in TEST()34 EXPECT_TRUE(ProcUtil::HasOpenDirectory()); in TEST()36 EXPECT_FALSE(ProcUtil::HasOpenDirectory()); in TEST()46 EXPECT_TRUE(ProcUtil::HasOpenDirectory()); in TEST()48 EXPECT_FALSE(ProcUtil::HasOpenDirectory(proc_fd)); in TEST()54 EXPECT_TRUE(ProcUtil::HasOpenDirectory(proc_fd)); in TEST()59 EXPECT_FALSE(ProcUtil::HasOpenDirectory(proc_fd)); in TEST()
71 bool ProcUtil::HasOpenDirectory(int proc_fd) { in HasOpenDirectory() function in sandbox::ProcUtil108 bool ProcUtil::HasOpenDirectory() { in HasOpenDirectory() function in sandbox::ProcUtil111 return HasOpenDirectory(proc_fd.get()); in HasOpenDirectory()
30 static bool HasOpenDirectory(int proc_fd) WARN_UNUSED_RESULT;31 static bool HasOpenDirectory() WARN_UNUSED_RESULT;
319 CHECK(!ProcUtil::HasOpenDirectory(proc_fd)); in DropFileSystemAccess()