Home
last modified time | relevance | path

Searched defs:int (Results 1 – 25 of 119) sorted by relevance

12345

/arkcompiler/ets_frontend/ets2panda/public/headers_parser/
Dtext_tools.py27 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:
Dparse_class.py27 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]:
Dparse_method.py29 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
Dparse_define.py26 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]:
Dparse_using.py23 def parse_using(data: str, start: int = 0) -> Tuple[int, Dict]:
Dparse_namespace.py22 def parse_namespace(data: str, start: int = 0) -> Tuple[int, Dict]:
Dparse_struct.py43 def parse_struct(data: str, start: int = 0) -> Tuple[int, Dict]:
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/tests/
Dsamples_record_test.cpp264 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/
Dutils.py39 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/
Dbase.py52 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/
Ddecorator_value.py135 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/
Drunner_base.py34 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:
Dcpumask.py44 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:
Dutils.py55 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/
Dutils.py22 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/
Dexpect.py53 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]:
Ddebug_types.py89 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/
Dcpumask.py81 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/
Dtest_js_hermes.py33 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/
Dmangle.py79 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/
Dcmd_executor.py25 …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/
Dcode_style_check.py70 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/
Dtest_declgents2ets.py107 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/
Dcontext.cpp131 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/
Dtest_declgenets2ts.py114 def _validate_declgen_ets2ts(self, return_code: int, output_path: str) -> bool:
117 def _validate_tsc(self, return_code: int) -> bool:

12345