Searched refs:tmp_filename (Results 1 – 1 of 1) sorted by relevance
837 std::string tmp_filename = filename + ".XXXXXX.tmp"; in Save() local840 android::base::unique_fd fd(mkostemps(tmp_filename.data(), /*suffixlen=*/4, O_CLOEXEC)); in Save()848 if (unlink(tmp_filename.c_str()) != 0) { in Save()849 PLOG(WARNING) << "Failed to remove temp profile file " << tmp_filename; in Save()855 VLOG(profiler) << "Failed to save profile info to temp profile file " << tmp_filename; in Save()862 if (rename(tmp_filename.c_str(), filename.c_str()) != 0) { in Save()