/third_party/ninja/src/ |
H A D | minidump-win32.cc | 36 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 D | build_log.cc | 397 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 D | deps_log.cc | 315 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) {
|
/third_party/python/Lib/test/ |
H A D | test_support.py | 154 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 D | test_winconsoleio.py | 113 temp_path = tempfile.mkdtemp() 114 self.addCleanup(os_helper.rmtree, temp_path) 116 conout_path = os.path.join(temp_path, 'CONOUT$')
|
H A D | test_tempfile.py | 1545 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 D | setup.py | 61 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
|
/third_party/typescript/tests/ts_extra_tests/tool/ |
H A D | testcfg.py | 44 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 D | file_util_win.cc | 275 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()
|
/third_party/python/Lib/test/support/ |
H A D | os_helper.py | 529 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 D | test_unistd.rs | 1206 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 D | run_ts_case.py | 134 TestCase.temp_path = temp_dir
|
/third_party/ffmpeg/libavformat/ |
H A D | dashenc.c | 133 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()
|
/third_party/nghttp2/src/ |
H A D | shrpx.cc | 406 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 D | loader.c | 2850 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()
|