Home
last modified time | relevance | path

Searched full:none (Results 1 – 25 of 1181) sorted by relevance

12345678910>>...48

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Ddecorator_value.py41 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 …]
Dcli_options.py63 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 …]
Doptions_custom.py44 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/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
Dcompiler.py61 dump_dynamic_ast: bool | None = None
62 debugger_eval_mode: bool | None = None
63 debugger_eval_panda_files: list[Path] | None = None
64 debugger_eval_source: Path | None = None
65 debugger_eval_line: int | None = None
66 log_level: str | None = None
79 if value is not None:
87 eval_panda_files: list[Path] | None = None
88 eval_source: Path | None = None
89 eval_line: int | None = None
[all …]
Drich_logging.py94 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 …]
Ddebug_types.py41 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 …]
Dexpect.py55 if tb is None:
56 return None
63 case (None, _, _) | (_, None, _) | (_, _, None):
64 return None
80 return None
90 def _check(self, level: int, waring_type: Type[Warning]) -> Iterator[None]:
95 if tb is None:
111 def warning(self) -> Iterator[None]:
119 def error(self) -> Iterator[None]:
136 …raises: None | type[BaseException] | tuple[type[BaseException], ...] = kwargs.get("raises", tuple(…
[all …]
Drunnable_module.py51 …def __init__(self, source_file: Path, panda_file: Path, ast: dict[str, Any] | None = None) -> None: argument
56 self._ast: dict[str, Any] | None = ast
57 self._disasm_file: Path | None = None
61 if self._ast is None:
101 def log(self, log: RichLogger, level: int = logging.INFO, **kwargs) -> None:
112 def __init__(self, entry_file: ScriptFile, boot_files: Iterable[ScriptFile] | None = None): argument
/arkcompiler/ets_frontend/ets2panda/lexer/
DkeywordsUtil.cpp25 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/
DkeywordsUtil.cpp24 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/tests/tests-u-runner/runner/plugins/ets/ets_templates/
Dtest_metadata.py41 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
78 timeout: Optional[int] = None
79 spec: Optional[str] = None
[all …]
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
Dentrypoints.yaml52 bridge: none
88 bridge: none
276 bridge: none
350 bridge: none
368 bridge: none
386 bridge: none
483 bridge: none
508 bridge: none
516 bridge: none
533 bridge: none
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
Dtest_object_preview.py46 … name="{i}".format(i=idx), type_="object", value="A", value_preview=None, subtype=None
55 description=None,
56 entries=None,
62 name="x", type_="object", value="i32[](5)", value_preview=None, subtype="array"
69 subtype=None,
70 description=None,
71 entries=None,
83 value_preview=None,
84 subtype=None,
93 description=None,
[all …]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
Dshell.py58 def set_ret_val(self) -> None:
69 def set_time(self) -> None:
76 if tmp[0] is None:
90 def log_output(self) -> None:
104 def __init__(self, timeout: Optional[float] = None) -> None:
115 timeout: Optional[float] = None,
119 def run_async(self, cmd: str) -> None:
141 def set_affinity(self, arg: str) -> None:
151 def __init__(self, timeout: Optional[float] = None) -> None:
157 timeout: Optional[float] = None,
[all …]
Dhook.py34 def __init__(self, args: Args) -> None: # pylint: disable=unused-argument
52 def __init__(self) -> None:
58 def register(self, hook: HookBase, args: Args) -> None:
61 b_u = getattr(hook, 'before_unit', None)
62 b_s = getattr(hook, 'before_suite', None)
63 a_u = getattr(hook, 'after_unit', None)
64 a_s = getattr(hook, 'after_suite', None)
85 def run_before_unit(self, bu: BenchUnit) -> None:
90 def run_after_unit(self, bu: BenchUnit) -> None:
95 def run_before_suite(self, platform: PlatformBase) -> None:
[all …]
Ddoclet.py52 def next(self) -> None:
57 def skip_empty(self) -> None:
86 return_type: Optional[str] = None
87 args: Optional[argparse.Namespace] = None
95 setup: Optional[str] = None
98 bench_args: Optional[argparse.Namespace] = None
102 generator: Optional[str] = None
113 def __init__(self, lines, pos, lang) -> None:
115 self.state: Optional[BenchClass] = None
123 def validate_comment(doclets: List[NameVal]) -> None:
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/src/arkts_playground/models/
Dcommon.py23 output: Optional[str] = None
24 error: Optional[str] = None
25 exit_code: Optional[int] = None
29 output: Optional[str] = None
30 code: Optional[str] = None
31 error: Optional[str] = None
32 exit_code: Optional[int] = None
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/base-ui/
Dicon.svg4 <g id="play_expand" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
12 <g id="play_retract" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
21 <g id="toolWindowProject" stroke="none" stroke-width="1" fill="currentColor"
29 <g id="export" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="1">
42 <g id="ic_down" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="1">
51 <g id="ic_up" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="1">
60 <g id="seach" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
68 <g id="ic_list" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
81 <g id="close" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/
D__init__.py28 if ret is None:
30 if ret is not None:
35 def pytest_addoption(parser: Parser) -> None:
39 def add_option_ini(*option, dest, default=None, opt_type=None, **kwargs) -> None:
53 def pytest_collection_modifyitems(items: List[Item], config: Config) -> None:
62 def pytest_configure(config: Config) -> None:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Drunner_base.py49 def load_test_from_list(test_root: str, line: str, directory: Optional[str] = None) -> Optional[str…
51 if test is None:
52 return None
53 …extra_dir_check = (directory is None) or (directory is not None and test.startswith(str(directory)…
58 return None
61 def load_list(test_root: str, test_list_path: str, directory: Optional[str] = None) -> List[str]:
84 return None, None
94 worker_cli_wrapper_args: Optional[argparse.Namespace] = None
97 def init_worker(shared_args: argparse.Namespace) -> None:
108 def __init__(self, config: Config, name: str) -> None:
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/chapters_test/
Dchapters_test.py31 def setUpClass(cls) -> None:
48 def test_ch1(self) -> None:
65 def test_ch2(self) -> None:
82 def test_ch3(self) -> None:
98 def test_ch4_1(self) -> None:
110 def test_ch4(self) -> None:
123 def test_ch5(self) -> None:
136 def test_ch6(self) -> None:
158 def test_ch7(self) -> None:
168 def test_ch8(self) -> None:
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_entrypoints.yaml143 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/verification/value/
Dabstract_value.h28 struct None {}; struct
29 using ContentsData = std::variant<None, Variables::Var>;
43 AbstractValue &operator=(const None & /* unused */)
45 contents_ = None {};
55 return std::holds_alternative<None>(contents_); in IsNone()
63 contents_ = None {}; in Clear()
67 // currently only None is supported
73 ContentsData contents_ {None {}};
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/
Dfile_structure.py38 parent: Optional[TestDirectory] = None,
39 subdirs: Optional[List[TestDirectory]] = None) -> None:
50 self.subdirs = subdirs if subdirs is not None else []
55 while cur is not None:
60 def iter_files(self, allowed_ext: Optional[List[str]] = None) -> Iterator[Path]:
67 def add_subdir(self, test_dir: TestDirectory) -> None:
76 return None
82 def walk_test_subdirs(path: Path, parent: Optional[TestDirectory] = None) -> Iterator[TestDirectory…
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
Dtest_doclet.py203 test.assertTrue(sts is not None)
205 test.assertTrue(parser.state is not None)
213 TestCase().assertTrue(sts is not None)
220 TestCase().assertTrue(sts is not None)
229 test.assertTrue(sts is not None)
231 test.assertTrue(parser.state is not None)
249 test.assertTrue(sts is not None)
251 test.assertTrue(parser.state is not None)
264 test.assertTrue(sts is not None)
266 test.assertTrue(parser.state is not None)
[all …]

12345678910>>...48