Searched refs:objClass (Results 1 – 8 of 8) sorted by relevance
/arkcompiler/runtime_core/static_core/runtime/tests/ |
D | class_linker_test_extension.cpp | 33 …auto *objClass = CreateClass(ctx.GetObjectClassDescriptor(), GetClassVTableSize(ClassRoot::OBJECT), in InitializeImpl() local 35 objClass->SetObjectSize(ObjectHeader::ObjectHeaderSize()); in InitializeImpl() 36 classClass->SetBase(objClass); in InitializeImpl() 37 objClass->SetState(Class::State::LOADED); in InitializeImpl() 39 GetClassLinker()->AddClassRoot(ClassRoot::OBJECT, objClass); in InitializeImpl()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_hclass_test.cpp | 245 JSHandle<JSHClass> objClass = CreateJSHClass(thread); in HWTEST_F_L0() local 246 JSHandle<JSObject> Obj1 = factory->NewJSObject(objClass); in HWTEST_F_L0() 247 JSHandle<JSObject> Obj2 = factory->NewJSObject(objClass); in HWTEST_F_L0() 256 …JSHandle<JSHClass> propertyHclass = JSHClass::SetPropertyOfObjHClass(thread, objClass, keyE, attr); in HWTEST_F_L0() 260 propertyHclass = JSHClass::SetPropertyOfObjHClass(thread, objClass, keyF, attr); in HWTEST_F_L0() 278 JSHandle<JSHClass> objClass(thread, Obj->GetClass()); in HWTEST_F_L0() local 279 EXPECT_FALSE(objClass1 != objClass); in HWTEST_F_L0() 288 EXPECT_TRUE(objClass1 == objClass); in HWTEST_F_L0() 318 JSHandle<JSHClass> objClass(thread, Obj1->GetClass()); in HWTEST_F_L0() local 319 EXPECT_TRUE(newClass1 == objClass); in HWTEST_F_L0() [all …]
|
/arkcompiler/runtime_core/static_core/runtime/core/ |
D | core_class_linker_extension.cpp | 71 …auto *objClass = GetClassLinker()->GetClass(ctx.GetObjectClassDescriptor(), false, GetBootContext(… in InitializeImpl() local 72 if (objClass == nullptr) { // Happens when we work without pandastdlib in InitializeImpl() 73 … objClass = CreateClass(ctx.GetObjectClassDescriptor(), GetClassVTableSize(ClassRoot::OBJECT), in InitializeImpl() 75 objClass->SetObjectSize(ObjectHeader::ObjectHeaderSize()); in InitializeImpl() 76 objClass->SetState(Class::State::LOADED); in InitializeImpl() 77 objClass->SetLoadContext(GetBootContext()); in InitializeImpl() 78 GetClassLinker()->AddClassRoot(ClassRoot::OBJECT, objClass); in InitializeImpl() 80 SetClassRoot(ClassRoot::OBJECT, objClass); in InitializeImpl() 82 classClass->SetBase(objClass); in InitializeImpl() 86 stringClass->SetBase(objClass); in InitializeImpl()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | ic_handler_test.cpp | 264 JSHandle<JSHClass> objClass(thread, handleObj->GetJSHClass()); in HWTEST_F_L0() local 270 …SHandle<JSTaggedValue> handlerValue = PrototypeHandler::StorePrototype(thread, handleOp, objClass); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/verification/absint/ |
D | abs_int_inl.h | 2649 auto objClass = objType.GetClass(); in CheckFieldAccessByName() local 2650 auto field = objClass->LookupFieldByName(rawField->GetName()); in CheckFieldAccessByName() 2659 … method = objClass->LookupGetterByName<panda_file::Type::TypeId::I32>(rawField->GetName()); in CheckFieldAccessByName() 2662 … method = objClass->LookupGetterByName<panda_file::Type::TypeId::I64>(rawField->GetName()); in CheckFieldAccessByName() 2665 … method = objClass->LookupGetterByName<panda_file::Type::TypeId::REFERENCE>(rawField->GetName()); in CheckFieldAccessByName() 2673 … method = objClass->LookupSetterByName<panda_file::Type::TypeId::I32>(rawField->GetName()); in CheckFieldAccessByName() 2676 … method = objClass->LookupSetterByName<panda_file::Type::TypeId::I64>(rawField->GetName()); in CheckFieldAccessByName() 2679 … method = objClass->LookupSetterByName<panda_file::Type::TypeId::REFERENCE>(rawField->GetName()); in CheckFieldAccessByName()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | object_factory.cpp | 3590 JSHandle<JSHClass> objClass = NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, fieldOrder); in CreateObjectClass() local 3591 objClass->SetPrototype(thread_, proto.GetTaggedValue()); in CreateObjectClass() 3593 objClass->SetExtensible(true); in CreateObjectClass() 3594 objClass->SetLayout(thread_, layoutInfoHandle); in CreateObjectClass() 3595 objClass->SetNumberOfProps(fieldOrder); in CreateObjectClass() 3597 return objClass; in CreateObjectClass() 3601 const JSHandle<JSHClass> &objClass) in SetLayoutInObjHClass() argument 3604 JSHandle<JSHClass> newObjHclass(objClass); in SetLayoutInObjHClass()
|
D | object_factory.h | 514 const JSHandle<JSHClass> &objClass);
|
D | js_object.cpp | 1865 JSHandle<JSHClass> objClass(thread, obj->GetJSHClass()); in EnumerableOwnPropertyNamesHelper() local 1894 fastMode = fastMode ? CheckHClassHit(obj, objClass) : fastMode; in EnumerableOwnPropertyNamesHelper()
|