Searched refs:ScopedDir (Results 1 – 11 of 11) sorted by relevance
286 struct ScopedDir { struct288 ScopedDir(const Twine &Name, bool Unique=false) { in ScopedDir() function300 ~ScopedDir() { in ~ScopedDir() argument309 ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); in TEST()317 ScopedDir _a(TestDirectory+"/a"); in TEST()318 ScopedDir _ab(TestDirectory+"/a/b"); in TEST()319 ScopedDir _c(TestDirectory+"/c"); in TEST()320 ScopedDir _cd(TestDirectory+"/c/d"); in TEST()336 ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); in TEST()344 ScopedDir _a(TestDirectory+"/a"); in TEST()[all …]
142 base::ScopedDir proc_dir = OpenProcDir(); in WriteAllProcesses()149 base::ScopedDir task_dir(opendir(task_path)); in WriteAllProcesses()255 base::ScopedDir ProcessStatsDataSource::OpenProcDir() { in OpenProcDir()256 base::ScopedDir proc_dir(opendir("/proc")); in OpenProcDir()367 base::ScopedDir proc_dir = OpenProcDir(); in WriteAllProcessStats()
47 MOCK_METHOD0(OpenProcDir, base::ScopedDir());304 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()377 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()
70 virtual base::ScopedDir OpenProcDir();
29 using ScopedDir = ScopedResource<DIR*, closedir>; variable
34 ScopedDir autoclose(root_dir); in ForEachPidInProcPath()
31 base::ScopedDir proc_dir(opendir("/proc")); in ForEachPid()
67 base::ScopedDir current_dir_handle_;
99 using ScopedDir = ScopedResource<DIR*, closedir, nullptr>; variable
53 ScopedDir scoped_dir(dir_handle); in TEST()
285 base::ScopedDir dir(opendir(full_path.c_str())); in GetEventNamesForGroup()