Searched refs:cellRecord (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | js_finalization_registry.cpp | 55 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/ |
D | js_finalization_registry_test.cpp | 115 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 …]
|
D | dump_test.cpp | 604 JSHandle<CellRecord> cellRecord = factory->NewCellRecord(); in HWTEST_F_L0() local 605 DUMP_FOR_HANDLE(cellRecord) in HWTEST_F_L0()
|