Searched refs:kTempFileName (Results 1 – 1 of 1) sorted by relevance
47 const char kTempFileName[] = "temp"; variable117 openat(g_data_dir_fd, kTempFileName, O_WRONLY | O_CREAT | O_TRUNC, in StoreFile()123 PLOG(ERROR) << "Failed to open " << kTempFileName; in StoreFile()129 PLOG(ERROR) << "Failed to write " << kTempFileName; in StoreFile()130 DeleteFile(kTempFileName); in StoreFile()136 PLOG(ERROR) << "Failed to sync " << kTempFileName; in StoreFile()137 DeleteFile(kTempFileName); in StoreFile()145 renameat(g_data_dir_fd, kTempFileName, g_data_dir_fd, name))) { in StoreFile()146 PLOG(ERROR) << "Failed to move " << kTempFileName << " to " << name; in StoreFile()147 DeleteFile(kTempFileName); in StoreFile()