Home
last modified time | relevance | path

Searched refs:temp_dir (Results 1 – 25 of 71) sorted by relevance

123

/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dmethod_dump.sh118 temp_dir=$(mktemp -d)
120 echo "$objc_code" >> "$temp_dir"/method_dump.m
124 clang -isysroot "$iphone_simulator_sdk" -o "$temp_dir"/method_dump_ios \
125 -framework Foundation -framework UIKit "$temp_dir"/method_dump.m
127 clang -isysroot "$macos_sdk" -o "$temp_dir"/method_dump_macos -framework Foundation \
128 -framework Cocoa "$temp_dir"/method_dump.m
141 xcrun simctl spawn "$device" "$temp_dir"/method_dump_ios > "$temp_dir"/methods_unsorted_ios.txt
145 "$temp_dir"/method_dump_macos >> "$temp_dir"/methods_unsorted_macos.txt
149 -e "s|%IOS%|$(basename $iphone_simulator_sdk)|" > "$temp_dir"/methods_sorted.txt
150 sort -u "$temp_dir"/methods_unsorted_ios.txt \
[all …]
/third_party/python/Lib/test/
Dtest_cmd_line_script.py219 with os_helper.temp_dir() as script_dir:
239 with os_helper.temp_dir() as script_dir:
249 with os_helper.temp_dir() as script_dir:
256 with os_helper.temp_dir() as script_dir:
266 with os_helper.temp_dir() as script_dir:
271 with os_helper.temp_dir() as script_dir:
278 with os_helper.temp_dir() as script_dir:
288 with os_helper.temp_dir() as script_dir:
298 with os_helper.temp_dir() as script_dir:
308 with os_helper.temp_dir() as script_dir:
[all …]
Dtest_multiprocessing_main_handling.py172 with os_helper.temp_dir() as script_dir:
177 with os_helper.temp_dir() as script_dir:
188 with os_helper.temp_dir() as script_dir:
198 with os_helper.temp_dir() as script_dir:
207 with os_helper.temp_dir() as script_dir:
214 with os_helper.temp_dir() as script_dir:
224 with os_helper.temp_dir() as script_dir:
232 with os_helper.temp_dir() as script_dir:
240 with os_helper.temp_dir() as script_dir:
249 with os_helper.temp_dir() as script_dir:
[all …]
Dtest_eof.py34 with os_helper.temp_dir() as temp_dir:
35 file_name = script_helper.make_script(temp_dir, 'foo', """'''this is \na \ntest""")
61 with os_helper.temp_dir() as temp_dir:
62 file_name = script_helper.make_script(temp_dir, 'foo', '\\')
68 file_name = script_helper.make_script(temp_dir, 'foo', 'y = 6\\')
Dtest_runpy.py17 from test.support.os_helper import create_empty_file, temp_dir
653 with temp_dir() as script_dir:
660 with temp_dir() as script_dir:
668 with temp_dir() as script_dir:
676 with temp_dir() as script_dir:
685 with temp_dir() as script_dir:
692 with temp_dir() as script_dir:
703 with temp_dir() as script_dir:
710 with temp_dir() as script_dir:
718 with temp_dir() as script_dir:
[all …]
Dtest_cgitb.py1 from test.support.os_helper import temp_dir
40 with temp_dir() as tracedir:
56 with temp_dir() as tracedir:
Dtest_zipimport_support.py81 with os_helper.temp_dir() as d:
121 with os_helper.temp_dir() as d:
196 with os_helper.temp_dir() as d:
223 with os_helper.temp_dir() as d:
Dtest_support.py151 with os_helper.temp_dir(path) as temp_path:
160 with os_helper.temp_dir() as temp_path:
167 with os_helper.temp_dir(path) as temp_path:
187 with os_helper.temp_dir(path, quiet=True) as temp_path:
231 with os_helper.temp_dir() as temp_path:
246 with os_helper.temp_dir() as parent_dir:
257 with os_helper.temp_dir() as parent_dir:
/third_party/skia/third_party/externals/zlib/google/
Dzip_unittest.cc249 base::ScopedTempDir temp_dir; in TestTimeStamp() local
250 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TestTimeStamp()
252 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TestTimeStamp()
253 base::FilePath src_dir = temp_dir.GetPath().AppendASCII("input"); in TestTimeStamp()
254 base::FilePath out_dir = temp_dir.GetPath().AppendASCII("output"); in TestTimeStamp()
417 base::ScopedTempDir temp_dir; in TEST_F() local
418 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F()
419 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F()
430 base::ScopedTempDir temp_dir; in TEST_F() local
431 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/temp/
Dmkdtemp.c26 char temp_dir[] = "test-XXXXXX"; in mkdtemp_0100() local
27 char *ret = mkdtemp(temp_dir); in mkdtemp_0100()
41 char temp_dir[] = "test"; in mkdtemp_0200() local
42 char *ret = mkdtemp(temp_dir); in mkdtemp_0200()
53 char temp_dir[] = "test-XX"; in mkdtemp_0300() local
54 char *ret = mkdtemp(temp_dir); in mkdtemp_0300()
/third_party/node/deps/zlib/google/
Dzip_unittest.cc325 base::ScopedTempDir temp_dir; in TestTimeStamp() local
326 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TestTimeStamp()
328 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TestTimeStamp()
329 base::FilePath src_dir = temp_dir.GetPath().AppendASCII("input"); in TestTimeStamp()
330 base::FilePath out_dir = temp_dir.GetPath().AppendASCII("output"); in TestTimeStamp()
1013 base::ScopedTempDir temp_dir; in TEST_F() local
1014 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F()
1015 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F()
1024 base::ScopedTempDir temp_dir; in TEST_F() local
1025 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F()
[all …]
/third_party/node/deps/v8/third_party/zlib/google/
Dzip_unittest.cc325 base::ScopedTempDir temp_dir; in TestTimeStamp() local
326 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TestTimeStamp()
328 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TestTimeStamp()
329 base::FilePath src_dir = temp_dir.GetPath().AppendASCII("input"); in TestTimeStamp()
330 base::FilePath out_dir = temp_dir.GetPath().AppendASCII("output"); in TestTimeStamp()
1013 base::ScopedTempDir temp_dir; in TEST_F() local
1014 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F()
1015 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F()
1024 base::ScopedTempDir temp_dir; in TEST_F() local
1025 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/scripts/
Dtest_compact_ids.py21 def test_spirv_file(path, temp_dir): argument
22 optimized_spv_path = os.path.join(temp_dir, 'optimized.spv')
23 optimized_dis_path = os.path.join(temp_dir, 'optimized.dis')
24 converted_spv_path = os.path.join(temp_dir, 'converted.spv')
25 converted_dis_path = os.path.join(temp_dir, 'converted.dis')
82 temp_dir = tempfile.mkdtemp()
85 success = test_spirv_file(path, temp_dir)
/third_party/spirv-tools/test/scripts/
Dtest_compact_ids.py21 def test_spirv_file(path, temp_dir): argument
22 optimized_spv_path = os.path.join(temp_dir, 'optimized.spv')
23 optimized_dis_path = os.path.join(temp_dir, 'optimized.dis')
24 converted_spv_path = os.path.join(temp_dir, 'converted.spv')
25 converted_dis_path = os.path.join(temp_dir, 'converted.dis')
82 temp_dir = tempfile.mkdtemp()
85 success = test_spirv_file(path, temp_dir)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/scripts/
Dtest_compact_ids.py21 def test_spirv_file(path, temp_dir): argument
22 optimized_spv_path = os.path.join(temp_dir, 'optimized.spv')
23 optimized_dis_path = os.path.join(temp_dir, 'optimized.dis')
24 converted_spv_path = os.path.join(temp_dir, 'converted.spv')
25 converted_dis_path = os.path.join(temp_dir, 'converted.dis')
82 temp_dir = tempfile.mkdtemp()
85 success = test_spirv_file(path, temp_dir)
/third_party/gn/src/gn/
Dfile_writer_unittest.cc14 base::ScopedTempDir temp_dir; in TEST() local
15 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST()
19 base::FilePath file_path = temp_dir.GetPath().AppendASCII("foo.txt"); in TEST()
30 base::ScopedTempDir temp_dir; in TEST() local
31 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST()
35 base::FilePath file_path = temp_dir.GetPath().AppendASCII("foo.txt"); in TEST()
Dstring_output_buffer_unittest.cc85 base::ScopedTempDir temp_dir; in TEST() local
86 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST()
91 base::FilePath file_path = temp_dir.GetPath().AppendASCII("foo.txt"); in TEST()
115 base::ScopedTempDir temp_dir; in TEST() local
116 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST()
123 temp_dir.GetPath().AppendASCII("bar").AppendASCII("foo.txt"); in TEST()
Dfunction_write_file_unittest.cc53 base::ScopedTempDir temp_dir; in TEST_F() local
54 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F()
55 setup.build_settings()->SetRootPath(temp_dir.GetPath()); in TEST_F()
67 base::FilePath foo_name = temp_dir.GetPath() in TEST_F()
Dexec_process_unittest.cc28 base::ScopedTempDir temp_dir; in ExecPython() local
29 CHECK(temp_dir.CreateUniqueTempDir()); in ExecPython()
40 return ExecProcess(base::CommandLine(args), temp_dir.GetPath(), std_out, in ExecPython()
/third_party/googletest/googletest/test/
Dgtest_dirs_test.cc73 MakeTempDir temp_dir("TempDirTest_InEnvironment"); in TEST() local
74 SetEnv set_env("TEST_TMPDIR", temp_dir.DirName()); in TEST()
75 EXPECT_TRUE(StartsWith(testing::TempDir(), temp_dir.DirName())); in TEST()
87 MakeTempDir temp_dir("SrcDirTest_InEnvironment"); in TEST() local
88 SetEnv set_env("TEST_SRCDIR", temp_dir.DirName()); in TEST()
89 EXPECT_TRUE(StartsWith(testing::SrcDir(), temp_dir.DirName())); in TEST()
/third_party/vulkan-loader/scripts/
Dgenerate_source.py57 temp_dir = temp_obj.name
58 gen_dir = temp_dir
78 temp_files = set(os.listdir(temp_dir))
88 elif not filecmp.cmp(os.path.join(temp_dir, filename),
102 for filename in os.listdir(temp_dir):
103 temp_filename = os.path.join(temp_dir, filename)
/third_party/python/Lib/lib2to3/tests/
Dtest_main.py22 self.temp_dir = None # tearDown() will rmtree this directory if set.
27 if self.temp_dir:
28 shutil.rmtree(self.temp_dir)
58 self.temp_dir = tempfile.mkdtemp() # tearDown() cleans this up.
59 self.py2_src_dir = os.path.join(self.temp_dir, "python2_project")
60 self.py3_dest_dir = os.path.join(self.temp_dir, "python3_project")
/third_party/typescript/tests/ts_extra_tests/
Drun_ts_case.py112 def copy_dir_to_temp(work_dir, dir_name, temp_dir): argument
114 target_dir = os.path.join(temp_dir, dir_name)
130 temp_dir = os.path.join(work_dir, TEMP_DIR_NAME)
131 TestCase.temp_path = temp_dir
133 copy_dir_to_temp(work_dir, "suite", temp_dir)
134 copy_dir_to_temp(work_dir, "test_ts_cases", temp_dir)
/third_party/mksh/
Dcheck.pl340 chop($temp_dir = `pwd 2>/dev/null`);
341 die "$prog: couldn't get temporary directory\n" if $temp_dir eq '';
359 $temps = "${temp_dir}/rts";
360 $tempi = "${temp_dir}/rti";
361 $tempo = "${temp_dir}/rto";
362 $tempe = "${temp_dir}/rte";
363 $tempdir = "${temp_dir}/rtd";
408 rmdir($temp_dir) if defined $temp_dir;
/third_party/python/Lib/distutils/tests/
Dtest_filelist.py325 with os_helper.temp_dir() as temp_dir:
326 file1 = os.path.join(temp_dir, 'file1.txt')
329 self.assertEqual(filelist.findall(temp_dir), expected)

123