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()
828 DIR* c_dir = opendir(vdex_dir.c_str()); in UnlinkLeastRecentlyUsedVdexIfNeeded() local829 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()