| /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 load_file(path: Union[str, Path]) -> str: argument 283 def force_link(link: Path, dest: Path) -> None:
|
| /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 | 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/generators/ets_func_tests/ |
| D | ets_func_test_template_generator.py | 35 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/plugins/ets/tests/debugger/src/tests/evaluate/ |
| D | test_ets_evaluate.py | 37 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/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:
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
| D | disassembler.py | 46 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,
|
| D | ark_config.py | 57 ark_build_path: Path, 83 ark_build_path: Path, 108 ark_build_path: Path,
|
| D | compiler.py | 113 cwd: Path = Path(), 129 source_file: Path, 130 output_file: Path, 131 cwd: Path = Path(), 165 source_file: Path, 166 tmp_path: Path, 208 def __init__(self, tmp_path: Path, ark_compiler: Compiler) -> None: 273 tmp_path: Path,
|
| D | layouts.py | 35 def source_file(src_file: Path, **kwargs) -> Syntax: 103 url: Path,
|
| /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 | 36 def make_arktsconfig(configpath: Union[str, Path], argument 113 src: Path, 114 abc: Path,
|
| D | es2abc.py | 67 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) … 118 def read_file(file_path: Union[Path, str]) -> str: 124 def write_2_file(file_path: Union[Path, str], content: str) -> None: 157 def iter_files(dirpath: Union[Path, str], allowed_ext: List[str]) -> Iterator[Tuple[str, str]]: 191 def pairwise(iterable: Iterable[Path]) -> Iterator[Tuple[Path, Path]]: 197 def compare_files(files: List[Path]) -> bool:
|
| D | path_utils.py | 27 def chown2user(file_or_dir: Path, *, recursive: bool = True) -> None: 37 def recursive_chown(file_or_dir: Path, sudo_user: str, sudo_group: int) -> None:
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ |
| D | preparation_step.py | 48 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 =…
|
| 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/plugins/ets/tests/debugger/src/arkdb/compiler_verification/ |
| D | expression_verifier.py | 37 path: Path, 44 def load(path: Path) -> dict[str, Any]: 66 path: Path, 75 def load(path: Path) -> ExpressionComparatorOptions:
|
| /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,
|
| /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):
|