| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
| D | generate.py | 55 def search_test_files_in_dir(d: Path, 56 root: Path, 70 def process_test_list(lst: Path, ext: Iterable[str] = ()) -> List[SrcPath]: 80 def search_test_files(paths: List[Path], 108 bench_dir: Path, src: SrcPath) -> str: 125 def check_common_files(full: Path, lang_name: str) -> str: 147 def check_resources(full: Path, lang_name: str, dest: Path) -> bool: 159 def check_native(full: Path, dest: Path) -> bool: 169 def write_config(bench_dir: Path, values: TemplateVars): 174 def process_generator(src_full: Path, bench_dir: Path, [all …]
|
| D | shell.py | 123 src: Union[str, Path], argument 128 src: Union[str, Path], argument 132 def get_filesize(self, filepath: Union[str, Path]) -> int: argument 163 src: Union[str, Path], argument 168 src: Union[str, Path], argument 267 def get_filesize(self, filepath: Union[str, Path]) -> int: argument 274 src: Union[str, Path], argument 279 src: Union[str, Path], argument 306 src: Union[str, Path], argument 312 src: Union[str, Path], argument [all …]
|
| D | helpers.py | 98 def read_list_file(list_file: Union[str, Path]) -> List[str]: argument 125 extra: Optional[Path] = None) -> Any: 147 extra: Optional[Path]) -> Dict[str, Any]: 231 def save(self, json_file: Union[Path, str]) -> None: 268 def create_file(path: Union[str, Path]): argument 275 def force_link(link: Path, dest: Path) -> None:
|
| D | unit.py | 51 path: Union[str, Path], argument 52 src: Optional[Union[str, Path]] = None, argument 53 libs: Optional[Iterable[Union[str, Path]]] = None, argument
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/ |
| D | test_case.py | 24 def is_negative(path: Path) -> bool: 28 def should_be_skipped(path: Path) -> bool: 32 def strip_template(path: Path) -> Tuple[str, int]:
|
| D | test_parameters.py | 33 def load_params(dirpath: Path) -> Params:
|
| D | file_structure.py | 35 def __init__(self, path: Path, 82 def walk_test_subdirs(path: Path, parent: Optional[TestDirectory] = None) -> Iterator[TestDirectory…
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/ |
| D | ets_templates_generator.py | 33 def __init__(self, root_path: Path, gen_path: Path) -> None: 41 def dfs(self, path: Path, seen: Set) -> None: 68 def __generate_test(self, path: Path) -> None:
|
| D | benchmark.py | 36 def __init__(self, test_path: Path, output: Path, test_full_name: str) -> None:
|
| D | params.py | 28 def __init__(self, input_path: Path, bench_name: str) -> None:
|
| D | test_metadata.py | 90 def get_metadata(path: Path) -> TestMetadata: 108 def get_package_statement(path: Path) -> Optional[str]:
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
| D | paoc.py | 65 def panda_files(files: Iterable[Path]) -> str: 97 abc: Union[str, Path], argument 104 def get_aot_stats(self, an: Union[str, Path], argument
|
| D | es2panda.py | 60 src: Path, 61 abc: Path,
|
| D | es2abc.py | 63 src: Union[str, Path], argument
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/stdlib_templates/ |
| D | stdlib_templates_generator.py | 43 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/tests-u-runner/runner/ |
| D | utils.py | 72 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) … 117 def read_file(file_path: Union[Path, str]) -> str: 123 def write_2_file(file_path: Union[Path, str], content: str) -> None: 155 def iter_files(dirpath: Union[Path, str], allowed_ext: List[str]) -> Iterator[Tuple[str, str]]: 189 def pairwise(iterable: Iterable[Path]) -> Iterator[Tuple[Path, Path]]: 195 def compare_files(files: List[Path]) -> bool:
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ |
| D | preparation_step.py | 47 def __init__(self, test_source_path: Path, test_gen_path: Path, config: Config) -> None: 75 …def __init__(self, test_source_path: Path, test_gen_path: Path, config: Config, extension: str) ->… 119 def generate_template_tests(template_root_path: Path, test_gen_path: Path) -> List[str]: 193 …def __init__(self, test_source_path: Path, test_gen_path: Path, config: Config, num_repeats: int =…
|
| D | ets_utils.py | 34 def are_tests_generated(self, generated_folder: Path) -> bool: 38 def create_report(self, generated_folder: Path, tests: List[str]) -> None:
|
| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | path.cpp | 25 Path::Path(const util::StringView &absolutePath, ArenaAllocator *allocator) in Path() function in ark::es2panda::util::Path 111 Path::Path(const util::StringView &relativePath, const util::StringView &basePath, ArenaAllocator *… in Path() function in ark::es2panda::util::Path 117 Path::Path(const std::string &absolutePath, ArenaAllocator *allocator) in Path() function in ark::es2panda::util::Path 122 Path::Path(const std::string &relativePath, const std::string &basePath, ArenaAllocator *allocator) in Path() function in ark::es2panda::util::Path
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/ |
| D | spec_report.py | 53 report_path: Path, 54 md_report: Optional[Path], 55 yaml_report: Optional[Path], 56 spec_file: Path,
|
| D | detailed_report.py | 42 …__init__(self, results: List[Test], test_suite: str, report_path: Path, report_file: Optional[Path…
|
| D | xml_view.py | 33 def __init__(self, report_root: Path, summary: Summary) -> None:
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/scripts/micro-benchmarks/ |
| D | run_micro_benchmarks.py | 35 def record_failure_compile(self, path: Path): 38 def record_failure_aot_compile(self, path: Path): 41 def record_failure_exec(self, path: Path): 44 def record_success(self, path: Path): 47 def record_time(self, path: Path, time: float):
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ |
| D | work_dir.py | 25 def __init__(self, general: GeneralOptions, default_work_dir: Path):
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/ |
| D | coverage_dir.py | 24 def __init__(self, general: GeneralOptions, work_dir: Path):
|