Lines Matching refs:filename
219 bool ProfileCompilationInfo::MergeWith(const std::string& filename) { in MergeWith() argument
227 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in MergeWith()
230 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in MergeWith()
241 LOG(WARNING) << "Could not load profile data from file " << filename << ": " << error; in MergeWith()
245 bool ProfileCompilationInfo::Load(const std::string& filename, bool clear_if_invalid) { in Load() argument
262 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in Load()
265 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in Load()
279 << filename << ": " << error; in Load()
283 PLOG(WARNING) << "Could not clear profile file: " << filename; in Load()
288 LOG(WARNING) << "Could not load profile data from file " << filename << ": " << error; in Load()
292 bool ProfileCompilationInfo::Save(const std::string& filename, uint64_t* bytes_written) { in Save() argument
304 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in Save()
306 LOG(WARNING) << "Couldn't lock the profile file " << filename << ": " << error; in Save()
314 PLOG(WARNING) << "Could not clear profile file: " << filename; in Save()
322 int64_t size = OS::GetFileSizeBytes(filename.c_str()); in Save()
325 << "Successfully saved profile info to " << filename << " Size: " in Save()
332 VLOG(profiler) << "Failed to save profile info to " << filename; in Save()