Home
last modified time | relevance | path

Searched refs:exportInstance (Results 1 - 9 of 9) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dmy_xcomponent.cpp377 napi_value exportInstance; in NapiSetTestCount() local
378 if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in NapiSetTestCount()
384 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiSetTestCount()
427 napi_value exportInstance; in NapiGetTime() local
428 if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in NapiGetTime()
434 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiGetTime()
488 napi_value exportInstance; in NapiGetTestNames() local
489 if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in NapiGetTestNames()
495 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiGetTestNames()
542 napi_value exportInstance; in NapiFunctionCpu() local
594 napi_value exportInstance; NapiStabilityCpu() local
646 napi_value exportInstance; NapiFunctionGpu() local
700 napi_value exportInstance; NapiPerformanceCpu() local
752 napi_value exportInstance; NapiPerformanceGpu() local
[all...]
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/manager/
H A Dplugin_manager.cpp54 napi_value exportInstance = nullptr; in Export() local
55 if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in Export()
61 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in Export()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/plugin/
H A Dplugin_manager.cpp56 napi_value exportInstance = nullptr; in Export() local
57 if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in Export()
63 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in Export()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/entry/src/main/cpp/plugin/
H A Dplugin_manager.cpp54 napi_value exportInstance = nullptr; in Export() local
55 if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in Export()
61 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in Export()
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/plugin/
H A Dplugin_manager.cpp78 napi_value exportInstance = nullptr; in Export() local
79 if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in Export()
84 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in Export()
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/render/
H A Dplugin_render.cpp112 napi_value exportInstance; in NapiDrawRectangle() local
113 if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in NapiDrawRectangle()
120 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiDrawRectangle()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/entry/src/main/cpp/samples/
H A Dsample_bitmap.cpp395 napi_value exportInstance; in NapiDrawPattern() local
396 if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in NapiDrawPattern()
402 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiDrawPattern()
443 napi_value exportInstance; in NapiDrawText() local
444 if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in NapiDrawText()
450 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiDrawText()
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/samples/
H A Dsample_bitmap.cpp203 napi_value exportInstance; in NapiDrawPattern() local
204 if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) { in NapiDrawPattern()
209 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiDrawPattern()
/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp1011 napi_value exportInstance = nullptr; in GetModuleFromName() local
1013 reinterpret_cast<napi_env>(this), nExport, instanceName.c_str(), &exportInstance); in GetModuleFromName()
1018 status = napi_unwrap(reinterpret_cast<napi_env>(this), exportInstance, reinterpret_cast<void**>(instance)); in GetModuleFromName()

Completed in 9 milliseconds