Searched refs:ScopedDir (Results 1 – 15 of 15) sorted by relevance
150 base::ScopedDir proc_dir = OpenProcDir(); in WriteAllProcesses()157 base::ScopedDir task_dir(opendir(task_path)); in WriteAllProcesses()273 base::ScopedDir ProcessStatsDataSource::OpenProcDir() { in OpenProcDir()274 base::ScopedDir proc_dir(opendir("/proc")); in OpenProcDir()289 base::ScopedDir ProcessStatsDataSource::OpenProcTaskDir(int32_t pid) { in OpenProcTaskDir()292 return base::ScopedDir(opendir(task_path)); in OpenProcTaskDir()396 base::ScopedDir proc_dir = OpenProcDir(); in WriteAllProcessStats()
59 MOCK_METHOD0(OpenProcDir, base::ScopedDir());61 MOCK_METHOD1(OpenProcTaskDir, base::ScopedDir(int32_t pid));343 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()420 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()506 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()524 return base::ScopedDir(opendir(fake_proc_task.path().c_str())); in TEST_F()551 return base::ScopedDir(opendir(fake_ignored_proc_task.path().c_str())); in TEST_F()
74 virtual base::ScopedDir OpenProcDir();76 virtual base::ScopedDir OpenProcTaskDir(int32_t pid);
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 …]
29 using ScopedDir = ScopedResource<DIR*, closedir>; variable
34 ScopedDir autoclose(root_dir); in ForEachPidInProcPath()
67 base::ScopedDir current_dir_handle_;
221 base::ScopedDir devfreq_dir = OpenDevfreqDir(); in ReadDevfreq()237 base::ScopedDir SysStatsDataSource::OpenDevfreqDir() { in OpenDevfreqDir()239 base::ScopedDir devfreq_dir(opendir(base_dir)); in OpenDevfreqDir()
68 virtual base::ScopedDir OpenDevfreqDir();
206 MOCK_METHOD0(OpenDevfreqDir, base::ScopedDir());393 return base::ScopedDir(opendir(fake_devfreq_symdir.path().c_str())); in TEST_F()
41 base::ScopedDir proc_dir(opendir("/proc")); in ForEachPid()
116 using ScopedDir = ScopedResource<DIR*, closedir, nullptr>; variable
46 base::ScopedDir cpu_dir(opendir(cpu_dir_path.c_str())); in CpuFreqInfo()
54 ScopedDir scoped_dir(dir_handle); in TEST()
336 base::ScopedDir dir(opendir(full_path.c_str())); in GetEventNamesForGroup()