Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dimage_space_fs.h47 DIR* c_dir = opendir(dir.c_str()); in DeleteDirectoryContents() local
48 if (c_dir == nullptr) { in DeleteDirectoryContents()
53 for (struct dirent* de = readdir(c_dir); de != nullptr; de = readdir(c_dir)) { in DeleteDirectoryContents()
79 CHECK_EQ(0, closedir(c_dir)) << "Unable to close directory."; in DeleteDirectoryContents()
86 DIR* c_dir = opendir(dir); in HasContent() local
87 if (c_dir == nullptr) { in HasContent()
92 for (struct dirent* de = readdir(c_dir); de != nullptr; de = readdir(c_dir)) { in HasContent()
98 CHECK_EQ(0, closedir(c_dir)) << "Unable to close directory."; in HasContent()
101 CHECK_EQ(0, closedir(c_dir)) << "Unable to close directory."; in HasContent()