Home
last modified time | relevance | path

Searched defs:weakRef (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_finalizable_weak_ref_list.h28 void Push(EtsCoroutine *coro, Node *weakRef) in Push()
41 void Unlink(EtsCoroutine *coro, Node *weakRef) in Unlink()
61 auto *weakRef = GetHead(); in UnlinkClearedReferences() local
104 auto *weakRef = GetHead(); in TraverseAndFinalize() local
122 void SetHead(EtsCoroutine *coro, Node *weakRef) in SetHead()
Dets_finalizable_weak_ref.h105 void SetPrev(EtsCoroutine *coro, EtsFinalizableWeakRef *weakRef) in SetPrev()
111 void SetNext(EtsCoroutine *coro, EtsFinalizableWeakRef *weakRef) in SetNext()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_weak_ref.cpp45 JSHandle<JSWeakRef> weakRef = JSHandle<JSWeakRef>::Cast(obj); in WeakRefConstructor() local
64 JSHandle<JSWeakRef> weakRef = JSHandle<JSWeakRef>::Cast(thisValue); in Deref() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/mem/
Dets_reference_processor.cpp139 …auto *weakRef = static_cast<ark::ets::EtsWeakReference *>(ark::ets::EtsObject::FromCoreType(weakRe… in ProcessReferences() local
148 …auto *weakRef = static_cast<ark::ets::EtsWeakReference *>(ark::ets::EtsObject::FromCoreType(weakRe… in ProcessReferencesAfterCompaction() local
178 void EtsReferenceProcessor::EnqueueFinalizer(ark::ets::EtsWeakReference *weakRef) in EnqueueFinalizer()
Dets_reference_processor.h98 …auto *weakRef = static_cast<ark::ets::EtsWeakReference *>(ark::ets::EtsObject::FromCoreType(weakRe… in ProcessReferences() local
/arkcompiler/ets_runtime/ecmascript/
Djs_weak_ref.h32 static JSTaggedValue WeakRefDeref(JSThread *thread, const JSHandle<JSWeakRef> &weakRef) in WeakRefDeref()
/arkcompiler/ets_runtime/ecmascript/tests/
Dassert_scope_test.cpp60 … [[maybe_unused]] AllowLocalToShareWeakRefHandle weakRef; // set allow local-to-share weak ref in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_weak_ref_test.cpp49 JSHandle<JSFunction> weakRef(env->GetBuiltinsWeakRefFunction()); in CreateWeakRefConstructor() local
71 JSHandle<JSFunction> weakRef(env->GetBuiltinsWeakRefFunction()); in HWTEST_F_L0() local
175 JSHandle<JSFunction> weakRef(env->GetBuiltinsWeakRefFunction()); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
Dshared_full_gc.cpp167 … auto weakRef = JSTaggedValue(JSTaggedValue(dst).CreateAndGetWeakRef()).GetRawTaggedObject(); in UpdateRecordWeakReference() local
/arkcompiler/ets_runtime/ecmascript/mem/
Dfull_gc.cpp226 … auto weakRef = JSTaggedValue(JSTaggedValue(dst).CreateAndGetWeakRef()).GetRawTaggedObject(); in UpdateRecordWeakReference() local
Dparallel_evacuator-inl.h175 auto weakRef = JSTaggedValue(dst).CreateAndGetWeakRef().GetRawTaggedObject(); in UpdateWeakObjectSlot() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_vm.cpp846 static mem::Reference *EtsNapiObjectToWeakReference(ets_weak weakRef) in EtsNapiObjectToWeakReference()
853 void PandaEtsVM::DeleteWeakGlobalRef(ets_weak weakRef) in DeleteWeakGlobalRef()
867 auto *weakRef = EtsFinalizableWeakRef::Create(coro); in RegisterFinalizerForObject() local