/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context.cpp | 33 …OGD("WebGL WebGLRenderingContext::Export env %{public}p mContextRef %{public}p", env, contextRef_); in Export() 43 if (entity->contextRef_) { in Export() 44 napi_delete_reference(env, entity->contextRef_); in Export()
|
H A D | webgl_rendering_context_basic_base.cpp | 187 if (contextRef_ == nullptr) { in GetContextInstance() 198 status = napi_create_reference(env, instanceValue, 1, &contextRef_); in GetContextInstance() 203 status = napi_get_reference_value(env, contextRef_, &instanceValue); in GetContextInstance()
|
H A D | webgl2_rendering_context.cpp | 1348 …GD("WebGL WebGL2RenderingContext::Export env %{public}p mContextRef %{public}p", env, contextRef_); in Export() 1359 if (entity->contextRef_) { in Export() 1360 napi_delete_reference(env, entity->contextRef_); in Export()
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/short_key/src/ |
H A D | js_short_key_context.cpp | 64 CHKRP(napi_create_reference(env, jsInstance, 1, &(jsContext->contextRef_)), CREATE_REFERENCE); in CreateInstance() 67 if (napi_reference_ref(env, jsContext->contextRef_, &refCount) != napi_ok) { in CreateInstance() 68 CHKRP(napi_delete_reference(env, jsContext->contextRef_), DELETE_REFERENCE); in CreateInstance()
|
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/ |
H A D | js_drag_context.cpp | 77 CHKRP(napi_create_reference(env, jsInstance, 1, &(jsContext->contextRef_)), CREATE_REFERENCE); in CreateInstance() 80 status = napi_reference_ref(env, jsContext->contextRef_, &refCount); in CreateInstance() 83 napi_delete_reference(env, jsContext->contextRef_); in CreateInstance()
|
/ohos5.0/base/sensors/sensor/vibration_convert/interfaces/js/src/ |
H A D | vibrator_convert_js.cpp | 61 CHKCP((napi_create_reference(env, jsInstance, 1, &(vConvert->contextRef_)) == napi_ok), in CreateInstance() 64 status = napi_reference_ref(env, vConvert->contextRef_, &refCount); in CreateInstance() 67 napi_delete_reference(env, vConvert->contextRef_); in CreateInstance()
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/short_key/include/ |
H A D | js_short_key_context.h | 38 napi_ref contextRef_ { nullptr };
|
/ohos5.0/base/sensors/sensor/vibration_convert/interfaces/js/include/ |
H A D | vibrator_convert_js.h | 46 napi_ref contextRef_ { nullptr };
|
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/drag/include/ |
H A D | js_drag_context.h | 48 napi_ref contextRef_ { nullptr };
|
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/include/ |
H A D | js_cooperate_context.h | 53 napi_ref contextRef_ { nullptr };
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/ |
H A D | webgl_rendering_context_basic_base.h | 78 napi_ref contextRef_ = nullptr; variable
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_device/include/ |
H A D | js_input_device_context.h | 54 napi_ref contextRef_ { nullptr };
|
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/ |
H A D | js_cooperate_context.cpp | 288 …CHKRP(napi_create_reference(env, jsInstance, ONE_PARAM, &(jsContext->contextRef_)), CREATE_REFEREN… in CreateInstance() 291 status = napi_reference_ref(env, jsContext->contextRef_, &refCount); in CreateInstance() 294 napi_delete_reference(env, jsContext->contextRef_); in CreateInstance()
|
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/coordination/include/ |
H A D | js_coordination_context.h | 70 napi_ref contextRef_ { nullptr };
|
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/ |
H A D | js_coordination_context.cpp | 494 CHKRP(napi_create_reference(env, jsInstance, 1, &(jsContext->contextRef_)), CREATE_REFERENCE); in CreateInstance() 497 status = napi_reference_ref(env, jsContext->contextRef_, &refCount); in CreateInstance() 500 napi_delete_reference(env, jsContext->contextRef_); in CreateInstance()
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/pointer/include/ |
H A D | js_pointer_context.h | 101 napi_ref contextRef_ { nullptr };
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_input_device_context.cpp | 78 CHKRP(napi_create_reference(env, jsInstance, 1, &(jsContext->contextRef_)), CREATE_REFERENCE); in CreateInstance() 81 CHKRP(napi_reference_ref(env, jsContext->contextRef_, &refCount), REFERENCE_REF); in CreateInstance()
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/pointer/src/ |
H A D | js_pointer_context.cpp | 66 CHKRP(napi_create_reference(env, jsInstance, 1, &(jsContext->contextRef_)), CREATE_REFERENCE); in CreateInstance() 69 CHKRP(napi_reference_ref(env, jsContext->contextRef_, &refCount), REFERENCE_REF); in CreateInstance()
|