| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/suites/ |
| D | test_metadata.py | 44 def __init__(self, tags: list[str] | None = None) -> None: argument 73 def __contains(tag: str, tags: list[str] | None) -> bool: argument 74 return tag in tags if tags is not None else False 80 desc: str | None = None 81 files: list[str] | None = None 82 assertion: str | None = None 83 params: Any | None = None # type: ignore[explicit-any] 84 name: str | None = None 85 package: str | None = None 87 timeout: int | None = None [all …]
|
| D | test_lists.py | 43 self.explicit_list: Path | None = ( 45 … if self.config.test_suite.test_lists.explicit_list is not None and self.list_root is not None 46 else None 48 self.explicit_test: Path | None = None 60 def __search_option_in_list(option: str, arg_list: list[str] | None) -> list[str]: argument 61 if arg_list is None: 66 def __to_bool(value: str | None) -> bool | None: argument 69 return value in true_list if value and value in true_list + false_list else None 71 def collect_excluded_test_lists(self, extra_list: list[str] | None = None, argument 72 test_name: str | None = None) -> None: argument [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
| D | cli_options.py | 63 if enum_value is None: 68 def add_js_test_suite_args(parser: argparse.ArgumentParser) -> None: 71 default=None, 75 default=None, 84 option_string: Optional[str] = None) -> None: 91 def add_sts_test_suite_args(parser: argparse.ArgumentParser) -> None: 95 default=None, 99 default=None, help='run test against ETS STDLIB TEMPLATES and manual written ETS tests') 102 default=None, 106 default=None, [all …]
|
| D | decorator_value.py | 41 cast_to_type: Optional[CastToTypeFunction] = None 46 if cli is not None: 49 yaml = cast_to_type(yaml) if cast_to_type is not None and yaml is not None else yaml 50 if yaml is not None: 53 if default_value is None and required: 69 cast_to_type: Optional[CastToTypeFunction] = None 71 cli = None 74 cli = cast_to_type(cli) if cast_to_type is not None and cli is not None else cli 77 if cast_to_type is None: 88 def _to_qemu(names: Union[str, List[Tuple[str, bool]], None]) -> Optional[QemuKind]: argument [all …]
|
| D | options_custom.py | 44 return None 49 return None 54 return None 59 return None 66 def validate(self) -> None: 78 f'--custom-suite={self.suite_name}' if self.suite_name is not None else '', 79 f'--custom-test-root={self.test_root}' if self.test_root is not None else '', 80 f'--custom-list-root={self.list_root}' if self.list_root is not None else '', 81 f'--custom-generator={self.generator}' if self.generator is not None else '', 87 if self.suite_name is not None: [all …]
|
| /arkcompiler/ets_frontend/ets2panda/lexer/ |
| D | keywordsUtil.cpp | 25 NONE = 0U, enumerator 44 AsciiFlags::NONE, /* NUL */ 45 AsciiFlags::NONE, /* SOH */ 46 AsciiFlags::NONE, /* STX */ 47 AsciiFlags::NONE, /* ETX */ 48 AsciiFlags::NONE, /* EOT */ 49 AsciiFlags::NONE, /* ENQ */ 50 AsciiFlags::NONE, /* ACK */ 51 AsciiFlags::NONE, /* BEL */ 52 AsciiFlags::NONE, /* BS */ [all …]
|
| /arkcompiler/ets_frontend/es2panda/lexer/ |
| D | keywordsUtil.cpp | 24 NONE = 0, enumerator 43 AsciiFlags::NONE, /* NUL */ 44 AsciiFlags::NONE, /* SOH */ 45 AsciiFlags::NONE, /* STX */ 46 AsciiFlags::NONE, /* ETX */ 47 AsciiFlags::NONE, /* EOT */ 48 AsciiFlags::NONE, /* ENQ */ 49 AsciiFlags::NONE, /* ACK */ 50 AsciiFlags::NONE, /* BEL */ 51 AsciiFlags::NONE, /* BS */ [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
| D | compiler.py | 61 dump_dynamic_ast: bool | None = None 62 debugger_eval_panda_files: list[Path] | None = None 63 debugger_eval_source: Path | None = None 64 debugger_eval_line: int | None = None 65 log_level: str | None = None 84 if value is not None: 92 eval_panda_files: list[Path] | None = None 93 eval_source: Path | None = None 94 eval_line: int | None = None 95 eval_log_level: CompileLogLevel | None = None [all …]
|
| D | rich_logging.py | 94 if ret is None: 98 return None 123 def pytest_addoption(parser: Parser) -> None: 128 def _add_option_ini(option, dest, default=None, opt_type=None, **kwargs): 140 default=None, 151 …_add_option_ini("--log-cli-level", dest=_LOG_CLI_LEVEL_NAME, default=None, help="CLI logging level… 153 …"--log-file", dest=_LOG_FILE_NAME, default=None, help="Path to a file when logging will be written… 158 …_add_option_ini("--log-file-level", dest=_LOG_FILE_LEVEL_NAME, default=None, help="Log file loggin… 177 def __init__(self, handler: _HandlerType, level: int | None = None) -> None: argument 183 if self.level is not None: [all …]
|
| D | debug_types.py | 41 def __init__(self, client: DebuggerClient, meta: SourceMeta | None = None) -> None: argument 51 if (entry := self.cache.get(id, None)) is not None: 73 def __init__(self, locator: Locator, data: T) -> None: 86 def __init__(self, initlist=None): 105 def __init__(self, locator: Locator, data: runtime.PropertyDescriptor) -> None: 113 return self.locator.remote_object(self.data.value) if self.data.value is not None else None 120 return None 130 if self.data.object_id is None: 151 return None 152 case None: [all …]
|
| D | layouts.py | 55 table.add_row("none", "", style="italic") 60 scopes: Set[str] | None = None, argument 61 skip_scopes: Sequence[str] | None = None, argument 70 if this is not None: 76 skip_scopes = skip_scopes if skip_scopes is not None else ("global",) 78 if (scopes is None or scope.data.type_ in scopes) and (scope.data.type_ not in skip_scopes): 96 scopes: Set[str] | None = None, argument 97 skip_scopes: Sequence[str] | None = None, argument 107 scopes: Set[str] | None = None, argument 108 skip_scopes: Sequence[str] | None = None, argument
|
| D | debug_client.py | 38 pause_on_exceptions_mode: Literal["none", "caught", "uncaught", "all"] = "none" 51 ) -> None: 78 mode: Optional[Literal["none", "caught", "uncaught", "all"]] = None, argument 82 mode if mode is not None else self.config.pause_on_exceptions_mode, 134 own_properties: Optional[bool] = None, 135 accessor_properties_only: Optional[bool] = None, 136 generate_preview: Optional[bool] = None, 155 condition: Optional[str] = None, 164 async def remove_breakpoint(self, breakpoint_id: debugger.BreakpointId) -> None: 171 async def remove_breakpoints_by_url(self, url: str) -> None: [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/ |
| D | test_metadata.py | 41 def __init__(self, tags: Optional[List[str]] = None) -> None: 65 return tag in tags if tags is not None else False 71 desc: Optional[str] = None 72 files: Optional[List[str]] = None 73 assertion: Optional[str] = None 74 params: Optional[Any] = None 75 name: Optional[str] = None 76 package: Optional[str] = None 77 module: Optional[str] = None 79 timeout: Optional[int] = None [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/sts_utils/ |
| D | file_structure.py | 36 parent: TestDirectory | None 42 parent: TestDirectory | None = None, argument 43 subdirs: list[TestDirectory] | None = None) -> None: argument 54 self.subdirs = subdirs if subdirs is not None else [] 57 cur: TestDirectory | None = self 59 while cur is not None: 64 def iter_files(self, allowed_ext: list[str] | None = None) -> Iterator[Path]: argument 71 def add_subdir(self, test_dir: TestDirectory) -> None: 75 def find_subdir_by_name(self, name: str) -> TestDirectory | None: 80 return None [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/options/ |
| D | cli_options.py | 33 OptionType = CliOptionType | dict | Path | None 51 … def __parse_option(arg_list: ArgListType, option_name: str, default_value: CliOptionType | None) \ argument 52 -> tuple[CliOptionType | None, ArgListType]: 62 option_values: list[CliOptionType | None] = [] 65 if option_value is None: 68 if len(option_values) == 0 or (len(option_values) == 1 and option_values[0] is None): 77 def __is_option_value_int(value: CliOptionType | None) -> tuple[bool, int | None]: argument 83 the second item: the returned value if it's int or None 91 return False, None 92 return False, None [all …]
|
| D | options_test_suite.py | 62 super().__init__(None) 71 self.__list_root: str | None = self.__data[self.__LIST_ROOT] \ 73 self.__test_root: str | None = self.__data[self.__TEST_ROOT] \ 74 if self.__data[self.__TEST_ROOT] else None 88 if self.__list_root is None: 94 if self.__test_root is None: 105 def add_cli_args(parser: argparse.ArgumentParser) -> None: 139 def __fill_collection_props(prop_value: dict) -> None: 168 def extension(self, collection: CollectionsOptions | None = None) -> str: argument 171 def with_js(self, collection: CollectionsOptions | None = None) -> bool: argument [all …]
|
| D | options.py | 29 _parent: Optional['IOptions'] = None 31 def __init__(self, params: dict[str, Any] | None = None): # type: ignore[explicit-any] argument 37 …def __get_value_from_steps(value: list[Any], parts: list[str]) -> Any | None: # type: ignore[expl… 41 if new_value is not None: 43 return None 56 def get_value(self, option: str | list[str]) -> Any | None: # type: ignore[explicit-any] 61 if (new_value := self.__get_value_from_properties(parts)) is not None: 63 if (new_value := self.__get_value_from_parameters(parts)) is not None: 65 if self._parent is not None: 67 return None [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/ |
| D | llvm_cov_tool.py | 32 …__init__(self, build_dir_path: Path, coverage_dir: CoverageDir, cmd_executor: CmdExecutor) -> None: 44 …def get_uniq_profraw_profdata_file_paths(self, component_name: Optional[str] = None) -> List[Path]: 48 if component_name is not None: 58 def merge_and_delete_prowraw_files(self, profraw_file: Path, profdata_file: Path) -> None: 67 profdata_root_dir_path: Optional[Path] = None, 68 profdata_files_list_file_path: Optional[Path] = None 69 ) -> None: 77 def make_profdata_list_files_by_components(self) -> None: 86 profdata_files_list_file_path: Optional[Path] = None, 87 merged_profdata_file_path: Optional[Path] = None [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/extensions/ |
| D | debugger.py | 61 url: typing.Optional[str] = None 62 url_regex: typing.Optional[str] = None 63 column_number: typing.Optional[int] = None 64 script_hash: typing.Optional[str] = None 65 condition: typing.Optional[str] = None 71 url=str(json["url"]) if "url" in json else None, 72 url_regex=str(json["urlRegex"]) if "urlRegex" in json else None, 73 column_number=int(json["columnNumber"]) if "columnNumber" in json else None, 74 script_hash=str(json["scriptHash"]) if "scriptHash" in json else None, 75 condition=str(json["condition"]) if "condition" in json else None, [all …]
|
| /arkcompiler/runtime_core/taihe/compiler/taihe/semantics/ |
| D | analysis.py | 109 self._current_pkg_group = None 110 self._current_pkg = None # Always points to the current package. 124 def visit_package_decl(self, p: PackageDecl) -> None: 127 self._current_pkg = None 130 def visit_package_group(self, g: PackageGroup) -> None: 133 self._current_pkg_group = None 136 def visit_package_ref_decl(self, d: PackageRefDecl) -> None: 143 if pkg is None: 150 def visit_declaration_ref_decl(self, d: DeclarationRefDecl) -> None: 159 if pkg is None: [all …]
|
| D | declarations.py | 50 loc: SourceLocation | None 70 loc: SourceLocation | None 76 loc: SourceLocation | None, argument 100 def get_last_attr(self, name: str) -> AttrItemDecl | None: 101 return self.attrs.get(name, [None])[-1] 115 loc: SourceLocation | None, argument 126 _node_parent: T | None = None 139 _node_parent: T | None = None 168 fn func(foo: BadType); // `BadType` is `TypeRefDecl(ty=None)`. 175 maybe_resolved_ty: "Type | None" = None [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/entrypoints/ |
| D | entrypoints.yaml | 52 bridge: none 88 bridge: none 283 bridge: none 357 bridge: none 375 bridge: none 393 bridge: none 490 bridge: none 515 bridge: none 523 bridge: none 540 bridge: none [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/ |
| D | test_object_preview.py | 49 value_preview=None, 50 subtype=None, 59 description=None, 60 entries=None, 66 name="x", type_="object", value="i32[](5)", value_preview=None, subtype="array" 73 subtype=None, 74 description=None, 75 entries=None, 87 value_preview=None, 88 subtype=None, [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_entrypoints.yaml | 143 bridge: none 171 bridge: none 181 bridge: none 209 bridge: none 246 bridge: none 256 bridge: none 266 bridge: none 296 bridge: none 307 bridge: none 318 bridge: none [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/ |
| D | environment.py | 42 local_env: Path | None = None, argument 44 urunner_path: Path | None = None): argument 46 self.local_env_path: Path | None = local_env 47 self.urunner_path: Path | None = urunner_path 50 def check_expand_mandatory_prop(var_name: PropName, must_exist: MustExist) -> None: 52 if var_value is None: 69 def load_environment(self) -> None: 79 def load_local_env(self) -> None: 86 def load_home_env(self) -> None:
|