/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/mem/proxy_reference_storage_1/ |
D | test_proxy_reference_storage_1.cpp | 58 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/ |
D | ets_reference.h | 38 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/ |
D | shared_reference_storage.cpp | 49 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
|
D | shared_reference_storage.h | 51 SharedReference *GetReference(napi_env env, napi_value jsObject); 52 SharedReference *GetReference(EtsObject *etsObject); 69 SharedReference *GetReference(void *data);
|
D | ets_class_wrapper.cpp | 59 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/ |
D | pt_object.h | 26 PtReference *GetReference() const in GetReference() function
|
/arkcompiler/runtime_core/static_core/runtime/interpreter/ |
D | interpreter-inl.h | 248 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 …]
|
D | vregister.h | 145 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/ |
D | interpreter-inl.h | 198 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/ |
D | value.h | 88 return Value(vreg.GetReference()); in FromVReg()
|
D | method-inl.h | 159 return Value(aacVreg.GetReference()); in GetReturnValueFromAcc()
|
/arkcompiler/runtime_core/static_core/runtime/bridge/ |
D | bridge.cpp | 58 …return reg.HasObject() ? static_cast<int64_t>(bit_cast<uintptr_t>(reg.GetReference())) : reg.GetLo… in GetVRegValue()
|
/arkcompiler/runtime_core/static_core/runtime/tooling/ |
D | debugger.cpp | 285 *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/ |
D | stack_walker_test.cpp | 352 HOOK_ASSERT(reg.GetReference() != nullptr, return false); in TestModifyManyVregs() 374 … HOOK_ASSERT((reg.GetReference() == reinterpret_cast<ObjectHeader *>(Low32Bits(obj))), in TestModifyManyVregs()
|
D | frame_test.cpp | 95 EXPECT_EQ(frameHandler.GetVReg(0).GetReference(), ptr); in TEST_F()
|
D | interpreter_test.cpp | 274 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 …]
|
D | i2c_bridge_test.cpp | 457 ASSERT_EQ(frame->GetAcc().GetReference(), nullptr); in TEST_F()
|
/arkcompiler/runtime_core/static_core/runtime/ |
D | stack_walker.cpp | 650 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/ |
D | gc_root.cpp | 181 ObjectHeader *objectHeader = vRegister.GetReference(); in VisitRegisterRoot()
|
D | gc.cpp | 861 ObjectHeader *objectHeader = vreg.GetReference(); in UpdateRefsInVRegs()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_global_storage.h | 179 void* GetReference() const in GetReference() function
|
D | js_thread.cpp | 338 node->GetReference())); in IterateWeakEcmaGlobalStorage()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
D | intrinsics_api_impl.cpp | 273 ets_proxy::SharedReference *sharedRef = storage->GetReference(etsCallable); in JSRuntimeCreateLambdaProxy()
|