Home
last modified time | relevance | path

Searched refs:exportInstance (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dmy_xcomponent.cpp377 napi_value exportInstance; in NapiSetTestCount() local
384 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiSetTestCount()
427 napi_value exportInstance; in NapiGetTime() local
434 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) { in NapiGetTime()
488 napi_value exportInstance; in NapiGetTestNames() local
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; in NapiStabilityCpu() local
646 napi_value exportInstance; in NapiFunctionGpu() local
700 napi_value exportInstance; in NapiPerformanceCpu() local
[all …]
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/docs/zh-cn/application-dev/graphics/
H A Ddisplaysoloist-native-guidelines.md121 napi_value exportInstance = nullptr;
122 … if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
128 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) {
220 napi_value exportInstance;
221 … if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
227 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) {
H A Dnative-window-guidelines.md53 napi_value exportInstance = nullptr;
55 napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance);
58 napi_unwrap(env, exportInstance, reinterpret_cast<void**>(&nativeXComponent));
H A Ddrawing-guidelines.md126 napi_value exportInstance = nullptr;
127 … if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
133 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) {
/ohos5.0/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()
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dvulkan-guidelines.md105 napi_value exportInstance = nullptr;
108 napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance);
109 napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent));
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dvulkan-guidelines.md101 napi_value exportInstance = nullptr;
104 napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance);
105 napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent));
/ohos5.0/docs/en/application-dev/graphics/
H A Ddisplaysoloist-native-guidelines.md122 napi_value exportInstance = nullptr;
123 … if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
129 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) {
221 napi_value exportInstance;
222 … if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
228 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) {
H A Dnative-window-guidelines.md54 napi_value exportInstance = nullptr;
56 napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance);
59 napi_unwrap(env, exportInstance, reinterpret_cast<void**>(&nativeXComponent));
H A Ddrawing-guidelines.md126 napi_value exportInstance = nullptr;
127 … if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
133 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) {
/ohos5.0/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()
/ohos5.0/docs/zh-cn/application-dev/media/media/
H A Dusing-ndk-avplayer-for-video-playback.md419 napi_value exportInstance = nullptr;
420 … if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
425 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) {
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dhow-to-use-opengl-to-draw-3d-graphics.md582 napi_value exportInstance = nullptr;
588 status = napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance);
593 status = napi_unwrap(env, exportInstance, reinterpret_cast<void**>(&nativeXComponent));
/ohos5.0/docs/en/application-dev/media/media/
H A Dusing-ndk-avplayer-for-video-playback.md419 napi_value exportInstance = nullptr;
420 … if (napi_get_named_property(env, exports, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
425 if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&nativeXComponent)) != napi_ok) {
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dnapi-xcomponent-guidelines.md151 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void**>(&nativeXComponent)) != napi_ok) {
589 napi_value exportInstance;
590 … if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
598 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&NativeXComponent)) != napi_ok) {
/ohos5.0/docs/en/application-dev/ui/
H A Dnapi-xcomponent-guidelines.md151 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void**>(&nativeXComponent)) != napi_ok) {
589 napi_value exportInstance;
590 … if (napi_get_named_property(env, thisArg, OH_NATIVE_XCOMPONENT_OBJ, &exportInstance) != napi_ok) {
598 … if (napi_unwrap(env, exportInstance, reinterpret_cast<void **>(&NativeXComponent)) != napi_ok) {
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp1018 napi_value exportInstance = nullptr; in GetModuleFromName() local
1020 reinterpret_cast<napi_env>(this), nExport, instanceName.c_str(), &exportInstance); in GetModuleFromName()
1025 …status = napi_unwrap(reinterpret_cast<napi_env>(this), exportInstance, reinterpret_cast<void**>(in… in GetModuleFromName()