Home
last modified time | relevance | path

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

12345678910>>...42

/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.py61 if enum_value is None:
66 def add_test_suite_args(parser: argparse.ArgumentParser) -> None:
70 default=None,
74 default=None,
78 default=None,
82 default=None,
86 default=None,
90 default=None,
94 default=None,
99 default=None, help='run test against ETS STDLIB TEMPLATES and manual written ETS tests')
[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 …]
Dyaml_document.py30 def __init__(self) -> None:
32 self._document: Optional[Dict[str, Any]] = None
45 def save(config_path: str, data: Dict[str, Any]) -> None:
49 def load_configs(self, config_paths: Optional[List[str]]) -> None:
50 if config_paths is None:
70 return None
71 if current is None or isinstance(current, (bool, int, list, str)):
76 def merge(self, config_path: str, data: Dict[str, Any]) -> None:
77 if self._document is None:
84 None:
/arkcompiler/ets_frontend/es2panda/lexer/
DkeywordsUtil.cpp26 NONE = 0, enumerator
45 AsciiFlags::NONE, /* NUL */
46 AsciiFlags::NONE, /* SOH */
47 AsciiFlags::NONE, /* STX */
48 AsciiFlags::NONE, /* ETX */
49 AsciiFlags::NONE, /* EOT */
50 AsciiFlags::NONE, /* ENQ */
51 AsciiFlags::NONE, /* ACK */
52 AsciiFlags::NONE, /* BEL */
53 AsciiFlags::NONE, /* BS */
[all …]
/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/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/toolchain/test/autotest/aw/cdp/
Druntime.py34 own_properties: Optional[bool] = None,
35 accessor_properties_only: Optional[bool] = None,
36 generate_preview: Optional[bool] = None,
37 non_indexed_properties_only: Optional[bool] = None):
40 if own_properties is not None:
42 if accessor_properties_only is not None:
44 if generate_preview is not None:
46 if non_indexed_properties_only is not None:
/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/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 …]
Dunit.py52 src: Optional[Union[str, Path]] = None,
53 libs: Optional[Iterable[Union[str, Path]]] = None,
54 tags: Optional[Iterable[str]] = None,
55 bugs: Optional[Iterable[str]] = None) -> None:
57 self.__src: Optional[Path] = self.path.joinpath(src) if src else None
62 self.device_path: Optional[Path] = None
79 def status(self, stat: BUStatus) -> None:
84 if m is None:
87 if tmp[0] is None:
91 def parse_run_output(self, res: ShellResult) -> None:
[all …]
/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/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/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…
99 def build_directory_tree(test_dir: TestDirectory) -> None:
112 def print_tree(test_dir: TestDirectory) -> None:
/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/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 …]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/hooks/
Dgclog.py36 def __init__(self, args: Args) -> None:
39 self.gc_parser_cls: Optional[Type] = None
40 self.x_sh: Optional[ShellBase] = None
46 def before_suite(self, platform: PlatformBase) -> None:
51 def after_unit(self, bu: BenchUnit) -> None:
55 if bu.device_path is None:
57 if self.x_sh is None:
64 if self.gc_parser_cls is None:
Dtombstones.py32 def __init__(self, args: Args) -> None:
34 self.x_sh: Optional[ShellBase] = None
45 def before_suite(self, platform: PlatformBase) -> None:
49 def before_unit(self, bu: BenchUnit) -> None:
50 if self.x_sh is None:
54 def after_unit(self, bu: BenchUnit) -> None:
55 if self.x_sh is None:
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Dplugins_registry.py33 def __init__(self) -> None:
47 def load_plugin(self, plugin_name: str, plugin_path: str) -> None:
53 runner_class_name = runner_class.pop() if len(runner_class) > 0 else None
54 if runner_class_name is not None:
65 class_name = classes.pop() if len(classes) > 0 else None
66 if class_name is not None:
70 def load_builtin_plugins(self) -> None:
81 def load_from_env(self) -> None:
99 def add(self, runner_name: str, runner: type) -> None:
109 def cleanup(self) -> None:
Dlogger.py35 log_path = report_root if report_root is not None else \
68 def all(logger: logging.Logger, message: str) -> None:
78 def short(logger: logging.Logger, message: str) -> None:
88 def summary(logger: logging.Logger, message: str) -> None:
98 def default(logger: logging.Logger, message: str) -> None:
100 Logs on the level verbose=None
109 exception_cls: Optional[Type[Exception]] = None) -> NoReturn:
115 if exception_cls is None:
/arkcompiler/ets_runtime/ecmascript/
Dobject_fast_operator.h30 None = 0x00UL, enumerator
54 template<Status status = Status::None>
58 template<Status status = Status::None>
62 template<Status status = Status::None>
65 template<Status status = Status::None>
69 template<Status status = Status::None>
74 template <Status status = Status::None>
78 template <Status status = Status::None>
82 template <Status status = Status::None>
85 template <Status status = Status::None>
[all …]
/arkcompiler/ets_frontend/test/scripts/utils/download_sdk_and_image/
Dupdate.py104 sdk_item = next((item for item in download_list if item.get('name') == 'sdk'), None)
108 api_version = None
115 if output_path_version is None:
148 await loop.run_in_executor(None, shutil.rmtree, output_path)
151 await loop.run_in_executor(None, shutil.copytree, file_path, output_path)
173 parser.add_argument('--sdkFilePath', type=str, dest='sdk_file_path', default=None,
175 parser.add_argument('--sdkOutputPath', type=str, dest='sdk_output_path', default=None,
178 parser.add_argument('--dayuFilePath', type=str, dest='dayu_file_path', default=None,
180 parser.add_argument('--dayuOutputPath', type=str, dest='dayu_output_path', default=None,
188 if output_path_list is None:
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/hermes/
Dutil_hermes.py38 def __init__(self, config: Config, work_dir: WorkDir) -> None:
50 if self.hermes_url is None:
52 if self.hermes_revision is None:
60 if self.hermes_url is not None and self.hermes_revision is not None:
72 test.assertFalse(self.hermes_url is None)
73 test.assertFalse(self.hermes_revision is None)
76 def process_copy(self, src_path: str, dst_path: str) -> None:
87 def create_file(self, src_file: str, dest_file: str) -> None:
105 TestCase().assertTrue(actual_output is not None, "Expected some output to check")
109 if process.stdin is None:

12345678910>>...42