Home
last modified time | relevance | path

Searched refs:temp_path (Results 1 - 23 of 23) sorted by relevance

/third_party/ninja/src/
H A Dminidump-win32.cc36 char temp_path[MAX_PATH]; in CreateWin32MiniDump() local
37 GetTempPathA(sizeof(temp_path), temp_path); in CreateWin32MiniDump() local
40 temp_path, GetCurrentProcessId()); in CreateWin32MiniDump()
H A Dbuild_log.cc397 string temp_path = path + ".recompact"; in Recompact() local
398 FILE* f = fopen(temp_path.c_str(), "wb"); in Recompact()
433 if (rename(temp_path.c_str(), path.c_str()) < 0) { in Recompact()
448 std::string temp_path = path.AsString() + ".restat"; in Restat() local
449 FILE* f = fopen(temp_path.c_str(), "wb"); in Restat()
490 if (rename(temp_path.c_str(), path.str_) < 0) { in Restat()
H A Ddeps_log.cc315 string temp_path = path + ".recompact";
319 unlink(temp_path.c_str());
322 if (!new_log.OpenForWrite(temp_path, err))
356 if (rename(temp_path.c_str(), path.c_str()) < 0) {
/test/xts/acts/commonlibrary/toolchain/libc-test/
H A Dtar_files.py63 parser.add_argument("--temp_path", type=str, default="0")
67 print(args.temp_path)
69 copy_files(args.input_path, args.temp_path)
70 make_targz_one_by_one(args.output_path, args.temp_path)
72 shutil.rmtree(args.temp_path) # delete middle file
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_liteos_scann.py313 for temp_path in temp_res_list:
314 if temp_path.startswith('$'):
315 replace_finish.append(temp_path)
317 replace_finish.append(os.path.join(path, temp_path))
374 temp_path = re.search(test_re, i).group()[2:-2]
375 if os.path.exists(self.root + temp_path):
377 temp_path, import_path,
419 def found_import_file_path(self, temp_path, import_path,
421 import_info = hdf_utils.read_file_lines(self.root + temp_path)
H A Dhdf_add_handler.py191 temp_path = self.hdf_tool.get_template_path()
192 template_path = os.path.join(framework_hdf, temp_path)
242 temp_path = self.hdf_tool.get_template_path()
243 template_path = os.path.join(framework_hdf, temp_path)
296 temp_path = self.hdf_tool.get_template_path()
297 template_path = os.path.join(framework_hdf, temp_path)
H A Dhdf_get_handler.py306 temp_path = os.path.join(self.args.root_dir, value)
307 if os.path.exists(temp_path):
308 config_path[parent_key][key_name] = temp_path
/third_party/python/Lib/test/
H A Dtest_support.py154 with os_helper.temp_dir(path) as temp_path:
155 self.assertEqual(temp_path, path)
163 with os_helper.temp_dir() as temp_path:
164 self.assertTrue(os.path.isdir(temp_path))
165 self.assertFalse(os.path.isdir(temp_path))
170 with os_helper.temp_dir(path) as temp_path:
190 with os_helper.temp_dir(path, quiet=True) as temp_path:
191 self.assertEqual(path, temp_path)
213 with os_helper.temp_cwd() as temp_path:
221 # Make sure that temp_path i
[all...]
H A Dtest_winconsoleio.py113 temp_path = tempfile.mkdtemp()
114 self.addCleanup(os_helper.rmtree, temp_path)
116 conout_path = os.path.join(temp_path, 'CONOUT$')
H A Dtest_tempfile.py1545 temp_path = pathlib.Path(temp_dir.name)
1546 self.assertTrue(temp_path.exists(),
1547 f"TemporaryDirectory {temp_path!s} does not exist")
1548 with open(temp_path / "a_file.txt", "w+t") as open_file:
1551 self.assertEqual(len(list(temp_path.glob("*"))),
1554 f"TemporaryDirectory {temp_path!s}")
1556 temp_path.exists(),
1558 f"TemporaryDirectory {temp_path!s} existence state unexpected")
1561 temp_path.exists(),
1562 f"TemporaryDirectory {temp_path!
[all...]
/third_party/benchmark/
H A Dsetup.py61 temp_path = Path(self.build_temp)
67 f"--symlink_prefix={temp_path / 'bazel-'}",
96 ext_bazel_bin_path = temp_path / 'bazel-bin' / ext.relpath / ext_name
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/
H A Dhdf_add_driver.py284 temp_path = os.path.sep.join(path_list[:-1])
285 if not os.path.exists(temp_path):
286 os.makedirs(temp_path)
329 temp_path = os.path.sep.join(path_list[:-1])
330 if not os.path.exists(temp_path):
331 os.makedirs(temp_path)
/third_party/typescript/tests/ts_extra_tests/tool/
H A Dtestcfg.py44 temp_path = "" variable in TestCase
192 cmd.append(TestCase.temp_path)
193 self.target_js_path = TestCase.temp_path + self.__get_js_basename()
201 cmd.append(TestCase.temp_path + self.__get_js_basename())
/third_party/gn/src/base/files/
H A Dfile_util_win.cc275 char16_t temp_path[MAX_PATH + 1]; in GetTempDir() local
276 DWORD path_len = ::GetTempPath(MAX_PATH, ToWCharT(temp_path)); in GetTempDir()
282 *path = FilePath(temp_path).StripTrailingSeparators(); in GetTempDir()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
H A Dhdf_utils.py423 def judge_file_path_exists(temp_path):
424 if not os.path.exists(temp_path):
426 'path "%s" not exist' % temp_path,
/third_party/python/Lib/test/support/
H A Dos_helper.py529 with temp_dir(path=name, quiet=quiet) as temp_path:
530 with change_cwd(temp_path, quiet=quiet) as cwd_dir:
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs1206 let temp_path = file.into_temp_path(); in test_setfsuid()
1207 let temp_path_2 = temp_path.to_path_buf(); in test_setfsuid()
1208 let mut permissions = fs::metadata(&temp_path).unwrap().permissions(); in test_setfsuid()
1216 let res = fs::File::open(&temp_path); in test_setfsuid()
/third_party/typescript/tests/ts_extra_tests/
H A Drun_ts_case.py134 TestCase.temp_path = temp_dir
/third_party/ffmpeg/libavformat/
H A Ddashenc.c133 char temp_path[1024]; member
1970 dashenc_io_close(s, &os->out, os->temp_path); in dash_flush()
1973 ret = ff_rename(os->temp_path, os->full_path, os->ctx); in dash_flush()
2253 os->filename[0] = os->full_path[0] = os->temp_path[0] = '\0'; in dash_write_packet()
2259 snprintf(os->temp_path, sizeof(os->temp_path), in dash_write_packet()
2262 ret = dashenc_io_open(s, &os->out, os->temp_path, &opts); in dash_write_packet()
2265 return handle_io_open_error(s, ret, os->temp_path); in dash_write_packet()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/
H A Dhdi_add_handler.py507 temp_path = "/".join(temp_path_list)
508 return temp_path
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddevice.py1138 temp_path = os.path.join(self._device_report_path, "temp")
1139 if not os.path.exists(temp_path):
1140 os.makedirs(temp_path)
1141 path = os.path.join(temp_path, name)
/third_party/nghttp2/src/
H A Dshrpx.cc406 auto temp_path = buf.get(); in save_pid() local
408 auto fd = mkstemp(temp_path); in save_pid()
434 if (rename(temp_path, pid_file.c_str()) == -1) { in save_pid()
439 unlink(temp_path); in save_pid()
/third_party/vulkan-loader/loader/
H A Dloader.c2850 char temp_path[2048]; in add_data_files() local
2873 if (str_len > sizeof(temp_path)) { in add_data_files()
2877 strncpy(temp_path, cur_file, str_len); in add_data_files()
2878 name = temp_path; in add_data_files()

Completed in 35 milliseconds