Home
last modified time | relevance | path

Searched full:union (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dsmall_vector.h213 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
221 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
234 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
241 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
243 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
245 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
249 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
257 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
259 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
261 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dsmall_vector.h210 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
218 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
231 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
238 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
240 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
242 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
246 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
254 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
256 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
258 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
[all …]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
Dshell.py22 from typing import Union, Optional
123 src: Union[str, Path],
124 dst: Union[str, Path]) -> ShellResult:
128 src: Union[str, Path],
129 dst: Union[str, Path]) -> ShellResult:
132 def get_filesize(self, filepath: Union[str, Path]) -> int:
163 src: Union[str, Path],
164 dst: Union[str, Path]) -> ShellResult:
168 src: Union[str, Path],
169 dst: Union[str, Path]) -> ShellResult:
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dsendable_class_interface_property.sts67 …NonSendableClass2 | null; // ERROR, sendable class property cannot be non-sendable-class union type
68 …ndableInterface | number; // ERROR, sendable class property cannot be non-sendable-class union type
69 …lass2 | null | undefined; // ERROR, sendable class property cannot be non-sendable-class union type
78 …: ConstEnum | ConstEnum1.Memc1; // ERROR, sendable class property cannot be non-sendable union type
79 …prop15: ConstEnum2 | RegularEnum1; // ERROR, sendable class property cannot be non-sendable union
80 …rEnum2.Memr2 | SendableClass10; // ERROR, sendable class property cannot be non-sendable union type
84 … alias6 | NonSendableInterface; // ERROR, sendable class property cannot be non-sendable union type
85 …prop21: alias7 | SendableClass3; // ERROR, sendable class property cannot be non-sendable union ty…
86 …prop22: SendableClass10 | alias8; // ERROR, sendable class property cannot be non-sendable union t…
91 prop27: true | false; // ERROR, sendable class property cannot be non-sendable union type
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/getter/ets_to_ts/
Dgetter.sts69 type Union = int | string;
72 public _value: Union;
74 constructor(value: Union) {
78 public get value(): Union {
83 function create_union_type_getter_class_from_ets(arg: Union): UnionTypeClass {
159 function create_any_type_getter_class_from_ets_union(arg: Union): AnyTypeClass<Union> {
160 return new AnyTypeClass<Union>(arg);
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Ddecorator_value.py22 from typing import Union, List, Tuple, Any, Callable, Optional, Set, Type
30 CliOptionType = Union[str, List[str]]
88 def _to_qemu(names: Union[str, List[Tuple[str, bool]], None]) -> Optional[QemuKind]:
103 TestSuiteFromCliValue = Optional[Union[bool, List[str]]]
108 def _to_test_suites(names: Optional[List[Union[str, TestSuitesFromCliTuple]]]) -> Optional[Set[str]…
127 def _to_bool(cli_value: Union[str, bool, None]) -> Optional[bool]:
135 def _to_int(cli_value: Union[str, int, None]) -> Optional[int]:
143 def _to_processes(cli_value: Union[str, int, None]) -> Optional[int]:
151 def _to_jit_preheats(cli_value: Union[str, int, None], *, prop: str, default_if_empty: int) -> Opti…
167 def _to_time_edges(cli_value: Union[str, List[int], None]) -> Optional[List[int]]:
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/assn_var/
Dassn-var-lit_n.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Assignment context, variable, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
Dassn-var-lit.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Assignment context, variable, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
Dassn-var-wd.sts19 Conversion from a union type to a wider union type.
20 Assignment context, variable, widening union conversion, implicit
21 params: to union type {{c.to_type}}
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/
Dunion_types_1.sts42 assert x.num == 777: "Error! The num field of union must be 777";
46 assert x.num == 1000: "Error! The num field of union must be 1000";
53 assert x.num == 1000: "Error! The num field of union must be 1000";
62 assert x.num == 41: "Error! The num field of union must be 41";
64 assert x.num == 42: "Error! The num field of union must be 42";
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_meth/
Dcall-meth-lit.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Call context, instance method, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
Dcall-meth-lit_n.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Call context, instance method, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/decl_field/
Ddecl-field-lit_n.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Declaration context, instance field, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
Ddecl-field-wd.sts19 Conversion from a union type to a wider union type.
20 Declaration context, instance field, widening union conversion, implicit
21 params: to union type {{c.to_type}}
Ddecl-field-un.sts19 Conversion from a non-union type to a union type.
20 Declaration context, field declaration, widening union conversion, implicit
21 params: to union type {{c.to_type}}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_cons/
Dcall-cons-un.sts19 Conversion from a non-union type to a union type.
20 Call context, constructor, widening union conversion, implicit
21 params: to union type {{c.to_type}}
Dcall-cons-lit.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Call context, constructor, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_lmbd/
Dcall-lmbd-lit_n.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Call context, lambda, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
Dcall-lmbd-lit.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Call context, lambda, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
Dcall-lmbd-wd.sts19 Conversion from a union type to a wider union type.
20 Call context, lambda, widening union conversion, implicit
21 params: to union type {{c.to_type}}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/decl_var/
Ddecl-var-lit_n.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Declaration context, variable and constant, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/call_func/
Dcall-func-wd.sts19 Conversion from a union type to a wider union type.
20 Call context, function, widening union conversion, implicit
21 params: to union type {{c.to_type}}
Dcall-func-un.sts19 Conversion from a non-union type to a union type.
20 Call context, function call, widening union conversion, implicit
21 params: to union type {{c.to_type}}
Dcall-func-lit.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Call context, function, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/06.widening_union_conversion/comp_obj/
Dcomp-obj-lit_n.sts19 Conversion from a union type that consists of literals only to a non-union type.
20 Composite context, object, widening union conversion, implicit
21 params: union of literals to {{c.to_type}}

12345678910>>...17