Searched refs:TSObjectType (Results 1 – 11 of 11) sorted by relevance
/ark/js_runtime/ecmascript/ts_types/ |
D | ts_type.cpp | 27 JSHClass *TSObjectType::GetOrCreateHClass(JSThread *thread) in GetOrCreateHClass() 40 JSHClass *TSObjectType::CreateHClassByProps(JSThread *thread, JSHandle<TSObjLayoutInfo> propType) c… in CreateHClassByProps() 107 …TSObjectType *constructorType = TSObjectType::Cast(classType->GetConstructorType().GetTaggedObject… in SearchProperty() 139 …TSObjectType *instanceType = TSObjectType::Cast(createClassType->GetInstanceType().GetTaggedObject… in SearchProperty() 140 …TSObjectType *prototype = TSObjectType::Cast(createClassType->GetPrototypeType().GetTaggedObject()… in SearchProperty()
|
D | ts_type.h | 51 class TSObjectType : public TSType { 53 CAST_CHECK(TSObjectType, IsTSObjectType);
|
D | ts_type_table.cpp | 303 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()
|
D | ts_type_table.h | 97 static JSHandle<TSObjectType> LinkSuper(JSThread *thread, JSHandle<TSClassType> &baseClassType,
|
/ark/js_runtime/ecmascript/ts_types/tests/ |
D | ts_type_test.cpp | 112 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/ |
D | object_factory.h | 85 class TSObjectType; variable 342 JSHandle<TSObjectType> NewTSObjectType(uint32_t numOfKeys); 459 friend class TSObjectType; variable
|
D | dump.cpp | 632 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()
|
D | global_env_constants.cpp | 138 … factory->NewEcmaDynClass(dynClassClass, TSObjectType::SIZE, JSType::TS_OBJECT_TYPE)); in InitRootsClass()
|
D | object_factory.cpp | 2098 JSHandle<TSObjectType> ObjectFactory::NewTSObjectType(uint32_t numOfKeys) in NewTSObjectType() 2104 JSHandle<TSObjectType> objectType(thread_, header); in NewTSObjectType()
|
/ark/js_runtime/ecmascript/mem/ |
D | object_xray-inl.h | 314 TSObjectType::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
|
/ark/js_runtime/ecmascript/tests/ |
D | dump_test.cpp | 676 CHECK_DUMP_FILEDS(TaggedObject::TaggedObjectSize(), TSObjectType::SIZE, 3) in HWTEST_F_L0() 677 JSHandle<TSObjectType> objectType = factory->NewTSObjectType(0); in HWTEST_F_L0()
|