Home
last modified time | relevance | path

Searched refs:GetGetter (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Daccessor_data.h51 ASSERT(GetGetter().IsJSNativePointer()); in CallInternalGet()
52 JSNativePointer *getter = JSNativePointer::Cast(GetGetter().GetTaggedObject()); in CallInternalGet()
Dobject_operator.cpp247 desc.SetGetter(JSHandle<JSTaggedValue>(thread_, accessor->GetGetter())); in ToPropertyDescriptor()
602 accessor->SetGetter(thread_, desc.GetGetter().GetTaggedValue()); in WriteDataProperty()
604 accessor->SetGetter(thread_, JSHandle<AccessorData>::Cast(value_)->GetGetter()); in WriteDataProperty()
629 accessor->SetGetter(thread_, desc.GetGetter().GetTaggedValue()); in WriteDataProperty()
Djs_object.cpp825 JSTaggedValue getter = accessor->GetGetter(); in CallGetter()
1064 accessor->SetGetter(thread, desc.GetGetter()); in ValidateAndApplyPropertyDescriptor()
1084 … (current.HasGetter() && JSTaggedValue::SameValue(current.GetGetter(), desc.GetGetter()))) && in ValidateAndApplyPropertyDescriptor()
1148 … if (desc.HasGetter() && !JSTaggedValue::SameValue(current.GetGetter(), desc.GetGetter())) { in ValidateAndApplyPropertyDescriptor()
1811 bool success = CreateDataProperty(thread, objHandle, getStr, desc.GetGetter()); in FromPropertyDescriptor()
Djs_object.h155 inline JSHandle<JSTaggedValue> GetGetter() const in GetGetter() function
Djs_proxy.cpp595 targetDesc.GetGetter()->IsUndefined()) { in GetProperty()
Ddump.cpp1484 os << " - Getter: " << reinterpret_cast<void *>(GetGetter().GetTaggedObject()) << "\n"; in Dump()
1490 GetGetter().DumpTaggedValue(os); in Dump()
4717 vec.emplace_back("getter", GetGetter()); in DumpForSnapshot()
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_operator_test.cpp289 EXPECT_TRUE(handleDesc2.GetGetter()->IsUndefined()); in HWTEST_F_L0()
824 EXPECT_EQ(resultAccessorData->GetGetter().GetInt(), 2); in HWTEST_F_L0()
1081 EXPECT_EQ(resultAccessorData1->GetGetter().GetInt(), 0); in HWTEST_F_L0()
1090 EXPECT_EQ(resultAccessorData2->GetGetter().GetInt(), 2); in HWTEST_F_L0()
Djs_object_test.cpp779 EXPECT_TRUE(desc.GetGetter()->IsUndefined()); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp302 properties_[curObjectId_++] = Global<JSValueRef>(vm_, jsProperty.GetGetter(vm_)); in GetProperties()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h653 Local<JSValueRef> GetGetter(const EcmaVM *vm) const in GetGetter() function
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp1287 debuggerProperty->get_ = RemoteObject::FromTagged(ecmaVm, property.GetGetter(ecmaVm)); in FromProperty()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp1453 property.SetGetter(JSNApiHelper::ToLocal<JSValueRef>(desc.GetGetter())); in GetOwnProperty()