Searched refs:fileNames (Results 1 – 3 of 3) sorted by relevance
653 void StorageManager::sortFiles(vector<FileInfo>* fileNames) { in sortFiles() argument657 sort(fileNames->begin(), fileNames->end(), [](FileInfo& lhs, FileInfo& rhs) { in sortFiles()685 vector<FileInfo> fileNames; in trimToFit() local719 fileNames.emplace_back(file_name, output.mIsHistory, fileSize, fileAge); in trimToFit()722 if (fileNames.size() > StatsdStats::kMaxFileNumber || in trimToFit()724 sortFiles(&fileNames); in trimToFit()728 while (fileNames.size() > 0 && (fileNames.size() > StatsdStats::kMaxFileNumber || in trimToFit()730 totalFileSize -= fileNames.at(fileNames.size() - 1).mFileSizeBytes; in trimToFit()731 deleteFile(fileNames.at(fileNames.size() - 1).mFileName.c_str()); in trimToFit()732 fileNames.pop_back(); in trimToFit()
153 static void sortFiles(vector<FileInfo>* fileNames);
87 Set<String> fileNames = new HashSet<>(); in loadDataFromCursor() local100 fileNames.add( in loadDataFromCursor()110 mFileNames = fileNames; in loadDataFromCursor()