Home
last modified time | relevance | path

Searched refs:GetObjectType (Results 1 – 25 of 40) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.h405 inline JSType GetObjectType() const in GetObjectType() function
491 JSType jsType = GetObjectType(); in IsJSObject()
497 JSType jsType = GetObjectType(); in IsECMAObject()
503 return GetObjectType() == JSType::JS_REALM; in IsRealm()
508 return GetObjectType() == JSType::HCLASS; in IsHClass()
513 JSType jsType = GetObjectType(); in IsString()
519 return GetObjectType() == JSType::LINE_STRING; in IsLineString()
524 return GetObjectType() == JSType::CONSTANT_STRING; in IsConstantString()
529 return GetObjectType() == JSType::TREE_STRING; in IsTreeString()
534 return GetObjectType() == JSType::BIGINT; in IsBigInt()
[all …]
Djs_hclass-inl.h163 auto type = GetObjectType(); in HasReferenceField()
179 auto type = GetObjectType(); in SizeFromJSHClass()
Djs_tagged_value.cpp239 JSType xType = x.GetTaggedValue().GetTaggedObject()->GetClass()->GetObjectType(); in Equal()
240 JSType yType = y.GetTaggedValue().GetTaggedObject()->GetClass()->GetObjectType(); in Equal()
1039 JSType jsType = hclass->GetObjectType(); in HasContainerProperty()
1086 JSType jsType = hclass->GetObjectType(); in GetOwnContainerPropertyKeys()
1132 JSType jsType = hclass->GetObjectType(); in GetOwnContainerEnumPropertyKeys()
1170 JSType jsType = hclass->GetObjectType(); in GetContainerProperty()
1227 JSType jsType = hclass->GetObjectType(); in GetJSAPIProperty()
1269 JSType jsType = hclass->GetObjectType(); in SetJSAPIProperty()
Dobject_fast_operator-inl.h53 JSType jsType = hclass->GetObjectType(); in GetPropertyByName()
121 JSType jsType = hclass->GetObjectType(); in SetPropertyByName()
231 JSType jsType = hclass->GetObjectType(); in GetPropertyByIndex()
287 JSType jsType = hclass->GetObjectType(); in SetPropertyByIndex()
Djs_for_in_iterator.cpp40 JSType jsType = hclass->GetObjectType(); in CheckObjProto()
Djs_thread.cpp266 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++; in IterateHandleWithCheck()
272 … ", type:" << JSHClass::DumpJSType(JSType(object->GetClass()->GetObjectType())) << in IterateHandleWithCheck()
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper-inl.h38 JSType type = obj->GetJSHClass()->GetObjectType(); in GetType()
72 JSType type = obj->GetJSHClass()->GetObjectType(); in GetElementSize()
98 JSType type = obj->GetTaggedObject()->GetClass()->GetObjectType(); in GetConstructor()
/arkcompiler/ets_runtime/ecmascript/tests/
Dthrow_oom_error_test.cpp66 JSType errorType = thread->GetException().GetTaggedObject()->GetClass()->GetObjectType(); in HWTEST_F_L0()
98 JSType errorType = thread->GetException().GetTaggedObject()->GetClass()->GetObjectType(); in HWTEST_F_L0()
Dobject_factory_test.cpp89 EXPECT_TRUE(cls->GetObjectType() == JSType::JS_OBJECT); in HWTEST_F_L0()
126 EXPECT_TRUE(cls->GetObjectType() == JSType::JS_FUNCTION); in HWTEST_F_L0()
Djs_hclass_test.cpp66 EXPECT_EQ(objectClass->GetObjectType(), JSType::TAGGED_ARRAY); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder-inl.h1003 inline GateRef StubBuilder::GetObjectType(GateRef hClass) in GetObjectType() function
1005 return env_->GetBuilder()->GetObjectType(hClass); in GetObjectType()
1083 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSFunctionBase()
1110 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsSymbol()
1124 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsLineString()
1130 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsConstantString()
1136 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsTreeString()
1149 GateRef objectType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsBigInt()
1155 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJsProxy()
1161 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJsArray()
[all …]
Dcircuit_builder-inl.h376 return Int32Equal(GetObjectType(LoadHClass(obj)), Int32(static_cast<int32_t>(JSType::HCLASS))); in IsJSHClass()
388 GateRef objType = GetObjectType(LoadHClass(x)); in TaggedIsAsyncGeneratorObject()
397 GateRef objType = GetObjectType(LoadHClass(x)); in TaggedIsJSGlobalObject()
406 GateRef objType = GetObjectType(LoadHClass(x)); in TaggedIsGeneratorObject()
414 GateRef objType = GetObjectType(LoadHClass(x)); in TaggedIsJSArray()
483 GateRef objType = GetObjectType(LoadHClass(x)); in IsAOTLiteralInfo()
619 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSFunction()
672 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJsType()
678 GateRef type = GetObjectType(LoadHClass(object)); in IsDictionaryMode()
682 GateRef CircuitBuilder::GetObjectType(GateRef hClass) in GetObjectType() function
[all …]
Dtyped_array_stub_builder.cpp149 GateRef jsType = GetObjectType(hclass); in FastCopyElementToArray()
Dnew_object_stub_builder.cpp443 auto objectType = GetObjectType(protoOrHclass); in FastNewThisObject()
Dstub_builder.cpp727 GateRef type = GetObjectType(hclass); in JSHClassAddProperty()
1204 result = Int32Equal(GetObjectType(LoadHClass(obj)), in TaggedIsBigInt()
1225 GateRef type = GetObjectType(LoadHClass(obj)); in TaggedIsPropertyBox()
1246 GateRef type = GetObjectType(LoadHClass(x)); in TaggedIsAccessor()
2193 GateRef jsType = GetObjectType(hclass); in GetPropertyByIndex()
2411 GateRef jsType = GetObjectType(hclass); in GetPropertyByName()
2571 GateRef type = GetObjectType(hclass); in TransitionForRepChange()
2727 GateRef jsType = GetObjectType(hclass); in SetPropertyByIndex()
2894 GateRef jsType = GetObjectType(hclass); in SetPropertyByName()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dencode_bit.h110 size_t GetObjectType() const in GetObjectType() function
Dsnapshot.cpp66 if (objectHeader->GetClass()->GetObjectType() == JSType::PROGRAM) { in Serialize()
/arkcompiler/ets_runtime/ecmascript/mem/
Dverification.cpp82 << JSHClass::DumpJSType(slot.GetTaggedObject()->GetClass()->GetObjectType()) in operator ()()
Dheap.cpp1236 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++; in StatisticHeapObject()
1247 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++; in StatisticHeapObject()
1258 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++; in StatisticHeapObject()
Dobject_xray.h126 JSType type = klass->GetObjectType(); in VisitObjectBody()
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeRecorder.cpp271 int64_t TypeRecorder::GetObjectType(const std::string &objectStr) const in GetObjectType() function in panda::es2panda::extractor::TypeRecorder
279 ASSERT(GetObjectType(objectStr) == objectIndex); in SetObjectType()
DtypeRecorder.h96 int64_t GetObjectType(const std::string &objectStr) const;
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_compare_op.cpp187 JSType xType = left.GetTaggedObject()->GetClass()->GetObjectType(); in EqualWithIC()
188 JSType yType = right.GetTaggedObject()->GetClass()->GetObjectType(); in EqualWithIC()
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/
Dsnapshot_test.cpp255 EXPECT_TRUE(ecmaVm2->GetGlobalEnv()->GetClass()->GetObjectType() == JSType::GLOBAL_ENV); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot.cpp232 JSType type = hCls->GetObjectType(); in GenerateNodeName()
582 nodeType = NodeType(hCls->GetObjectType()); in GenerateNodeType()

12