Home
last modified time | relevance | path

Searched defs:Path (Results 1 – 25 of 97) sorted by relevance

1234

/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
Dgenerate.py54 def search_test_files_in_dir(d: Path,
55 root: Path,
74 def process_test_list(lst: Path, ext: Iterable[str] = (),
90 def search_test_files(paths: List[Path],
119 bench_dir: Path, src: SrcPath) -> str:
136 def check_common_files(full: Path, lang_name: str, includes: List[str]) -> str:
167 def check_resources(full: Path, lang_name: str, dest: Path) -> bool:
179 def check_native(full: Path, dest: Path, values: Dict[str, Any]) -> bool:
198 def write_config(bench_dir: Path, values: TemplateVars):
203 def process_generator(src_full: Path, bench_dir: Path,
[all …]
Dshell.py142 src: Union[str, Path], argument
147 src: Union[str, Path], argument
151 def install(self, package: Union[str, Path], name: str = '') -> ShellResult: argument
154 def get_filesize(self, filepath: Union[str, Path]) -> int: argument
185 src: Union[str, Path], argument
190 src: Union[str, Path], argument
307 def get_filesize(self, filepath: Union[str, Path]) -> int: argument
314 src: Union[str, Path], argument
319 src: Union[str, Path], argument
323 def install(self, package: Union[str, Path], name: str = '') -> ShellResult: argument
[all …]
Dhelpers.py100 def read_list_file(list_file: Union[str, Path]) -> List[str]: argument
127 extra: Optional[Path] = None) -> Any:
149 extra: Optional[Path]) -> Dict[str, Any]:
233 def save(self, json_file: Union[Path, str]) -> None:
270 def create_file(path: Union[str, Path]): argument
278 def copy_file(src: Union[str, Path], dst: Union[str, Path]) -> None: argument
288 def copy_files(src: Union[str, Path], dst: Union[str, Path], pattern: str = '*') -> None: argument
299 def create_file_from_template(tpl: Union[str, Path], dst: Union[str, Path], **kwargs) -> None: argument
306 def load_file(path: Union[str, Path]) -> str: argument
314 def load_json(path: Union[str, Path]) -> Any: argument
[all …]
/arkcompiler/runtime_core/taihe/compiler/taihe/cli/
Dtryit.py98 def create_directory(self, directory: Path) -> None:
102 def clean_directory(self, directory: Path) -> None:
108 def move_directory(self, src: Path, dst: Path) -> None:
114 def copy_directory(self, src: Path, dst: Path) -> None:
122 target_file: Path,
149 target_file: Path,
150 extract_dir: Path,
585 output_dir: Path,
586 input_files: Iterable[Path],
587 include_dirs: Sequence[Path] = (),
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/
Dllvm_cov_tool.py32 …def __init__(self, build_dir_path: Path, coverage_dir: CoverageDir, cmd_executor: CmdExecutor) -> …
58 def merge_and_delete_prowraw_files(self, profraw_file: Path, profdata_file: Path) -> None:
67 profdata_root_dir_path: Optional[Path] = None,
68 profdata_files_list_file_path: Optional[Path] = None
86 profdata_files_list_file_path: Optional[Path] = None,
87 merged_profdata_file_path: Optional[Path] = None
109 merged_profdata_file_path: Optional[Path] = None,
110 dot_info_file_path: Optional[Path] = None,
Dlcov_tool.py28 …def __init__(self, build_dir_path: Path, coverage_dir: CoverageDir, cmd_executor: CmdExecutor) -> …
86 output_directory: Optional[Path] = None,
87 dot_info_file: Optional[Path] = None
111 def create_gcno_symlinks(self, gcda_root: Path, gcno_root: Path, component_name: str) -> Path:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/suites/
Dtest_suite.py72 …def __load_list(test_root: Path, test_list_path: Path, prefixes: list[str]) -> tuple[list[Path], l…
88 def __load_line(line: str, test_root: Path, prefixes: list[str]) -> tuple[bool, Path | None]:
101 …def __load_line_with_prefix(test_root: Path, prefixes: list[str], test: str) -> tuple[bool, Path |…
120 def __search_duplicates(original: list[Path], kind: str) -> None:
131 def __is_path_excluded(collection: CollectionsOptions, tested_path: Path) -> bool:
188 …def __add_copy_steps(self, collection: CollectionsOptions, copy_source_path: Path, extension: str)…
259 def __get_executed_files(self, raw_test_files: list[Path]) -> list[Path]:
276 def __get_by_groups(self, raw_test_files: list[Path]) -> list[Path]:
287 def __in_group_number(self, test: Path) -> bool:
292 def __create_test(self, test_file: Path, is_ignored: bool) -> TestStandardFlow:
[all …]
Dstep_utils.py29 def are_tests_generated(self, generated_folder: Path) -> bool:
33 def create_report(self, generated_folder: Path, tests: list[Path]) -> None:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/generators/ets_func_tests/
Dets_func_test_template_generator.py35 def __init__(self, template_root_path: pathlib.Path):
57 template_root_path: pathlib.Path,
58 current_dir: pathlib.Path,
59 outpath: pathlib.Path) -> typing.List[str]:
67 def __find_all_templates(self, current_dir: pathlib.Path) -> typing.List[str]:
85 template_root_path: pathlib.Path,
86 outpath: pathlib.Path) -> typing.List[str]:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/
Dtest_case.py24 def is_negative(path: Path) -> bool:
28 def should_be_skipped(path: Path) -> bool:
32 def strip_template(path: Path) -> Tuple[str, int]:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/sts_utils/
Dtest_case.py23 def is_negative(path: Path) -> bool:
27 def should_be_skipped(path: Path) -> bool:
31 def strip_template(path: Path) -> tuple[str, int]:
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/evaluate/
Dtest_ets_evaluate.py37 def replace_suffixes(ets_file_path: Path, new_suffixes: str):
43 def get_expression_path(ets_file_path: Path, lang_extension: str):
47 def get_expected_path(ets_file_path: Path, lang_extension: str):
85 tmp_path: Path,
89 base_ets_file: Path,
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/test262/
Dtest262_generator.py38 def __init__(self, source: Path, target: Path, config: Config):
57 def create_file(input_file: str, output_file: str, harness: str, test262_dir: Path) -> None:
138 …def prepare_tests(self, src_path: Path, dest_path: Path, harness_path: Path, test262_path: Path) -…
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
Dets_templates_generator.py33 def __init__(self, root_path: Path, gen_path: Path) -> None:
41 def dfs(self, path: Path, seen: Set) -> None:
70 def __generate_test(self, path: Path) -> None:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/ets_cts/
Dets_templates_generator.py31 def __init__(self, source: Path, target: Path, config: Config) -> None:
43 def __generate_test(self, path: Path) -> None:
49 def __dfs(self, path: Path, seen: set) -> None:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/
Dchapters.py39 def __init__(self, chapters_file: Path):
44 def __parse(chapters_file: Path) -> dict[str, Chapter]:
75 …def __parse_chapter(name: str, yaml_items: Sequence[str | dict[str, str]], chapters_file: Path) ->…
86 def __filter_by_mask(mask: str, files: list[Path]) -> list[Path]:
107 … def filter_by_chapter(self, chapter_name: str, base_folder: Path, files: list[Path]) -> set[Path]:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/sts_stdlib/
Dstdlib_templates_generator.py38 def __init__(self, source: Path, target: Path, config: Config) -> None:
63 … def render_and_write_templates(self, root_path: Path, dirpath: Path, outpath: Path) -> list[str]:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Dutils.py72 def generate(name: str, url: str, revision: str, generated_root: Path, *,
106 def copy(source_path: Union[Path, str], dest_path: Union[Path, str], remove_if_exist: bool = True) …
118 def read_file(file_path: Union[Path, str]) -> str:
124 def write_2_file(file_path: Union[Path, str], content: str) -> None:
135 def opener(path_name: Union[str, Path], flags: int) -> int: argument
140 def write_list_to_file(list_for_write: list, file_path: Path, mode: int = 0o644) -> None:
170 def iter_files(dirpath: Union[Path, str], allowed_ext: List[str]) -> Iterator[Tuple[str, str]]:
204 def pairwise(iterable: Iterable[Path]) -> Iterator[Tuple[Path, Path]]:
210 def compare_files(files: List[Path]) -> bool:
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
Ddisassembler.py46 panda_file: Path,
47 output_file: Path,
48 cwd: Path = Path(),
75 def __init__(self, tmp_path: Path, ark_disassembler: Disassembler):
89 tmp_path: Path,
Dark_config.py57 ark_build_path: Path,
83 ark_build_path: Path,
108 ark_build_path: Path,
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/stdlib_templates/
Dstdlib_templates_generator.py43 def __init__(self, template_root_path: Path) -> None:
56 … def render_and_write_templates(self, root_path: Path, dirpath: Path, outpath: Path) -> List[str]:
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/
Dpaoc.py70 def panda_files(files: Iterable[Path]) -> str:
107 abc: Union[str, Path], argument
114 def get_aot_stats(self, an: Union[str, Path], argument
Des2panda.py35 def make_arktsconfig(configpath: Union[str, Path], argument
169 src: Path,
170 abc: Path,
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/extensions/generators/hermes/
Dhermes_generator.py44 def __init__(self, source: Path, target: Path, config: Config) -> None:
91 def process_copy(self, src_path: Path, dst_path: Path) -> None:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
Dpreparation_step.py48 def __init__(self, test_source_path: Path, test_gen_path: Path, config: Config) -> None:
76 …def __init__(self, test_source_path: Path, test_gen_path: Path, config: Config, extension: str) ->…
122 def generate_template_tests(template_root_path: Path, test_gen_path: Path) -> List[str]:
148 def generate_template_tests(template_root_path: Path, test_gen_path: Path) -> List[str]:
227 …def __init__(self, test_source_path: Path, test_gen_path: Path, config: Config, num_repeats: int =…

1234