Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
Dgenerate.py55 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 …]
Dshell.py123 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 …]
Dhelpers.py98 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:
Dunit.py51 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/
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]:
Dtest_parameters.py33 def load_params(dirpath: Path) -> Params:
Dfile_structure.py35 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/
Dets_templates_generator.py33 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:
Dbenchmark.py36 def __init__(self, test_path: Path, output: Path, test_full_name: str) -> None:
Dparams.py28 def __init__(self, input_path: Path, bench_name: str) -> None:
Dtest_metadata.py90 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/
Dpaoc.py65 def panda_files(files: Iterable[Path]) -> str:
97 abc: Union[str, Path], argument
104 def get_aot_stats(self, an: Union[str, Path], argument
Des2panda.py60 src: Path,
61 abc: Path,
Des2abc.py63 src: Union[str, Path], argument
/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/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) …
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/
Dpreparation_step.py47 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 =…
Dets_utils.py34 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/
Dpath.cpp25 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/
Dspec_report.py53 report_path: Path,
54 md_report: Optional[Path],
55 yaml_report: Optional[Path],
56 spec_file: Path,
Ddetailed_report.py42 …__init__(self, results: List[Test], test_suite: str, report_path: Path, report_file: Optional[Path…
Dxml_view.py33 def __init__(self, report_root: Path, summary: Summary) -> None:
/arkcompiler/runtime_core/static_core/plugins/ets/tests/scripts/micro-benchmarks/
Drun_micro_benchmarks.py35 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/
Dwork_dir.py25 def __init__(self, general: GeneralOptions, default_work_dir: Path):
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/
Dcoverage_dir.py24 def __init__(self, general: GeneralOptions, work_dir: Path):

12