Searched refs:heldValue (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_finalization_registry_test.cpp | 85 JSHandle<JSTaggedValue> heldValue(thread, JSTaggedValue(100)); in HWTEST_F_L0() 93 cellRecord->SetHeldValue(thread, heldValue); in HWTEST_F_L0() 98 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0() 119 JSHandle<JSTaggedValue> heldValue(thread, JSTaggedValue(100)); in HWTEST_F_L0() 127 cellRecord->SetHeldValue(thread, heldValue); in HWTEST_F_L0() 135 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in HWTEST_F_L0() 159 JSHandle<JSTaggedValue> heldValue(thread, JSTaggedValue(100)); // 100: tag value in RegisterUnRegisterTestCommon() 167 cellRecord->SetHeldValue(thread, heldValue); in RegisterUnRegisterTestCommon() 176 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finaRegObj); in RegisterUnRegisterTestCommon() 206 JSHandle<JSTaggedValue> heldValue(threa in RegisterUnRegisterTestCommonTwoTarget() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_finalization_registry.cpp | 67 JSHandle<JSTaggedValue> heldValue = GetCallArg(argv, 1); in Register() local 80 // 4. If SameValue(target, heldValue) is true, throw a TypeError exception. in Register() 81 if (JSTaggedValue::SameValue(target, heldValue)) { in Register() 82 THROW_TYPE_ERROR_AND_RETURN(thread, "target and heldValue should not be equal", JSTaggedValue::Exception()); in Register() 91 // [[HeldValue]]: heldValue, [[UnregisterToken]]: unregisterToken }. in Register() 94 JSFinalizationRegistry::Register(thread, target, heldValue, unregisterToken, finRegHandle); in Register()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_finalization_registry.cpp | 50 JSHandle<JSTaggedValue> heldValue, in Register() 56 cellRecord->SetHeldValue(thread, heldValue); in Register() 49 Register(JSThread *thread, JSHandle<JSTaggedValue> target, JSHandle<JSTaggedValue> heldValue, JSHandle<JSTaggedValue> unregisterToken, JSHandle<JSFinalizationRegistry> obj) Register() argument
|
H A D | js_finalization_registry.h | 80 static void Register(JSThread *thread, JSHandle<JSTaggedValue> target, JSHandle<JSTaggedValue> heldValue,
|
Completed in 3 milliseconds