Searched refs:c_dir (Results 1 – 2 of 2) sorted by relevance
50 DIR* c_dir = opendir(dir.c_str()); in DeleteDirectoryContents() local51 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()
594 DIR* c_dir = opendir(vdex_dir.c_str()); in UnlinkLeastRecentlyUsedVdexIfNeeded() local595 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()