Home
last modified time | relevance | path

Searched refs:PropertyBox (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/ic/
Dproperty_box.h28 class PropertyBox : public TaggedObject {
30 static PropertyBox *Cast(TaggedObject *object) in Cast()
33 return static_cast<PropertyBox *>(object); in Cast()
Dproperty_box.cpp21 void PropertyBox::Clear(const JSThread *thread) in Clear()
Dic_runtime_stub-inl.h401 PropertyBox *cell = PropertyBox::Cast(handler.GetTaggedObject()); in LoadGlobal()
414 PropertyBox *cell = PropertyBox::Cast(handler.GetTaggedObject()); in StoreGlobal()
Dic_runtime.cpp241 return PropertyBox::Cast(box.GetTaggedObject())->GetValue(); in LoadMiss()
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dproperty_box_test.cpp61 JSHandle<PropertyBox> handlePropertyBox = factory->NewPropertyBox(handleValue); in HWTEST_F_L0()
82 JSHandle<PropertyBox> handlePropertyBox = JSHandle<PropertyBox>::Cast(handlePropertyBoxVal); in HWTEST_F_L0()
Dic_runtime_stub_test.cpp71 JSHandle<PropertyBox> handleBoxValue = factory->NewPropertyBox(handleValue); in HWTEST_F_L0()
99 JSHandle<PropertyBox> handleBoxValue = in HWTEST_F_L0()
131 JSHandle<PropertyBox> handlePropertyBox = factory->NewPropertyBox(handleValue); in HWTEST_F_L0()
324 JSHandle<PropertyBox> boxHandler = factory->NewPropertyBox(keyHandle); in HWTEST_F_L0()
382 JSHandle<PropertyBox> boxHandler = factory->NewPropertyBox(keyHandle); in HWTEST_F_L0()
511 JSHandle<PropertyBox> handlerValue = factory->NewPropertyBox(handleUndefinedVal); in HWTEST_F_L0()
Dic_handler_test.cpp157 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
194 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
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()
Dglobal_dictionary.h59 inline PropertyBox *GetBox(int entry) const;
Dobject_operator.cpp196 value_.Update(PropertyBox::Cast(value_->GetTaggedObject())->GetValue()); in FastGetValue()
423 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in ToPropertyDescriptor()
432 JSHandle<PropertyBox> cell(value_); in ToPropertyDescriptor()
624 valueAccessor = PropertyBox::Cast(valueAccessor.GetTaggedObject())->GetValue(); in UpdateValueAndDetails()
684 PropertyBox *cell = dict->GetBox(GetIndex()); in UpdateDataValue()
801 valueAccessor = PropertyBox::Cast(valueAccessor.GetTaggedObject())->GetValue(); in WriteDataProperty()
988 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(key_); in AddPropertyInternal()
Djs_object.h335PropertyBox::Cast(value_.GetTaggedValue().GetTaggedObject())->GetValue()); in GetValue()
710 PropertyBox* GetGlobalPropertyBox(JSThread *thread, const std::string& key);
749 PropertyBox* GetGlobalPropertyBox(JSTaggedValue key);
Djs_object.cpp406 PropertyBox* box = dictHandle->GetBox(index); in DeletePropertyInternal()
1067 PropertyBox* JSObject::GetGlobalPropertyBox(JSTaggedValue key) in GetGlobalPropertyBox()
1078 PropertyBox* JSObject::GetGlobalPropertyBox(JSThread *thread, const std::string& key) in GetGlobalPropertyBox()
1162 PropertyBox *cell = PropertyBox::Cast(desc.GetValue().GetTaggedValue().GetTaggedObject()); in GlobalGetOwnProperty()
1185 PropertyBox *cell = PropertyBox::Cast(val.GetTaggedObject()); in OrdinaryGetOwnProperty()
Djs_object-inl.h456 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in ShouldGetValueFromBox()
Dglobal_env_constants.cpp185 factory->NewEcmaReadOnlyHClass(hClass, PropertyBox::SIZE, JSType::PROPERTY_BOX)); in InitRootsClass()
Dobject_factory.h170 class PropertyBox; variable
379 JSHandle<PropertyBox> NewPropertyBox(const JSHandle<JSTaggedValue> &name);
Ddump.cpp981 PropertyBox::Cast(obj)->Dump(os); in DumpObject()
2967 void PropertyBox::Dump(std::ostream &os) const in Dump()
4339 PropertyBox::Cast(obj)->DumpForSnapshot(vec); in DumpObject()
5501 void PropertyBox::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_operator_second_test.cpp234 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
246 PropertyBox *resultCell = resultDict->GetBox(objectOperator.GetIndex()); in HWTEST_F_L0()
Dobject_operator_third_test.cpp115 JSHandle<PropertyBox> cellHandle1 = factory->NewPropertyBox(handleValue1); in HWTEST_F_L0()
116 JSHandle<PropertyBox> cellHandle2 = factory->NewPropertyBox(handleValue2); in HWTEST_F_L0()
378 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
Ddump_test.cpp918 CHECK_DUMP_FIELDS(TaggedObject::TaggedObjectSize(), PropertyBox::SIZE, 1U); in HWTEST_F_L0()
919 … JSHandle<PropertyBox> PropertyBox = factory->NewPropertyBox(globalConst->GetHandledEmptyArray()); in HWTEST_F_L0() local
920 DUMP_FOR_HANDLE(PropertyBox); in HWTEST_F_L0()
Dobject_operator_first_test.cpp429 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder-inl.h47 using PropertyBox = panda::ecmascript::PropertyBox; variable
1707 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in IsInvalidPropertyBox()
1714 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in IsAccessorPropertyBox()
1721 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in GetValueFromPropertyBox()
1727 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in SetValueToPropertyBox()
2677 return Load(VariableType::JS_ANY(), box, IntPtr(PropertyBox::VALUE_OFFSET)); in GetValueFromGlobalDictionary()
Daccess_object_stub_builder.cpp299 result = Load(VariableType::JS_ANY(), record, IntPtr(PropertyBox::VALUE_OFFSET)); in TryLoadGlobalByName()
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h433 PropertyBox::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp374 result = PropertyBox::Cast(globalRec.GetTaggedObject())->GetValue(); in GetGlobalValue()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h741 JSHandle<PropertyBox> box = factory->NewPropertyBox(value); in RuntimeStGlobalRecord()
1524 PropertyBox *box = dict->GetBox(entry); in RuntimeTryUpdateGlobalRecord()

12