Home
last modified time | relevance | path

Searched refs:TSObjectType (Results 1 – 11 of 11) sorted by relevance

/ark/js_runtime/ecmascript/ts_types/
Dts_type.cpp27 JSHClass *TSObjectType::GetOrCreateHClass(JSThread *thread) in GetOrCreateHClass()
40 JSHClass *TSObjectType::CreateHClassByProps(JSThread *thread, JSHandle<TSObjLayoutInfo> propType) c… in CreateHClassByProps()
107TSObjectType *constructorType = TSObjectType::Cast(classType->GetConstructorType().GetTaggedObject… in SearchProperty()
139TSObjectType *instanceType = TSObjectType::Cast(createClassType->GetInstanceType().GetTaggedObject… in SearchProperty()
140TSObjectType *prototype = TSObjectType::Cast(createClassType->GetPrototypeType().GetTaggedObject()… in SearchProperty()
Dts_type.h51 class TSObjectType : public TSType {
53 CAST_CHECK(TSObjectType, IsTSObjectType);
Dts_type_table.cpp303 JSHandle<TSObjectType> instanceType; in ParseClassType()
326 JSHandle<TSObjectType> prototypeType = factory->NewTSObjectType(numNonStatic); in ParseClassType()
343 JSHandle<TSObjectType> constructorType = factory->NewTSObjectType(numStatic); in ParseClassType()
390 JSHandle<TSObjectType> fieldsType = factory->NewTSObjectType(numFields); in ParseInterfaceType()
405 JSHandle<TSObjectType> TSTypeTable::LinkSuper(JSThread *thread, JSHandle<TSClassType> &baseClassTyp… in LinkSuper()
410 JSHandle<TSObjectType> baseInstanceType(thread, baseClassType->GetInstanceType()); in LinkSuper()
415 …JSHandle<TSObjectType> derivedInstanceType = factory->NewTSObjectType(*numBaseFields + numDerivedF… in LinkSuper()
Dts_type_table.h97 static JSHandle<TSObjectType> LinkSuper(JSThread *thread, JSHandle<TSClassType> &baseClassType,
/ark/js_runtime/ecmascript/ts_types/tests/
Dts_type_test.cpp112 JSHandle<TSObjectType> fields = JSHandle<TSObjectType>(thread, interfaceType->GetFields()); in HWTEST_F_L0()
158 JSHandle<TSObjectType> fields = JSHandle<TSObjectType>(thread, classType->GetInstanceType()); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/
Dobject_factory.h85 class TSObjectType; variable
342 JSHandle<TSObjectType> NewTSObjectType(uint32_t numOfKeys);
459 friend class TSObjectType; variable
Ddump.cpp632 TSObjectType::Cast(obj)->Dump(thread, os); in DumpObject()
2138 void TSObjectType::Dump(JSThread *thread, std::ostream &os) const in Dump()
2195 TSObjectType *instanceType = TSObjectType::Cast(GetInstanceType().GetTaggedObject()); in Dump()
2202 TSObjectType *constructorType = TSObjectType::Cast(GetConstructorType().GetTaggedObject()); in Dump()
2209 TSObjectType *prototypeType = TSObjectType::Cast(GetPrototypeType().GetTaggedObject()); in Dump()
2244 TSObjectType *fieldsType = TSObjectType::Cast(GetFields().GetTaggedObject()); in Dump()
2622 TSObjectType::Cast(obj)->DumpForSnapshot(thread, vec); in DumpObject()
3516 void TSObjectType::DumpForSnapshot(JSThread *thread, std::vector<std::pair<CString, JSTaggedValue>>… in DumpForSnapshot()
Dglobal_env_constants.cpp138 … factory->NewEcmaDynClass(dynClassClass, TSObjectType::SIZE, JSType::TS_OBJECT_TYPE)); in InitRootsClass()
Dobject_factory.cpp2098 JSHandle<TSObjectType> ObjectFactory::NewTSObjectType(uint32_t numOfKeys) in NewTSObjectType()
2104 JSHandle<TSObjectType> objectType(thread_, header); in NewTSObjectType()
/ark/js_runtime/ecmascript/mem/
Dobject_xray-inl.h314 TSObjectType::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
/ark/js_runtime/ecmascript/tests/
Ddump_test.cpp676 CHECK_DUMP_FILEDS(TaggedObject::TaggedObjectSize(), TSObjectType::SIZE, 3) in HWTEST_F_L0()
677 JSHandle<TSObjectType> objectType = factory->NewTSObjectType(0); in HWTEST_F_L0()