Home
last modified time | relevance | path

Searched refs:dir_ptr (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/dumpstate/
DDumpPool.cpp131 std::unique_ptr<DIR, decltype(&closedir)> dir_ptr(opendir(folder.c_str()), in deleteTempFiles() local
133 if (!dir_ptr) { in deleteTempFiles()
137 int dir_fd = dirfd(dir_ptr.get()); in deleteTempFiles()
145 while ((de = readdir(dir_ptr.get()))) { in deleteTempFiles()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1678 std::unique_ptr<DIR, decltype(&closedir)> dir_ptr(opendir(folder.c_str()), in getTempFileCounts() local
1680 if (!dir_ptr) { in getTempFileCounts()
1683 int dir_fd = dirfd(dir_ptr.get()); in getTempFileCounts()
1689 while ((de = readdir(dir_ptr.get()))) { in getTempFileCounts()