Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dimage_space_fs.h50 DIR* c_dir = opendir(dir.c_str()); in DeleteDirectoryContents() local
51 if (c_dir == nullptr) { in DeleteDirectoryContents()
56 for (struct dirent* de = readdir(c_dir); de != nullptr; de = readdir(c_dir)) { in DeleteDirectoryContents()
82 CHECK_EQ(0, closedir(c_dir)) << "Unable to close directory."; in DeleteDirectoryContents()
/art/runtime/
Doat_file_manager.cc594 DIR* c_dir = opendir(vdex_dir.c_str()); in UnlinkLeastRecentlyUsedVdexIfNeeded() local
595 if (c_dir == nullptr) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
599 for (struct dirent* de = readdir(c_dir); de != nullptr; de = readdir(c_dir)) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
618 CHECK_EQ(0, closedir(c_dir)) << "Unable to close directory."; in UnlinkLeastRecentlyUsedVdexIfNeeded()