Home
last modified time | relevance | path

Searched refs:tmp_dir_path (Results 1 – 7 of 7) sorted by relevance

/aosp_15_r20/external/python/apitools/apitools/gen/
Dgen_client_test.py45 with test_utils.TempDir() as tmp_dir_path:
50 '--outdir', tmp_dir_path,
57 self.assertEquals(expected_files, set(os.listdir(tmp_dir_path)))
60 with test_utils.TempDir() as tmp_dir_path:
65 '--outdir', tmp_dir_path,
72 self.assertEquals(expected_files, set(os.listdir(tmp_dir_path)))
73 init_file = _GetContent(os.path.join(tmp_dir_path, '__init__.py'))
82 with test_utils.TempDir() as tmp_dir_path:
86 '--outdir', tmp_dir_path,
94 set(os.listdir(tmp_dir_path)))
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
H A Dtest_local_storage.c100 char tmp_dir_path[] = "/tmp/local_storageXXXXXX"; in test_test_local_storage() local
123 if (CHECK(!mkdtemp(tmp_dir_path), "mkdtemp", in test_test_local_storage()
128 tmp_dir_path); in test_test_local_storage()
158 tmp_dir_path, tmp_dir_path); in test_test_local_storage()
177 snprintf(cmd, sizeof(cmd), "rm -rf %s", tmp_dir_path); in test_test_local_storage()
/aosp_15_r20/external/python/apitools/samples/
Duptodate_check_test.py45 with test_utils.TempDir() as tmp_dir_path:
51 '--outdir', tmp_dir_path,
61 self.assertEquals(expected_files, set(os.listdir(tmp_dir_path)))
70 _GetContent(os.path.join(tmp_dir_path, expected_file)))
/aosp_15_r20/external/python/cpython3/Lib/test/test_tomllib/
Dtest_misc.py20 with tempfile.TemporaryDirectory() as tmp_dir_path:
21 file_path = Path(tmp_dir_path) / "test.toml"
30 with tempfile.TemporaryDirectory() as tmp_dir_path:
31 file_path = Path(tmp_dir_path) / "test.toml"
/aosp_15_r20/packages/modules/Virtualization/android/virtmgr/src/
Daidl.rs2406 let tmp_dir_path = tmp_dir.path().to_owned(); in test_extract_os_name_from_configs() localVariable
2415 std::fs::write(tmp_dir_path.join(os_name.to_owned() + ".json"), b"")?; in test_extract_os_name_from_configs()
2419 std::fs::write(tmp_dir_path.join("microdroid_super.img"), b"")?; in test_extract_os_name_from_configs()
2420 std::fs::write(tmp_dir_path.join("microdroid_foobar.apk"), b"")?; in test_extract_os_name_from_configs()
2422 let glob_pattern = match tmp_dir_path.join("microdroid*.json").to_str() { in test_extract_os_name_from_configs()
2424 None => bail!("tmp_dir_path {:?} is not UTF-8", tmp_dir_path), in test_extract_os_name_from_configs()
2437 let tmp_dir_path = tmp_dir.path().to_owned(); in test_find_early_vms_from_xml() localVariable
2438 let xml_path = tmp_dir_path.join("early_vms.xml"); in test_find_early_vms_from_xml()
2523 let tmp_dir_path = tmp_dir.path().to_owned(); in test_duplicated_early_vms() localVariable
2524 let xml_path = tmp_dir_path.join("early_vms.xml"); in test_duplicated_early_vms()
/aosp_15_r20/external/pytorch/tools/
H A Dgen_vulkan_spv.py748 if not os.path.exists(options.tmp_dir_path):
749 os.makedirs(options.tmp_dir_path)
752 output_spv_files = shader_generator.generateSPV(options.tmp_dir_path)
/aosp_15_r20/external/executorch/backends/vulkan/runtime/
H A Dgen_vulkan_spv.py1070 if not os.path.exists(options.tmp_dir_path):
1071 os.makedirs(options.tmp_dir_path)
1086 output_spv_files = shader_generator.generateSPV(options.tmp_dir_path)