• Home
  • Raw
  • Download

Lines Matching full:target

90 …* @tc.desc: Register the target object to the JSFinalizationRegistry object, and call the callback…
91 …* target object is garbage collected. And a unregistration token, which is passed to the…
105 …JSHandle<JSTaggedValue> target(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objectFunc),… in HWTEST_F_L0() local
108 JSObject::SetProperty(thread, target, key, value); in HWTEST_F_L0()
116 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in HWTEST_F_L0()
122 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0()
139 …JSHandle<JSTaggedValue> target(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objectFunc),… in HWTEST_F_L0() local
142 JSObject::SetProperty(thread, target, key, value); in HWTEST_F_L0()
144 JSHandle<JSTaggedValue> unregisterToken = target; in HWTEST_F_L0()
150 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in HWTEST_F_L0()
159 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0()
178 JSHandle<JSTaggedValue> target(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
182 target = JSHandle<JSTaggedValue>::Cast(obj); in HWTEST_F_L0()
188 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0()
248 JSHandle<JSTaggedValue> target(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
252 target = JSHandle<JSTaggedValue>::Cast(obj); in HWTEST_F_L0()
254 JSHandle<JSTaggedValue> unregisterToken = target; in HWTEST_F_L0()
258 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0()
259 JSFinalizationRegistry::Unregister(thread, target, finaRegObj); in HWTEST_F_L0()
323 JSHandle<JSTaggedValue> target(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
331 target = JSHandle<JSTaggedValue>::Cast(obj); in HWTEST_F_L0()
334 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0()
368 JSHandle<JSTaggedValue> target(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
376 target = JSHandle<JSTaggedValue>::Cast(obj); in HWTEST_F_L0()
379 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0()
409 …JSHandle<JSTaggedValue> target(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objectFunc),… in HWTEST_F_L0() local
412 JSObject::SetProperty(thread, target, key, value); in HWTEST_F_L0()
418 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0()
443 JSHandle<JSTaggedValue> target(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
447 target = JSHandle<JSTaggedValue>::Cast(obj); in HWTEST_F_L0()
454 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in HWTEST_F_L0()