/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | my_xcomponent.cpp | 377 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 D | plugin_manager.cpp | 56 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 D | plugin_manager.cpp | 54 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 D | plugin_manager.cpp | 78 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 D | displaysoloist-native-guidelines.md | 121 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 D | native-window-guidelines.md | 53 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 D | drawing-guidelines.md | 126 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 D | plugin_render.cpp | 112 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 D | vulkan-guidelines.md | 105 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 D | vulkan-guidelines.md | 101 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 D | displaysoloist-native-guidelines.md | 122 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 D | native-window-guidelines.md | 54 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 D | drawing-guidelines.md | 126 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 D | sample_bitmap.cpp | 203 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 D | using-ndk-avplayer-for-video-playback.md | 419 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 D | how-to-use-opengl-to-draw-3d-graphics.md | 582 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 D | using-ndk-avplayer-for-video-playback.md | 419 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 D | napi-xcomponent-guidelines.md | 151 … 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 D | napi-xcomponent-guidelines.md | 151 … 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 D | ark_native_engine.cpp | 1018 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()
|