Home | History | Annotate | Download | only in common

Lines Matching refs:FILE

3 // found in the LICENSE file.
34 // Write the data to a temp file then rename to avoid data loss if we crash
35 // while writing the file. Ensure that the temp file is on the same volume
36 // as target file, so it can be moved in one step, and that the temp file
39 FILE* tmp_file = file_util::CreateAndOpenTemporaryFileInDir(
42 LogFailure("could not create temporary file");
48 LogFailure("failed to close temporary file");
60 LogFailure("could not rename temporary file");