| /arkcompiler/ets_frontend/ets2panda/public/headers_parser/ |
| D | text_tools.py | 27 def find_first_not_restricted_character(restricted: str, data: str, pos: int = 0, pos_end: int = MA… 34 def rfind_first_not_restricted_character(restricted: str, data: str, pos: int, pos_end: int = 0) ->… 45 def skip_rstring(data: str, pos: int = 0, pos_end: int = MAX_LEN) -> int: 66 def skip_string(data: str, pos: int = 0, pos_end: int = MAX_LEN) -> int: 83 def find_first_of_characters(characters: str, data: str, pos: int = 0, pos_end: int = MAX_LEN) -> i… 96 def rfind_first_of_characters(characters: str, data: str, pos: int, pos_end: int = 0) -> int: 107 def is_operator(data: str, current_pos: int) -> bool: 113 def find_scope_borders(data: str, start: int = 0, opening_bracket: str = "{") -> Tuple[int, int]: 177 def smart_find_first_of_characters(characters: str, data: str, pos: int) -> int:
|
| D | parse_class.py | 27 def parse_friend_class(data: str, start: int) -> Tuple[int, str]: 34 def parse_class(data: str, start: int = 0, namespace: str = "", parent_class_name: str = "") -> Tup… 63 def extract_class_name(data: str, pos: int) -> str: 77 def parse_template_prefix(data: str, start: int) -> Tuple[int, str]:
|
| D | parse_method.py | 29 def parse_method_or_constructor(data: str, start: int = 0) -> Tuple[int, Dict]: 95 def parse_declaration_without_postfix(data: str, start: int, res: Dict[str, Any]) -> int: 148 def parse_initializers(data: str, start: int = 0) -> Tuple[int, List]: # pylint: disable=C0116
|
| D | parse_define.py | 26 def parse_define_macros(data: str, start: int = 0) -> Tuple[int, Dict]: 66 def parse_define_macros_name(data: str, start: int) -> Tuple[int, str]:
|
| D | parse_using.py | 23 def parse_using(data: str, start: int = 0) -> Tuple[int, Dict]:
|
| D | parse_namespace.py | 22 def parse_namespace(data: str, start: int = 0) -> Tuple[int, Dict]:
|
| D | parse_struct.py | 43 def parse_struct(data: str, start: int = 0) -> Tuple[int, Dict]:
|
| /arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/tests/ |
| D | samples_record_test.cpp | 264 sourceMapTranslateCallback_ = [](const std::string&, int, int, std::string) { return true; }; in HWTEST_F_L0() argument 272 sourceMapTranslateCallback_ = [](const std::string&, int, int, std::string) { return false; }; in HWTEST_F_L0() argument 280 sourceMapTranslateCallback_ = [](const std::string&, int, int, std::string) { return false; }; in HWTEST_F_L0() argument 288 sourceMapTranslateCallback_ = [](const std::string&, int, int, std::string) { return false; }; in HWTEST_F_L0() argument 296 sourceMapTranslateCallback_ = [](const std::string&, int, int, std::string) { return false; }; in HWTEST_F_L0() argument
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
| D | utils.py | 39 def progress(block_num: int, block_size: int, total_size: int) -> None: 134 def get_opener(mode: int) -> Callable[[Union[str, Path], int], int]: 135 def opener(path_name: Union[str, Path], flags: int) -> int: 140 def write_list_to_file(list_for_write: list, file_path: Path, mode: int = 0o644) -> None: 158 def wrap_with_function(code: str, jit_preheat_repeats: int) -> str: 190 def get_group_number(test_id: str, total_groups: int) -> int:
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/mirrors/ |
| D | base.py | 52 depth: Optional[int] = None, 57 def _arkts_str(obj: Any, *, depth: Optional[int] = None) -> str: 81 def arkts_str(*objs, depth: Optional[int] = DEFAULT_ARKTS_STR_DEPTH) -> str: 91 def arkts_str_list(objs: List, depth: Optional[int] = DEFAULT_ARKTS_STR_DEPTH) -> List[str]:
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
| D | decorator_value.py | 135 def _to_int(cli_value: Union[str, int, None]) -> Optional[int]: argument 143 def _to_processes(cli_value: Union[str, int, None]) -> Optional[int]: argument 151 def _to_jit_preheats(cli_value: Union[str, int, None], *, prop: str, default_if_empty: int) -> Opti… argument 167 def _to_time_edges(cli_value: Union[str, List[int], None]) -> Optional[List[int]]: 181 def _to_str(obj: Any, indent: int = 0) -> str:
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/ |
| D | runner_base.py | 34 def run_test(pair: tuple[Test, int]) -> Test: argument 93 def add_tests_param(tests: set[Test], repeat: int) -> list[tuple[Test, int]]: 104 def run_threads(self, repeat: int) -> None:
|
| D | cpumask.py | 44 def get_prop(cpu: int, prop: str) -> str: 52 def set_prop(cpu: int, prop: str, val: str) -> None: 89 def set_prop(cpu: int, prop: str, val: str) -> None:
|
| D | utils.py | 55 def progress(block_num: int, block_size: int, total_size: int) -> None: 173 def wrap_with_function(code: str, jit_preheat_repeats: int) -> str: 205 def get_group_number(test_id: str, total_groups: int) -> int: 224 def is_build_instrumented(binary: str, line: str, threshold: int = 0) -> bool: 233 def indent(times: int) -> str: 335 def pretty_divider(length: int = 100) -> str:
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/gclog/ |
| D | utils.py | 22 def percentile(data_sorted_asc: List[float], p: int) -> float: 29 def mem_to_bytes(size: int, units: str) -> int:
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
| D | expect.py | 53 def tb_next(tb, step: int = 1) -> Optional[TracebackType]: 61 def _extract_traceback(level: int = 4) -> Optional[Tuple[StackSummary, Traceback]]: 90 def _check(self, level: int, waring_type: Type[Warning]) -> Iterator[None]:
|
| D | debug_types.py | 89 async def mirror_values(self, depth: int): 115 async def mirror_value(self, *, depth: int) -> Any: 135 async def mirror_value(self, *, depth: int = DEFAULT_DEPTH) -> Any: 147 async def _mirror_object(self, obj: runtime.RemoteObject, *, depth: int = DEFAULT_DEPTH) -> Any: 171 async def mirror_variables(self, *, depth: int = DEFAULT_DEPTH) -> OrderedDict[str, Any]: 211 def frame(self, id: Union[int, debugger.CallFrameId] = 0) -> Frame:
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/hooks/ |
| D | cpumask.py | 81 def get_prop(cpu: int, prop: str) -> str: 86 def set_prop(cpu: int, prop: str, val: str) -> None: 140 def set_prop(cpu: int, prop: str, val: str) -> None:
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/hermes/ |
| D | test_js_hermes.py | 33 def _validate_compiler(return_code: int, output_path: str) -> bool: 83 def ark_validate_result(self, actual_output: str, _: Any, return_code: int) -> bool:
|
| /arkcompiler/runtime_core/taihe/compiler/taihe/codegen/abi/ |
| D | mangle.py | 79 def _encode_uleb8(value: int) -> list[int]: 106 def _decode_uleb8(encoded: str, start_pos: int) -> tuple[int, int]:
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/ |
| D | cmd_executor.py | 25 …def run_command(self, command: List[str], stdout: Union[TextIO, int] = subprocess.PIPE) -> Union[s… argument 34 …def run_command(self, command: List[str], stdout: Union[TextIO, int] = subprocess.PIPE) -> Union[s… argument
|
| /arkcompiler/runtime_core/static_core/scripts/code_style/ |
| D | code_style_check.py | 70 def get_proc_count(cmd_ard : int) -> int: 81 def check_file_list(file_list : list, panda_dir : str, reformat : bool, proc_count : int):
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/declgents2ets/ |
| D | test_declgents2ets.py | 107 def _validate_declgen_ts2ets(self, return_code: int, output_path: str) -> bool: 110 def _validate_es2panda(self, return_code: int) -> bool:
|
| /arkcompiler/runtime_core/assembler/ |
| D | context.cpp | 131 Token::Type Context::operator++(int) in operator ++() argument 166 Token::Type Context::operator--(int) in operator --() argument
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/declgenets2ts/ |
| D | test_declgenets2ts.py | 114 def _validate_declgen_ets2ts(self, return_code: int, output_path: str) -> bool: 117 def _validate_tsc(self, return_code: int) -> bool:
|