Searched refs:cur_file_path (Results 1 – 2 of 2) sorted by relevance
133 const std::string cur_file_path = kTombstoneFolderPath + cur_file_name; in cpioArchiveFilesInDir() local134 if (stat(cur_file_path.c_str(), &st) == -1) { in cpioArchiveFilesInDir()135 PLOG(ERROR) << "Failed to get file stat for " << cur_file_path; in cpioArchiveFilesInDir()139 const int fd_read = open(cur_file_path.c_str(), O_RDONLY); in cpioArchiveFilesInDir()141 PLOG(ERROR) << "Failed to open file " << cur_file_path; in cpioArchiveFilesInDir()
188 std::string cur_file_path = kTombstoneFolderPath + cur_file_name; in removeOldFilesInternal() local189 if (stat(cur_file_path.c_str(), &cur_file_stat) == -1) { in removeOldFilesInternal()190 PLOG(ERROR) << "Failed to get file stat for " << cur_file_path; in removeOldFilesInternal()195 valid_files.push_back(std::pair<const time_t, std::string>(cur_file_time, cur_file_path)); in removeOldFilesInternal()