Home
last modified time | relevance | path

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

123

/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/ets_frontend/ts2panda/tests/types/
Dunion.test.ts29 describe("union tests in union.test.ts", function () {
30 it("test union with primitives", function () {
31 let fileNames = 'tests/types/union/union_primitives.ts';
68 it("test union with user defined type", function () {
69 let fileNames = 'tests/types/union/union_userDefinedType.ts';
104 it("test union with multi same primitives", function () {
105 let fileNames = 'tests/types/union/union_multi_same_primi.ts';
130 it("test union with multi same user defined type", function () {
131 let fileNames = 'tests/types/union/union_multi_userDefinedType.ts';
/arkcompiler/runtime_core/runtime/mem/gc/
Dgc_workers_thread_pool.h101 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GCWorkersTask()
108 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GCWorkersTask()
115 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GCWorkersTask()
121 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access)
132 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GetMarkingStack()
139 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GetRegionData()
146 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GetCard()
156 union StorageType {
/arkcompiler/ets_runtime/test/typeinfer/builtins/
Dbuiltins.ts28 AssertType(Object.getOwnPropertyDescriptor({}, "str"), "union");
31 AssertType(Object.getPrototypeOf({}), "union");
151 AssertType(arr.pop(), "union");
156 AssertType(arr.shift(), "union");
194 AssertType(str.match("123"), "union");
218 AssertType(sym.description, "union");
222 AssertType(Symbol.keyFor(Symbol.iterator), "union");
228 AssertType(werkRef.deref(), "union");
/arkcompiler/runtime_core/runtime/include/
Dmanaged_thread.h198 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GetStatus()
425 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in ReadFlag()
431 … return (fts_.as_struct.flags) != NO_FLAGS; // NOLINT(cppcoreguidelines-pro-type-union-access) in TestAllFlags()
438 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SetFlag()
446 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in ClearFlag()
453 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in ReadFlagsAndThreadStatusUnsafe()
763 union FlagsAndThreadStatus old_fts { in StoreStatus()
765 union FlagsAndThreadStatus new_fts { in StoreStatus()
767 …_fts.as_int = ReadFlagsAndThreadStatusUnsafe(); // NOLINT(cppcoreguidelines-pro-type-union-access) in StoreStatus()
771 … if (old_fts.as_struct.flags != NO_FLAGS) { // NOLINT(cppcoreguidelines-pro-type-union-access) in StoreStatus()
[all …]
Dmethod.h201 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in Method()
204 …onstraints imposed on other reads or writes NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in Method()
617 …onstraints imposed on other reads or writes NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SetNativePointer()
625 …onstraints imposed on other reads or writes NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GetNativePointer()
750 // which should become visible NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GetProfilingData()
757 // which should become visible NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GetProfilingDataWithoutCheck()
767 // which should become visible NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in GetProfilingData()
782 // which should become visible NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in IsProfilingWithoutLock()
851 union PointerInMethod {
870 union PointerInMethod pointer_ {
/arkcompiler/ets_frontend/es2panda/typescript/types/
DunionType.h28 : Type(TypeFlag::UNION), constituentTypes_(allocator->Adapter()) in UnionType()
40 : Type(TypeFlag::UNION), constituentTypes_(std::move(constituentTypes)) in UnionType()
48 : Type(TypeFlag::UNION), constituentTypes_(constituentTypes) in UnionType()
DtypeFlag.h35 UNION = 1ULL << 8, // x: a | b enumerator
77 UNION_OR_INTERSECTION = UNION | INTERSECTION,
DtypeMapping.h34 _(TypeFlag::UNION, UnionType) \
DarrayType.cpp25 bool elemIsUnion = (element_->TypeFlags() == TypeFlag::UNION); in ToString()
/arkcompiler/runtime_core/verification/util/
Dint_set.h123 … return other.SwitchOnRepr([this](const auto &other_repr) { return repr_->Union(other_repr); });
229 virtual IntSet<T, THRESHOLD> Union(const SmallRepr &other) const = 0;
230 virtual IntSet<T, THRESHOLD> Union(const LargeRepr &other) const = 0;
302 IntSet<T, THRESHOLD> Union(const SmallRepr &other) const override in Union() function
314 IntSet<T, THRESHOLD> Union(const LargeRepr &other) const override in Union() function
316 return other.Union(*this); in Union()
455 IntSet<T, THRESHOLD> Union(const SmallRepr &other) const override in Union() function
462 IntSet<T, THRESHOLD> Union(const LargeRepr &other) const override in Union() function
Dcallable.h50 union method_union {
/arkcompiler/ets_runtime/ecmascript/compiler/base/
Dbit_set.h75 void Union(const BitSet &bitset) in Union() function
118 union Data {
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_arraybuffer.h31 union UnionType32 {
35 union UnionType64 {
Dbuiltins_math.h22 union Float64Union {
/arkcompiler/runtime_core/templates/
Dcommon.rb53 n = name.split(Regexp.union(['-', '.'])).map(&:capitalize).join
90 n = "#{lang}.#{name}".split(Regexp.union(['-', '.'])).map(&:capitalize).join
/arkcompiler/runtime_core/verification/util/tests/
Dset_operations_property_test.cpp102 prop("Union", [](set &&set1, set &&set2) { in __anon36fc55b10502()
144 prop("Union", [](set &&set1, set &&set2, set &&set3) { in __anon36fc55b10802()
Dint_set_property_test.cpp133 rc::prop("Union", [&]() { in __anon50e355d80502()
/arkcompiler/ets_runtime/test/typeinfer/assertTypeRules/
DassertTypeRules.ts24 * | let test : number | string | AssertType(test, "union") |
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-type-annotation.ts35 // Test union type
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dglobal_ts_type_ref.h32 UNION, enumerator
/arkcompiler/ets_frontend/es2panda/typescript/core/
DtypeRelation.cpp24 if (source->TypeFlags() == TypeFlag::UNION) { in IsAllTypesAssignableTo()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dbounds_analysis.h81 static BoundsRange Union(const ArenaVector<BoundsRange> &ranges);
/arkcompiler/ets_runtime/ecmascript/base/
Dbit_helper.h26 union Data {
/arkcompiler/runtime_core/runtime/
Dmethod.cpp181 // imposed on other reads or writes NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access)
604 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in StartProfiling()
629 // which should become visible acquire NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in StopProfiling()

123