Searched refs:tmp_file_path (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/files/ |
D | important_file_writer.cc | 123 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()
|
D | file_util_posix.cc | 1066 FilePath tmp_file_path; in IsPathExecutable() local 1068 ScopedFD fd(CreateAndOpenFdForTemporaryFileInDir(path, &tmp_file_path)); in IsPathExecutable() 1070 DeleteFile(tmp_file_path, false); in IsPathExecutable()
|
/external/v4l2_codec2/tests/c2_e2e_test/jni/ |
D | e2e_test_jni.cpp | 51 jobject surface, jstring tmp_file_path) { in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest() argument 52 const char* log_path = env->GetStringUTFChars(tmp_file_path, nullptr); in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest() 54 env->ReleaseStringUTFChars(tmp_file_path, log_path); in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest() 59 env->ReleaseStringUTFChars(tmp_file_path, log_path); in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest()
|
/external/llvm-project/lldb/source/Target/ |
D | ModuleCache.cpp | 198 const auto tmp_file_path = tmp_file.GetPath(); in Put() local 200 llvm::sys::fs::rename(tmp_file_path, module_file_path.GetPath()); in Put() 202 return Status("Failed to rename file %s to %s: %s", tmp_file_path.c_str(), in Put()
|
/external/autotest/client/cros/chameleon/ |
D | chameleon.py | 312 tmp_file_path = source_path+'.new' 318 tmp_file_path)) 319 self.host.get_file(tmp_file_path, target_path) 320 self.host.run('rm %s' % tmp_file_path)
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 2150 tmp_file_path = tempfile.mktemp(dir=self.get_temp_dir()) 2151 tmp_file = open(tmp_file_path, "w") 2155 yield CapturedWrites(tmp_file_path)
|