Searched refs:CountOpenFds (Results 1 – 3 of 3) sorted by relevance
16 TEST(ProcUtil, CountOpenFds) { in TEST() argument19 int fd_count = ProcUtil::CountOpenFds(proc_fd.get()); in TEST()22 EXPECT_EQ(fd_count + 1, ProcUtil::CountOpenFds(proc_fd.get())); in TEST()24 EXPECT_EQ(fd_count, ProcUtil::CountOpenFds(proc_fd.get())); in TEST()
19 static int CountOpenFds(int proc_fd);
41 int ProcUtil::CountOpenFds(int proc_fd) { in CountOpenFds() function in sandbox::ProcUtil