Home
last modified time | relevance | path

Searched refs:cellRecord (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_finalization_registry.cpp55 JSHandle<CellRecord> cellRecord = factory->NewCellRecord(); in Register() local
56 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in Register()
57 cellRecord->SetHeldValue(thread, heldValue); in Register()
58 JSHandle<JSTaggedValue> cell(cellRecord); in Register()
153 JSHandle<CellRecord> cellRecord(thread, value); in DealCallBackOfMap() local
155 if (cellRecord->GetFromWeakRefTarget().IsUndefined()) { in DealCallBackOfMap()
157 argv->Set(thread, 0, cellRecord->GetHeldValue()); in DealCallBackOfMap()
188 JSHandle<CellRecord> cellRecord(thread, value); in CleanupFinalizationRegistry() local
190 if (cellRecord->GetFromWeakRefTarget().IsUndefined()) { in CleanupFinalizationRegistry()
192 argv->Set(thread, 0, cellRecord->GetHeldValue()); in CleanupFinalizationRegistry()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_finalization_registry_test.cpp115 JSHandle<CellRecord> cellRecord = factory->NewCellRecord(); in HWTEST_F_L0() local
116 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in HWTEST_F_L0()
117 cellRecord->SetHeldValue(thread, heldValue); in HWTEST_F_L0()
118 JSHandle<JSTaggedValue> cell(cellRecord); in HWTEST_F_L0()
149 JSHandle<CellRecord> cellRecord = factory->NewCellRecord(); in HWTEST_F_L0() local
150 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in HWTEST_F_L0()
151 cellRecord->SetHeldValue(thread, heldValue); in HWTEST_F_L0()
152 JSHandle<JSTaggedValue> cell(cellRecord); in HWTEST_F_L0()
453 JSHandle<CellRecord> cellRecord = factory->NewCellRecord(); in HWTEST_F_L0() local
454 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in HWTEST_F_L0()
[all …]
Ddump_test.cpp604 JSHandle<CellRecord> cellRecord = factory->NewCellRecord(); in HWTEST_F_L0() local
605 DUMP_FOR_HANDLE(cellRecord) in HWTEST_F_L0()