Home
last modified time | relevance | path

Searched full:cast (Results 1 – 25 of 1084) sorted by relevance

12345678910>>...44

/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h162 JSObject::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
165 auto jsSharedObject = JSSharedObject::Cast(object); in VisitObjectBody()
170 JSAsyncFromSyncIterator::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
173 JSGlobalObject::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
176 auto jsFunctionBase = JSFunctionBase::Cast(object); in VisitObjectBody()
181 auto jsFunction = JSFunction::Cast(object); in VisitObjectBody()
186 auto jsSharedFunction = JSSharedFunction::Cast(object); in VisitObjectBody()
191 auto jsGeneratorFunction = JSGeneratorFunction::Cast(object); in VisitObjectBody()
196 auto jsGeneratorFunction = JSAsyncGeneratorFunction::Cast(object); in VisitObjectBody()
201 auto jsProxyRevocFunction = JSProxyRevocFunction::Cast(object); in VisitObjectBody()
[all …]
/arkcompiler/runtime_core/static_core/docs/
DPBC2IR.md115 | i32tof32 | f32 Cast |
116 | i32tof64 | f64 Cast |
117 | u32tof32 | f32 Cast |
118 | u32tof64 | f64 Cast |
119 | i64tof32 | f32 Cast |
120 | i64tof64 | f64 Cast |
121 | u64tof32 | f32 Cast |
122 | u64tof64 | f64 Cast |
123 | f32tof64 | f64 Cast |
124 | f32toi32 | i32 Cast |
[all …]
/arkcompiler/runtime_core/docs/
DPBC2IR.md115 | i32tof32 | f32 Cast |
116 | i32tof64 | f64 Cast |
117 | u32tof32 | f32 Cast |
118 | u32tof64 | f64 Cast |
119 | i64tof32 | f32 Cast |
120 | i64tof64 | f64 Cast |
121 | u64tof32 | f32 Cast |
122 | u64tof64 | f64 Cast |
123 | f32tof64 | f64 Cast |
124 | f32toi32 | i32 Cast |
[all …]
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_vector.cpp55 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIVector()) { in Add()
56 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
62 JSAPIVector::Add(thread, JSHandle<JSAPIVector>::Cast(self), value); in Add()
77 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIVector()) { in Insert()
78 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Insert()
89 JSAPIVector::Insert(thread, JSHandle<JSAPIVector>::Cast(self), value, indexInt); in Insert()
104 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIVector()) { in SetLength()
105 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in SetLength()
117 …JSAPIVector::SetLength(thread, JSHandle<JSAPIVector>::Cast(self), JSTaggedValue::ToUint32(thread, … in SetLength()
131 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIVector()) { in GetCapacity()
[all …]
Dcontainers_treemap.cpp48 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(obj); in TreeMapConstructor()
66 TaggedTreeMap::Cast(internal.GetTaggedObject())->SetCompare(thread, compareFn.GetTaggedValue()); in TreeMapConstructor()
79 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeMap()) { in Set()
80 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Set()
91 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Set()
106 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeMap()) { in Get()
107 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Get()
115 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Get()
128 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeMap()) { in Remove()
129 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Remove()
[all …]
Dcontainers_lightweightmap.cpp42 JSHandle<JSAPILightWeightMap> lwMap = JSHandle<JSAPILightWeightMap>::Cast(obj); in LightWeightMapConstructor()
62 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPILightWeightMap()) { in Length()
63 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Length()
71 return JSTaggedValue(JSHandle<JSAPILightWeightMap>::Cast(self)->GetLength()); in Length()
83 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPILightWeightMap()) { in HasAll()
84 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in HasAll()
95 JSHandle<JSProxy>::Cast(lightWeightMap)->GetTarget().IsJSAPILightWeightMap()) { in HasAll()
96 …lightWeightMap = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(lightWeightMap)->GetTarge… in HasAll()
107 return JSAPILightWeightMap::HasAll(thread, JSHandle<JSAPILightWeightMap>::Cast(self), in HasAll()
108 JSHandle<JSAPILightWeightMap>::Cast(lightWeightMap)); in HasAll()
[all …]
Dcontainers_lightweightset.cpp41 JSHandle<JSAPILightWeightSet> lightweightSet = JSHandle<JSAPILightWeightSet>::Cast(obj); in LightWeightSetConstructor()
60 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPILightWeightSet()) { in Add()
61 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
69 bool flag = JSAPILightWeightSet::Add(thread, JSHandle<JSAPILightWeightSet>::Cast(self), value); in Add()
81 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPILightWeightSet()) { in AddAll()
82 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in AddAll()
92 … if (value->IsJSProxy() && JSHandle<JSProxy>::Cast(value)->GetTarget().IsJSAPILightWeightSet()) { in AddAll()
93 value = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(value)->GetTarget()); in AddAll()
104 …return JSTaggedValue(JSAPILightWeightSet::AddAll(thread, JSHandle<JSAPILightWeightSet>::Cast(self)… in AddAll()
115 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPILightWeightSet()) { in IsEmpty()
[all …]
Dcontainers_linked_list.cpp42 JSHandle<JSAPILinkedList> linkedList = JSHandle<JSAPILinkedList>::Cast(obj); in LinkedListConstructor()
56 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPILinkedList()) { in Add()
57 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
66 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in Add()
79 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPILinkedList()) { in AddFirst()
80 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in AddFirst()
89 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in AddFirst()
102 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPILinkedList()) { in GetFirst()
103 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetFirst()
110 JSHandle<JSAPILinkedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(self); in GetFirst()
[all …]
Dcontainers_treeset.cpp47 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(obj); in TreeSetConstructor()
65 TaggedTreeSet::Cast(internal.GetTaggedObject())->SetCompare(thread, compareFn.GetTaggedValue()); in TreeSetConstructor()
78 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Add()
79 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
88 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Add()
102 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Remove()
103 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Remove()
111 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Remove()
124 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Has()
125 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Has()
[all …]
Dcontainers_deque.cpp55 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIDeque()) { in InsertFront()
56 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in InsertFront()
65 JSAPIDeque::InsertFront(thread, JSHandle<JSAPIDeque>::Cast(self), value); in InsertFront()
80 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIDeque()) { in InsertEnd()
81 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in InsertEnd()
90 JSAPIDeque::InsertEnd(thread, JSHandle<JSAPIDeque>::Cast(self), value); in InsertEnd()
104 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIDeque()) { in GetFirst()
105 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetFirst()
113 JSHandle<JSAPIDeque> deque = JSHandle<JSAPIDeque>::Cast(self); in GetFirst()
127 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIDeque()) { in GetLast()
[all …]
Dcontainers_hashmap.cpp44 JSHandle<JSAPIHashMap> hashMap = JSHandle<JSAPIHashMap>::Cast(obj); in HashMapConstructor()
60 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIHashMap()) { in Keys()
61 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Keys()
81 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIHashMap()) { in Values()
82 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Values()
102 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIHashMap()) { in GetIteratorObj()
103 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetIteratorObj()
123 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIHashMap()) { in Entries()
124 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Entries()
144 …if (thisHandle->IsJSProxy() && JSHandle<JSProxy>::Cast(thisHandle)->GetTarget().IsJSAPIHashMap()) { in ForEach()
[all …]
Dcontainers_arraylist.cpp56 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIArrayList()) { in Add()
57 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
66 … return GetTaggedBoolean(JSAPIArrayList::Add(thread, JSHandle<JSAPIArrayList>::Cast(self), value)); in Add()
78 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIArrayList()) { in Insert()
79 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Insert()
90 // Math.floor(1) will produce TaggedDouble, we need to cast into TaggedInt in Insert()
102 …JSAPIArrayList::Insert(thread, JSHandle<JSAPIArrayList>::Cast(self), value, JSTaggedValue::ToUint3… in Insert()
117 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIArrayList()) { in Clear()
118 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Clear()
126 JSAPIArrayList::Clear(thread, JSHandle<JSAPIArrayList>::Cast(self)); in Clear()
[all …]
Dcontainers_hashset.cpp44 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(obj); in HashSetConstructor()
60 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIHashSet()) { in GetIteratorObj()
61 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetIteratorObj()
80 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIHashSet()) { in Values()
81 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Values()
100 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIHashSet()) { in Entries()
101 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Entries()
122 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIHashSet()) { in Add()
123 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
132 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(self); in Add()
[all …]
Dcontainers_list.cpp42 JSHandle<JSAPIList> list = JSHandle<JSAPIList>::Cast(obj); in ListConstructor()
59 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIList()) { in Add()
60 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
69 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in Add()
82 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIList()) { in Insert()
83 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Insert()
103 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in Insert()
117 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIList()) { in GetFirst()
118 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetFirst()
125 JSHandle<JSAPIList> jSAPIList = JSHandle<JSAPIList>::Cast(self); in GetFirst()
[all …]
Dcontainers_stack.cpp42 JSHandle<JSAPIStack> stack = JSHandle<JSAPIStack>::Cast(obj); in StackConstructor()
57 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIStack()) { in IsEmpty()
58 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in IsEmpty()
65 JSHandle<JSAPIStack> stack = JSHandle<JSAPIStack>::Cast(self); in IsEmpty()
80 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIStack()) { in Push()
81 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Push()
90 JSTaggedValue jsValue = JSAPIStack::Push(thread, JSHandle<JSAPIStack>::Cast(self), value); in Push()
103 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPIStack()) { in Peek()
104 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Peek()
112 JSHandle<JSAPIStack> stack = JSHandle<JSAPIStack>::Cast(self); in Peek()
[all …]
/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_map.cpp31 JSHandle<JSTaggedValue>::Cast(map)); in Set()
34 …JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject(… in Set()
42 JSHandle<JSTaggedValue>::Cast(map)); in Delete()
44 …JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject(… in Delete()
56 JSHandle<JSTaggedValue>::Cast(map)); in Clear()
58 …JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject(… in Clear()
65 …[[maybe_unused]] ConcurrentApiScope<JSSharedMap> scope(thread, JSHandle<JSTaggedValue>::Cast(map)); in Has()
67 return LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())->Has(thread, key); in Has()
72 …[[maybe_unused]] ConcurrentApiScope<JSSharedMap> scope(thread, JSHandle<JSTaggedValue>::Cast(map)); in Get()
74 return LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())->Get(thread, key); in Get()
[all …]
Djs_shared_set.cpp30 JSHandle<JSTaggedValue>::Cast(set)); in Add()
33 …JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject(… in Add()
41 JSHandle<JSTaggedValue>::Cast(set)); in Delete()
43 …JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject(… in Delete()
55 JSHandle<JSTaggedValue>::Cast(set)); in Clear()
57 …JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject(… in Clear()
64 …[[maybe_unused]] ConcurrentApiScope<JSSharedSet> scope(thread, JSHandle<JSTaggedValue>::Cast(set)); in Has()
66 return LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())->Has(thread, value); in Has()
71 …[[maybe_unused]] ConcurrentApiScope<JSSharedSet> scope(thread, JSHandle<JSTaggedValue>::Cast(set)); in GetSize()
73 return LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())->NumberOfElements(); in GetSize()
[all …]
/arkcompiler/runtime_core/static_core/irtoc/scripts/
Dstring_helpers.irt51 str1 := Cast(str1_ref).SrcType(Constants::COMPILER_REFERENCE).ptr
52 str2 := Cast(str2_ref).SrcType(Constants::COMPILER_REFERENCE).ptr
66 length := Cast(length).SrcType("DataType::UINT32").u64
131 length := Cast(length1.u32).u64
203 _data_size := Cast(data_size).word
215 Intrinsic(:WRITE_TLAB_STATS_SAFE, _start, _size, Cast(-1).u64).void if defines.DEBUG
238 _size := Cast(elements_num).word
251 Intrinsic(:WRITE_TLAB_STATS_SAFE, _start, _size, Cast(-1).u64).void if defines.DEBUG
289 Intrinsic(:WRITE_TLAB_STATS_SAFE, _start, _size, Cast(-1).u64).void if defines.DEBUG
324 data_size := unpack_length(Cast(length).u64, string_compression_enabled, 1)
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp170 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewEcmaHClass()
196 …return NewEcmaHClass(JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()… in NewEcmaHClass()
222 auto *pointer = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSArrayBufferData()
259 auto *pointer = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSSendableArrayBufferData()
449 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSRegExpByteCodeData()
473 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewEcmaHClass()
482 JSHandle<JSObject> obj(thread_, JSObject::Cast(NewObject(jshclass))); in NewJSObject()
645 auto layout = LayoutInfo::Cast(klass->GetLayout().GetTaggedObject()); in CloneObjectLiteral()
702 jshclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in CreateJSFunctionFromTemplate()
704 jshclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in CreateJSFunctionFromTemplate()
[all …]
Ddump.cpp508 DumpStringClass(EcmaString::Cast(key.GetTaggedObject()), os); in DumpPropertyKey()
510 JSSymbol *sym = JSSymbol::Cast(key.GetTaggedObject()); in DumpPropertyKey()
513 DumpStringClass(EcmaString::Cast(sym->GetDescription().GetTaggedObject()), os); in DumpPropertyKey()
573 LayoutInfo *layout = LayoutInfo::Cast(jshclass->GetLayout().GetTaggedObject()); in DumpHClass()
599 ProtoChangeMarker::Cast(marker.GetTaggedObject())->Dump(os); in DumpHClass()
608 ProtoChangeDetails::Cast(details.GetTaggedObject())->Dump(os); in DumpHClass()
631 DumpHClass(JSHClass::Cast(obj), os, true); in DumpClass()
651 DumpArrayClass(TaggedArray::Cast(obj), os); in DumpObject()
654 DumpMutantTaggedArray(MutantTaggedArray::Cast(obj), os); in DumpObject()
657 DumpCOWMutantTaggedArray(COWMutantTaggedArray::Cast(obj), os); in DumpObject()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/01.subtyping/subtyping_among_primitive_types/
Dprimitive_types_cast.params.yaml16 - {type: float, cast: double}
17 - {type: long, cast: float}
18 - {type: int, cast: long}
19 - {type: char, cast: int}
20 - {type: short, cast: int}
21 - {type: byte, cast: short}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Descape_analysis_casted.sts16 //! CHECKER Check escape analysis create cast in different sign types char
21 //! INST_COUNT "Cast", 0
23 //! INST_COUNT "Cast", 1
24 //! INST_COUNT ".u16 Cast i8", 1
46 //! CHECKER Check escape analysis create cast in different sign types cutted char
51 //! INST_COUNT "Cast", 1
52 //! INST_COUNT ".u16 Cast i8", 0
54 //! INST_COUNT "Cast", 2
55 //! INST_COUNT ".u16 Cast i8", 1
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcheckcast.yaml46 title: Check cast
48 Resolve object type by specified id and if an object in accumulator can be cast to the
58 description: Check that null object reference can be cast to any type
61 'null' object reference can be cast to every type.
100 description: Check that null object reference can be cast to any type
103 'null' object reference can be cast to every type.
150 description: Check that null object reference can be cast to any array type
153 'null' object reference can be cast to every type.
193 description: Check that null object reference can be cast to any array type
196 'null' object reference can be cast to every type.
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Dshared_object_factory_test.cpp39 JSHandle<JSTaggedValue> moduleNamespaceTag = JSHandle<JSTaggedValue>::Cast(np); in HWTEST_F_L0()
52 … JSHandle<JSTaggedValue>::Cast(importName), in HWTEST_F_L0()
53 … JSHandle<JSTaggedValue>::Cast(localName)); in HWTEST_F_L0()
54 …ASSERT_EQ(entry->GetImportName().GetRawData(), JSHandle<JSTaggedValue>::Cast(importName)->GetRawDa… in HWTEST_F_L0()
55 …ASSERT_EQ(entry->GetLocalName().GetRawData(), JSHandle<JSTaggedValue>::Cast(localName)->GetRawData… in HWTEST_F_L0()
63 … factory->NewSLocalExportEntry(JSHandle<JSTaggedValue>::Cast(factory->NewFromASCII("exportName")), in HWTEST_F_L0()
64 … JSHandle<JSTaggedValue>::Cast(factory->NewFromASCII("localName")), 1); in HWTEST_F_L0()
66 JSHandle<JSTaggedValue>::Cast(factory->NewFromASCII("exportName"))->GetRawData()); in HWTEST_F_L0()
68 JSHandle<JSTaggedValue>::Cast(factory->NewFromASCII("localName"))->GetRawData()); in HWTEST_F_L0()
75 JSHandle<JSTaggedValue>::Cast(factory->NewFromASCII("exportName")), 0, in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dcheckcast.yaml25 title: Check cast
27 Resolve object type by specified id and if an object in accumulator can be cast to the
36 description: Check that null object reference can be cast to any type
39 'null' object reference can be cast to every type.
76 description: Check that null object reference can be cast to any array type
79 'null' object reference can be cast to every type.
117 description: Check that any object can be cast to the base type
119 … description: Object of type O can be cast to type T if O is the same as T or is subtype of T.
159 description: Check that any object can be cast to its type
161 … description: Object of type O can be cast to type T if O is the same as T or is subtype of T.
[all …]

12345678910>>...44