Home
last modified time | relevance | path

Searched refs:GetReference (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/mem/proxy_reference_storage_1/
Dtest_proxy_reference_storage_1.cpp58 SharedReference *GetReference(void *data) in GetReference() function in panda::ets::interop::js::ets_proxy::testing::SharedReferenceStorage1GTest
60 return storage_->GetReference(data); in GetReference()
90 SharedReference *refX = storage_->GetReference(etsObject); in TEST_F()
91 SharedReference *refY = GetReference((void *)ref); in TEST_F()
106 SharedReference *ref0 = GetReference((void *)(uintptr_t(ref) + 0)); in TEST_F()
138 SharedReference *ref1a = GetReference((void *)ref1); in TEST_F()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/mem/
Dets_reference.h38 return GetReference()->IsStack(); in IsStack()
43 return GetReference()->IsLocal(); in IsLocal()
48 return GetReference()->IsGlobal(); in IsGlobal()
53 return GetReference()->IsWeak(); in IsWeak()
67 const mem::Reference *GetReference() const in GetReference() function
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
Dshared_reference_storage.cpp49 SharedReference *SharedReferenceStorage::GetReference(EtsObject *etsObject) in GetReference() function in panda::ets::interop::js::ets_proxy::SharedReferenceStorage
55 SharedReference *SharedReferenceStorage::GetReference(napi_env env, napi_value jsObject) in GetReference() function in panda::ets::interop::js::ets_proxy::SharedReferenceStorage
61 return GetReference(data); in GetReference()
64 SharedReference *SharedReferenceStorage::GetReference(void *data) in GetReference() function in panda::ets::interop::js::ets_proxy::SharedReferenceStorage
Dshared_reference_storage.h51 SharedReference *GetReference(napi_env env, napi_value jsObject);
52 SharedReference *GetReference(EtsObject *etsObject);
69 SharedReference *GetReference(void *data);
Dets_class_wrapper.cpp59 SharedReference *sharedRef = storage->GetReference(etsObject); in Wrap()
81 SharedReference *sharedRef = ctx->GetSharedRefStorage()->GetReference(env, jsValue); in Unwrap()
113 SharedReference *sharedRef = ctx->GetSharedRefStorage()->GetReference(env, jsValue); in UnwrapEtsProxy()
176 SharedReference *sharedRef = storage->GetReference(etsObject); in WrapImpl()
/arkcompiler/runtime_core/static_core/runtime/include/tooling/
Dpt_object.h26 PtReference *GetReference() const in GetReference() function
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dinterpreter-inl.h248 this->GetAccAsVReg().SetReference(this->GetFrame()->GetVReg(vs).GetReference()); in HandleLdaObj()
366 this->GetFrameHandler().GetVReg(vd).SetReference(this->GetAcc().GetReference()); in HandleStaObj()
1723 auto *array = static_cast<coretypes::Array *>(this->GetFrame()->GetVReg(vs).GetReference()); in HandleLdarrObj()
1800 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleLenarr()
1930 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleLdobj()
1936 obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleLdobj()
1956 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleLdobjWide()
1962 obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleLdobjWide()
1982 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleLdobjObj()
1988 obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleLdobjObj()
[all …]
Dvregister.h145 ALWAYS_INLINE inline ObjectHeader *GetReference() const in GetReference() function
344 ALWAYS_INLINE inline ObjectHeader *GetReference() const in GetReference() function
346 return payload_->GetReference(); in GetReference()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/
Dinterpreter-inl.h198 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsLdobjName()
240 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsLdobjNameWide()
282 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsLdobjNameObj()
326 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsStobjName()
368 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsStobjNameWide()
410 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsStobjNameObj()
423 … this->GetAcc().GetReference()); in HandleEtsStobjNameObj()
470 ObjectHeader *obj = this->GetAcc().GetReference(); in HandleEtsIsundefined()
591 return this->GetFrame()->GetVReg(objVreg).GetReference(); in GetObjHelper()
/arkcompiler/runtime_core/static_core/runtime/include/
Dvalue.h88 return Value(vreg.GetReference()); in FromVReg()
Dmethod-inl.h159 return Value(aacVreg.GetReference()); in GetReturnValueFromAcc()
/arkcompiler/runtime_core/static_core/runtime/bridge/
Dbridge.cpp58 …return reg.HasObject() ? static_cast<int64_t>(bit_cast<uintptr_t>(reg.GetReference())) : reg.GetLo… in GetVRegValue()
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddebugger.cpp285 *thisPtr = vreg.GetReference(); in GetThisVariableByFrame()
309 *thisPtr = reg.GetReference(); in GetThisVariableByFrame()
312 *thisPtr = reg.GetReference(); in GetThisVariableByFrame()
723 hooks_.PropertyAccess(PtThread(thread), method, location, reg.GetReference(), ptProperty); in HandlePropertyAccess()
771 …hooks_.PropertyModification(PtThread(thread), method, location, reg.GetReference(), ptProperty, va… in HandlePropertyModify()
886 return reg.HasObject() ? reinterpret_cast<uintptr_t>(reg.GetReference()) : reg.GetLong(); in GetVRegValue()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dstack_walker_test.cpp352 HOOK_ASSERT(reg.GetReference() != nullptr, return false); in TestModifyManyVregs()
374 … HOOK_ASSERT((reg.GetReference() == reinterpret_cast<ObjectHeader *>(Low32Bits(obj))), in TestModifyManyVregs()
Dframe_test.cpp95 EXPECT_EQ(frameHandler.GetVReg(0).GetReference(), ptr); in TEST_F()
Dinterpreter_test.cpp274 EXPECT_EQ(frameHandler.GetVReg(V4_MAX - 4U).GetReference(), obj1); in TEST_F()
277 EXPECT_EQ(frameHandler.GetVReg(V8_MAX - 4U).GetReference(), obj2); in TEST_F()
280 EXPECT_EQ(frameHandler.GetVReg(V16_MAX - 4U).GetReference(), obj3); in TEST_F()
354 EXPECT_EQ(frameHandler.GetVReg(9U).GetReference(), obj); in TEST_F()
392 …nda::coretypes::String *strCore = panda::coretypes::String::Cast(f->GetAccAsVReg().GetReference()); in TEST_F()
464 EXPECT_EQ(coretypes::Class::FromRuntimeClass(objectClass), f->GetAccAsVReg().GetReference()); in TEST_F()
1093 auto *result = static_cast<coretypes::Array *>(frameHandler.GetVReg(1).GetReference()); in TestArray()
1177 EXPECT_EQ(obj, f->GetAccAsVReg().GetReference()); in TEST_F()
1273 EXPECT_EQ(obj, f->GetAccAsVReg().GetReference()); in TEST_F()
1379 EXPECT_EQ(obj, f->GetAccAsVReg().GetReference()); in TEST_F()
[all …]
Di2c_bridge_test.cpp457 ASSERT_EQ(frame->GetAcc().GetReference(), nullptr); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/
Dstack_walker.cpp650 if (ObjectHeader *object = vreg.GetReference(); object != nullptr) { in Verify()
675 if (ObjectHeader *object = vreg.GetReference(); object != nullptr) { in Verify()
738 os << vreg.GetReference(); in Dump()
766 << vreg.GetReference(); in Dump()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_root.cpp181 ObjectHeader *objectHeader = vRegister.GetReference(); in VisitRegisterRoot()
Dgc.cpp861 ObjectHeader *objectHeader = vreg.GetReference(); in UpdateRefsInVRegs()
/arkcompiler/ets_runtime/ecmascript/
Decma_global_storage.h179 void* GetReference() const in GetReference() function
Djs_thread.cpp338 node->GetReference())); in IterateWeakEcmaGlobalStorage()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dintrinsics_api_impl.cpp273 ets_proxy::SharedReference *sharedRef = storage->GetReference(etsCallable); in JSRuntimeCreateLambdaProxy()