Home
last modified time | relevance | path

Searched refs:temp_dir (Results 1 - 25 of 72) sorted by relevance

123

/third_party/protobuf/src/google/protobuf/compiler/objectivec/
H A 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_maco
[all...]
/third_party/gn/src/gn/
H A Dfile_writer_unittest.cc16 base::ScopedTempDir temp_dir; in TEST() local
17 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST()
21 base::FilePath file_path = temp_dir.GetPath().AppendASCII("foo.txt"); in TEST()
32 base::ScopedTempDir temp_dir; in TEST() local
33 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST()
37 base::FilePath file_path = temp_dir.GetPath().AppendASCII("foo.txt"); in TEST()
53 base::ScopedTempDir temp_dir; in TEST()
54 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST()
58 base::FilePath file_path = temp_dir.GetPath().AppendASCII(std::string(255, 'A')); in TEST()
H A 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()
H A Dfunction_write_file_unittest.cc54 base::ScopedTempDir temp_dir; in TEST_F() local
55 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F()
56 setup.build_settings()->SetRootPath(temp_dir.GetPath()); in TEST_F()
68 base::FilePath foo_name = temp_dir.GetPath() in TEST_F()
H A 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/musl/libc-test/src/functionalext/supplement/temp/
H A 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/python/Lib/test/
H A Dtest_cmd_line_script.py221 with os_helper.temp_dir() as script_dir:
241 with os_helper.temp_dir() as script_dir:
251 with os_helper.temp_dir() as script_dir:
258 with os_helper.temp_dir() as script_dir:
268 with os_helper.temp_dir() as script_dir:
273 with os_helper.temp_dir() as script_dir:
280 with os_helper.temp_dir() as script_dir:
290 with os_helper.temp_dir() as script_dir:
300 with os_helper.temp_dir() as script_dir:
310 with os_helper.temp_dir() a
[all...]
H A 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\\')
H A 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() a
[all...]
H A Dtest_runpy.py17 from test.support.os_helper import create_empty_file, temp_dir namespace
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() a
[all...]
H A Dtest_cgitb.py1 from test.support.os_helper import temp_dir namespace
41 with temp_dir() as tracedir:
57 with temp_dir() as tracedir:
H A 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:
/third_party/skia/third_party/externals/spirv-tools/test/scripts/
H A Dtest_compact_ids.py21 def test_spirv_file(path, temp_dir):
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/
H A Dtest_compact_ids.py21 def test_spirv_file(path, temp_dir):
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/
H A Dtest_compact_ids.py21 def test_spirv_file(path, temp_dir):
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/zlib/google/
H A 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 in TEST_F()
443 base::ScopedTempDir temp_dir; TEST_F() local
483 base::ScopedTempDir temp_dir; TEST_F() local
520 const base::FilePath& temp_dir = scoped_temp_dir.GetPath(); TEST_F() local
544 const base::FilePath& temp_dir = scoped_temp_dir.GetPath(); TEST_F() local
[all...]
/third_party/node/deps/v8/third_party/zlib/google/
H A 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 in TEST_F()
1035 base::ScopedTempDir temp_dir; TEST_F() local
1073 base::ScopedTempDir temp_dir; TEST_F() local
1105 const base::FilePath& temp_dir = scoped_temp_dir.GetPath(); TEST_F() local
1130 const base::FilePath& temp_dir = scoped_temp_dir.GetPath(); TEST_F() local
1150 base::ScopedTempDir temp_dir; TEST_F() local
1187 base::ScopedTempDir temp_dir; TEST_F() local
1226 base::ScopedTempDir temp_dir; TEST_F() local
1286 base::ScopedTempDir temp_dir; TEST_F() local
1316 base::ScopedTempDir temp_dir; TEST_F() local
1369 base::ScopedTempDir temp_dir; global() local
[all...]
/third_party/node/deps/zlib/google/
H A 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 in TEST_F()
1035 base::ScopedTempDir temp_dir; TEST_F() local
1073 base::ScopedTempDir temp_dir; TEST_F() local
1105 const base::FilePath& temp_dir = scoped_temp_dir.GetPath(); TEST_F() local
1130 const base::FilePath& temp_dir = scoped_temp_dir.GetPath(); TEST_F() local
1150 base::ScopedTempDir temp_dir; TEST_F() local
1187 base::ScopedTempDir temp_dir; TEST_F() local
1226 base::ScopedTempDir temp_dir; TEST_F() local
1286 base::ScopedTempDir temp_dir; TEST_F() local
1316 base::ScopedTempDir temp_dir; TEST_F() local
1369 base::ScopedTempDir temp_dir; global() local
[all...]
/third_party/googletest/googletest/test/
H A Dgtest_dirs_test.cc73 MakeTempDir temp_dir("TempDirTest_InEnvironment"); in TEST()
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()
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/
H A Dgenerate_source.py61 temp_dir = temp_obj.name
62 gen_dir = temp_dir
82 temp_files = set(os.listdir(temp_dir))
92 elif not filecmp.cmp(os.path.join(temp_dir, filename),
106 for filename in os.listdir(temp_dir):
107 temp_filename = os.path.join(temp_dir, filename)
/third_party/typescript/tests/ts_extra_tests/
H A Drun_ts_case.py114 def copy_dir_to_temp(work_dir, dir_name, temp_dir):
116 target_dir = os.path.join(temp_dir, dir_name)
133 temp_dir = os.path.join(work_dir, TEMP_DIR_NAME)
134 TestCase.temp_path = temp_dir
136 copy_dir_to_temp(work_dir, "suite", temp_dir)
137 copy_dir_to_temp(work_dir, "test_ts_cases", temp_dir)
/third_party/python/Lib/lib2to3/tests/
H A 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/python/Lib/distutils/tests/
H A 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)
/third_party/node/deps/v8/third_party/ittapi/src/ittnotify_refcol/
H A Ditt_refcol_impl.c61 char* temp_dir = getenv("TEMP"); in ref_col_init() local
62 if (temp_dir != NULL) in ref_col_init()
64 sprintf(file_name_buffer,"%s\\%s", temp_dir, log_file); in ref_col_init()
/third_party/python/Lib/distutils/
H A Dcygwinccompiler.py197 temp_dir = os.path.dirname(objects[0])
203 def_file = os.path.join(temp_dir, dll_name + ".def")
204 lib_file = os.path.join(temp_dir, 'lib' + dll_name + ".a")

Completed in 14 milliseconds

123