Home
last modified time | relevance | path

Searched refs:PropertyBox (Results 1 - 25 of 31) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/ic/
H A Dproperty_box.h28 class PropertyBox : public TaggedObject { class
30 static PropertyBox *Cast(TaggedObject *object) in Cast()
33 return static_cast<PropertyBox *>(object); in Cast()
H A Dproperty_box.cpp19 void PropertyBox::Clear(const JSThread *thread) in Clear()
H A Dic_runtime_stub-inl.h409 PropertyBox *cell = PropertyBox::Cast(handler.GetTaggedObject()); in LoadGlobal()
422 PropertyBox *cell = PropertyBox::Cast(handler.GetTaggedObject()); in StoreGlobal()
H A Dic_handler.h408 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in LoadPrototype()
439 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in StorePrototype()
H A Dic_runtime.cpp241 return PropertyBox::Cast(box.GetTaggedObject())->GetValue(); in LoadMiss()
/arkcompiler/ets_runtime/ecmascript/ic/tests/
H A Dproperty_box_test.cpp51 * @tc.desc: Creating PropertyBox object through "NewPropertyBox" function,the Property value is exist,then calling
61 JSHandle<PropertyBox> handlePropertyBox = factory->NewPropertyBox(handleValue); in HWTEST_F_L0()
71 * @tc.desc: Creating PropertyBox object through "NewPropertyBox" function,this object call "SetValue" function
82 JSHandle<PropertyBox> handlePropertyBox = JSHandle<PropertyBox>::Cast(handlePropertyBoxVal); in HWTEST_F_L0()
H A Dic_runtime_stub_test.cpp72 JSHandle<PropertyBox> handleBoxValue = factory->NewPropertyBox(handleValue); in HWTEST_F_L0()
100 JSHandle<PropertyBox> handleBoxValue = in HWTEST_F_L0()
132 JSHandle<PropertyBox> handlePropertyBox = factory->NewPropertyBox(handleValue); in HWTEST_F_L0()
336 JSHandle<PropertyBox> boxHandler = factory->NewPropertyBox(keyHandle); in HWTEST_F_L0()
360 // handler is PropertyBox and then call StoreGlobal function. in HWTEST_F_L0()
394 JSHandle<PropertyBox> boxHandler = factory->NewPropertyBox(keyHandle); in HWTEST_F_L0()
422 // handler is PropertyBox and then call LoadGlobal function. in HWTEST_F_L0()
525 JSHandle<PropertyBox> handlerValue = factory->NewPropertyBox(handleUndefinedVal); in HWTEST_F_L0()
H A Dic_handler_test.cpp157 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
160 // test op value is PropertyBox in HWTEST_F_L0()
194 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Dglobal_dictionary-inl.h50 PropertyBox *GlobalDictionary::GetBox(int entry) const in GetBox()
53 return PropertyBox::Cast(Get(index).GetTaggedObject()); in GetBox()
212 PropertyBox *box = dictHandle->GetBox(entry); in InvalidatePropertyBox()
227 JSHandle<PropertyBox> newBox = factory->NewPropertyBox(oldValue); in InvalidateAndReplaceEntry()
228 PropertyBox *box = dictHandle->GetBox(entry); in InvalidateAndReplaceEntry()
H A Dobject_operator.cpp188 value_.Update(PropertyBox::Cast(value_->GetTaggedObject())->GetValue()); in FastGetValue()
441 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in ToPropertyDescriptor()
450 JSHandle<PropertyBox> cell(value_); in ToPropertyDescriptor()
645 valueAccessor = PropertyBox::Cast(valueAccessor.GetTaggedObject())->GetValue(); in UpdateValueAndDetails()
708 PropertyBox *cell = dict->GetBox(GetIndex()); in UpdateDataValue()
796 PropertyBox *cell = PropertyBox::Cast(val.GetTaggedObject()); in WriteDataProperty()
837 valueAccessor = PropertyBox::Cast(valueAccessor.GetTaggedObject())->GetValue(); in WriteDataProperty()
1043 // Add PropertyBox to global dictionary in AddPropertyInternal()
1044 JSHandle<PropertyBox> cellHandl in AddPropertyInternal()
[all...]
H A Dglobal_dictionary.h59 inline PropertyBox *GetBox(int entry) const;
H A Djs_object.h338 PropertyBox::Cast(value_.GetTaggedValue().GetTaggedObject())->GetValue()); in GetValue()
739 PropertyBox* GetGlobalPropertyBox(JSThread *thread, const std::string& key);
785 PropertyBox* GetGlobalPropertyBox(JSTaggedValue key);
H A Djs_object.cpp459 PropertyBox* box = dictHandle->GetBox(index); in DeletePropertyInternal()
1134 PropertyBox* JSObject::GetGlobalPropertyBox(JSTaggedValue key) in GetGlobalPropertyBox()
1145 PropertyBox* JSObject::GetGlobalPropertyBox(JSThread *thread, const std::string& key) in GetGlobalPropertyBox()
1235 PropertyBox *cell = PropertyBox::Cast(desc.GetValue().GetTaggedValue().GetTaggedObject()); in GlobalGetOwnProperty()
1258 PropertyBox *cell = PropertyBox::Cast(val.GetTaggedObject()); in OrdinaryGetOwnProperty()
1465 JSTaggedValue value = PropertyBox::Cast(valueHandle->GetTaggedObject())->GetValue(); in ValidateAndApplyPropertyDescriptor()
H A Dglobal_env_constants.cpp204 factory->NewSEcmaReadOnlyHClass(hClass, PropertyBox::SIZE, JSType::PROPERTY_BOX)); in InitSharedRootsClasses()
H A Djs_object-inl.h469 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in ShouldGetValueFromBox()
H A Dobject_factory.h172 class PropertyBox;
394 JSHandle<PropertyBox> NewPropertyBox(const JSHandle<JSTaggedValue> &name);
H A Ddump.cpp321 return "PropertyBox"; in DumpJSType()
1008 PropertyBox::Cast(obj)->Dump(os); in DumpObject()
3187 void PropertyBox::Dump(std::ostream &os) const in Dump()
4430 PropertyBox::Cast(obj)->DumpForSnapshot(vec); in DumpObject()
5603 void PropertyBox::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dobject_operator_second_test.cpp210 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
222 PropertyBox *resultCell = resultDict->GetBox(objectOperator.GetIndex()); in HWTEST_F_L0()
H A Dobject_operator_third_test.cpp83 JSHandle<PropertyBox> cellHandle1 = factory->NewPropertyBox(handleValue1); in HWTEST_F_L0()
84 JSHandle<PropertyBox> cellHandle2 = factory->NewPropertyBox(handleValue2); in HWTEST_F_L0()
346 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
H A Ddump_test.cpp1090 CHECK_DUMP_FIELDS(TaggedObject::TaggedObjectSize(), PropertyBox::SIZE, 1U); in HWTEST_F_L0()
1091 JSHandle<PropertyBox> PropertyBox = factory->NewPropertyBox(globalConst->GetHandledEmptyArray()); in HWTEST_F_L0() local
1092 DUMP_FOR_HANDLE(PropertyBox); in HWTEST_F_L0()
H A Dobject_operator_first_test.cpp397 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dstub_builder-inl.h50 using PropertyBox = panda::ecmascript::PropertyBox;
1969 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in IsInvalidPropertyBox()
1976 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in IsAccessorPropertyBox()
1983 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in GetValueFromPropertyBox()
1989 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in SetValueToPropertyBox()
3337 return Load(VariableType::JS_ANY(), box, IntPtr(PropertyBox::VALUE_OFFSET)); in GetValueFromGlobalDictionary()
H A Daccess_object_stub_builder.cpp405 result = Load(VariableType::JS_ANY(), record, IntPtr(PropertyBox::VALUE_OFFSET)); in TryLoadGlobalByName()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dobject_xray.h504 PropertyBox::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/debugger/
H A Ddebugger_api.cpp388 result = PropertyBox::Cast(globalRec.GetTaggedObject())->GetValue(); in GetGlobalValue()

Completed in 46 milliseconds

12