Searched refs:tmp_file_path (Results 1 – 9 of 9) sorted by relevance
/external/python/mobly/tests/mobly/ |
D | config_parser_test.py | 36 tmp_file_path = os.path.join(self.tmp_dir, 'config.yml') 37 with io.open(tmp_file_path, 'w', encoding='utf-8') as f: 44 config = config_parser._load_config_file(tmp_file_path) 48 tmp_file_path = os.path.join(self.tmp_dir, 'config.yml') 49 with io.open(tmp_file_path, 'w', encoding='utf-8') as f: 56 config = config_parser._load_config_file(tmp_file_path)
|
D | suite_runner_test.py | 80 tmp_file_path = os.path.join(self.tmp_dir, 'config.yml') 81 with io.open(tmp_file_path, 'w', encoding='utf-8') as f: 93 argv=['-c', tmp_file_path]) 98 tmp_file_path = os.path.join(self.tmp_dir, 'config.yml') 99 with io.open(tmp_file_path, 'w', encoding='utf-8') as f: 108 argv=['-c', tmp_file_path])
|
D | test_runner_test.py | 306 tmp_file_path = os.path.join(self.tmp_dir, 'config.yml') 307 with io.open(tmp_file_path, 'w', encoding='utf-8') as f: 318 test_runner.main(['-c', tmp_file_path]) 325 tmp_file_path = os.path.join(self.tmp_dir, 'config.yml') 326 with io.open(tmp_file_path, 'w', encoding='utf-8') as f: 334 test_runner.main(['-c', tmp_file_path])
|
D | utils_test.py | 674 tmp_file_path = os.path.join(self.tmp_dir, 'b64.bin') 676 with io.open(tmp_file_path, 'wb') as f: 678 self.assertEqual(utils.load_file_to_base64_str(tmp_file_path), 682 tmp_file_path = os.path.join(self.tmp_dir, 'b64.bin') 684 with io.open(tmp_file_path, 'w', encoding='utf-8') as f: 686 self.assertEqual(utils.load_file_to_base64_str(tmp_file_path), 690 tmp_file_path = os.path.join(self.tmp_dir, 'b64.bin') 692 with io.open(tmp_file_path, 'w', encoding='utf-8') as f: 694 self.assertEqual(utils.load_file_to_base64_str(tmp_file_path),
|
/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/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 | 2259 tmp_file_path = tempfile.mktemp(dir=self.get_temp_dir()) 2260 tmp_file = open(tmp_file_path, "w") 2264 yield CapturedWrites(tmp_file_path)
|