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.cc828 DIR* c_dir = opendir(vdex_dir.c_str()); in UnlinkLeastRecentlyUsedVdexIfNeeded() local
829 if (c_dir == nullptr) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
833 for (struct dirent* de = readdir(c_dir); de != nullptr; de = readdir(c_dir)) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
852 CHECK_EQ(0, closedir(c_dir)) << "Unable to close directory."; in UnlinkLeastRecentlyUsedVdexIfNeeded()