Searched refs:WeakRef (Results 1 - 10 of 10) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_weak_ref.cpp | 24 BUILTINS_API_TRACE(thread, WeakRef, Constructor); in WeakRefConstructor() 37 // 3. Let weakRef be ? OrdinaryCreateFromConstructor(NewTarget, "%WeakRef.prototype%", « [[WeakRefTarget]] »). in WeakRefConstructor() 54 BUILTINS_API_TRACE(thread, WeakRef, Deref); in Deref()
|
H A D | builtins_lazy_callback.h | 60 static JSTaggedValue WeakRef(JSThread *thread, const JSHandle<JSObject> &obj);
|
H A D | builtins_lazy_callback.cpp | 95 JSTaggedValue BuiltinsLazyCallback::WeakRef(JSThread *thread, const JSHandle<JSObject> &obj) in WeakRef() function in panda::ecmascript::builtins::BuiltinsLazyCallback 102 ResetLazyInternalAttr(thread, obj, "WeakRef"); in WeakRef()
|
H A D | builtins.cpp | 1605 // WeakRef.prototype in InitializeWeakRef() 1608 // WeakRef.prototype_or_hclass in InitializeWeakRef() 1611 // WeakRef() = new Function() in InitializeWeakRef() 1613 env, weakRefFuncPrototype, BuiltinsWeakRef::WeakRefConstructor, "WeakRef", FunctionLength::ONE)); in InitializeWeakRef() 1620 // WeakRef.prototype.deref() in InitializeWeakRef() 1624 SetStringTagSymbol(env, weakRefFuncPrototype, "WeakRef"); in InitializeWeakRef() 1633 JSHandle<JSTaggedValue> key(factory_->NewFromUtf8ReadOnly("WeakRef")); in LazyInitializeWeakRef() 1634 auto accessor = factory_->NewInternalAccessor(nullptr, reinterpret_cast<void *>(BuiltinsLazyCallback::WeakRef)); in LazyInitializeWeakRef()
|
/arkcompiler/toolchain/tooling/test/testcases/js/ |
H A D | module_variable.js | 120 export var weakref0 = new WeakRef(obj0); 153 var weakref1 = new WeakRef(obj1); 203 var weakref2 = new WeakRef(obj2);
|
H A D | variable_second.js | 47 var weakref0 = new WeakRef(obj0);
|
H A D | watch_variable.js | 50 var weakref0 = new WeakRef(obj0);
|
H A D | variable_first.js | 47 var weakref0 = new WeakRef(obj0);
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | runtime_call_id.h | 948 V(WeakRef, Constructor) \ 949 V(WeakRef, Deref) \
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | tagged_value_test.cpp | 86 HWTEST_F_L0(JSTaggedValueTest, WeakRef) in HWTEST_F_L0()
|
Completed in 16 milliseconds