Home
last modified time | relevance | path

Searched refs:NativeReferenceHelper (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_helper.h99 class NativeReferenceHelper {
101 NativeReferenceHelper(EcmaVM *vm, Global<ObjectRef> obj, NativeFinalize callback) in NativeReferenceHelper() function
103 ~NativeReferenceHelper() in ~NativeReferenceHelper()
109 auto that = reinterpret_cast<NativeReferenceHelper*>(ref); in FreeGlobalCallBack()
115 auto that = reinterpret_cast<NativeReferenceHelper*>(ref); in NativeFinalizeCallBack()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp1002 NativeReferenceHelper *temp = nullptr; in HWTEST_F_L0()
1007NativeReferenceHelper *ref1 = new NativeReferenceHelper(vm_, globalObject2, WeakRefCallback); in HWTEST_F_L0()
1019 NativeReferenceHelper *ref2 = new NativeReferenceHelper(vm_, globalObject4, WeakRefCallback); in HWTEST_F_L0()