Home
last modified time | relevance | path

Searched refs:tmp_file_path (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/files/
Dimportant_file_writer.cc123 void DeleteTmpFile(const FilePath& tmp_file_path, in DeleteTmpFile() argument
125 if (!DeleteFile(tmp_file_path, false)) { in DeleteTmpFile()
156 FilePath tmp_file_path; in WriteFileAtomically() local
157 if (!CreateTemporaryFileInDir(path.DirName(), &tmp_file_path)) { in WriteFileAtomically()
166 File tmp_file(tmp_file_path, File::FLAG_OPEN | File::FLAG_WRITE); in WriteFileAtomically()
173 DeleteFile(tmp_file_path, false); in WriteFileAtomically()
191 DeleteTmpFile(tmp_file_path, histogram_suffix); in WriteFileAtomically()
197 DeleteTmpFile(tmp_file_path, histogram_suffix); in WriteFileAtomically()
202 if (!ReplaceFile(tmp_file_path, path, &replace_file_error)) { in WriteFileAtomically()
208 DeleteTmpFile(tmp_file_path, histogram_suffix); in WriteFileAtomically()
Dfile_util_posix.cc1065 FilePath tmp_file_path; in IsPathExecutable() local
1067 ScopedFD fd(CreateAndOpenFdForTemporaryFileInDir(path, &tmp_file_path)); in IsPathExecutable()
1069 DeleteFile(tmp_file_path, false); in IsPathExecutable()
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py1611 tmp_file_path = tempfile.mktemp(dir=self.get_temp_dir())
1612 tmp_file = open(tmp_file_path, "w")
1616 yield CapturedWrites(tmp_file_path)