Home
last modified time | relevance | path

Searched refs:napi_strict_equals (Results 1 – 25 of 117) sorted by relevance

12345

/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-about-other-practical-tools.md20 | napi_strict_equals | 在某些情况下,希望确保两个值不仅具有相同的值,还具有相同的类型。例如,如果正在处理一些需要特定类型的数据结构或算法,使用napi_strict_equa…
69 ### napi_strict_equals subsection
84 // 调用napi_strict_equals接口判断给定的两个ArkTS value是否严格相等
86 napi_status status = napi_strict_equals(env, args[0], args[1], &result);
115 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_strict_equals: %{public}s', testNapi.strictEqual…
116 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_strict_equals: %{public}s', testNapi.strictEqual…
117 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_strict_equals: %{public}s', testNapi.strictEqual…
119 …hilog.error(0x0000, 'testTag', 'Test Node-API napi_strict_equals error: %{public}s', error.message…
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-about-other-practical-tools.md20napi_strict_equals | Checks whether two values are strictly equal, that is, equal in both the valu…
69 ### napi_strict_equals subsection
71 Use **napi_strict_equals** to check whether two ArkTS values are strictly equal.
84 // Call napi_strict_equals to check whether two ArkTS values are strictly equal.
86 napi_status status = napi_strict_equals(env, args[0], args[1], &result);
115 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_strict_equals: %{public}s', testNapi.strictEqual…
116 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_strict_equals: %{public}s', testNapi.strictEqual…
117 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_strict_equals: %{public}s', testNapi.strictEqual…
119 …hilog.error(0x0000, 'testTag', 'Test Node-API napi_strict_equals error: %{public}s', error.message…
/ohos5.0/base/request/request/frameworks/js/napi/src/
H A Dlistener_list.cpp59 napi_strict_equals(this->env_, cb, copyValue, &isEquals); in RemoveListenerInner()
98 napi_strict_equals(this->env_, cb, copyValue, &isEquals); in IsListenerAdded()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/
H A Dnapi_audio_renderer_device_change_callback.cpp44 CHECK_AND_RETURN_LOG(napi_strict_equals(env_, copyValue, args, &isEquals) == napi_ok, in AddCallbackReference()
76 CHECK_AND_RETURN_LOG(napi_strict_equals(env, args, copyValue, &isEquals) == napi_ok, in RemoveCallbackReference()
205 CHECK_AND_RETURN_LOG(napi_strict_equals(env_, copyValue, args, &isEquals) == napi_ok, in AddCallbackReference()
237 CHECK_AND_RETURN_LOG(napi_strict_equals(env, args, copyValue, &isEquals) == napi_ok, in RemoveCallbackReference()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_monitor/
H A Devent_listener.cpp68 napi_strict_equals(env_, handler, callback, &isEquals); in Delete()
89 napi_strict_equals(env_, handler, callback, &isEquals); in Find()
/ohos5.0/foundation/ability/form_fwk/frameworks/js/napi/form_host/
H A Djs_form_state_observer.cpp81 napi_strict_equals(env_, myCallback, callback, &isEqual); in IsStrictEqual()
128 napi_strict_equals(env_, myCallback, callback, &isEqual); in IsStrictEqual()
408 napi_strict_equals(env_, value, jsObserverObject, &isEqual); in DelFormNotifyVisibleCallbackByBundle()
427 napi_strict_equals(env_, value, jsObserverObject, &isEqual); in DelFormNotifyVisibleCallbackByBundle()
657 napi_strict_equals(env_, compareCallback, callback, &ref); in ContainEqualCallback()
693 napi_strict_equals(env, callbackFun, callback, &equal); in RemoveCallback()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/src/
H A Djs_systemload.cpp71 …NAPI_CALL_RETURN_VOID(env, napi_strict_equals(env, callbackObj, iter->first->GetNapiValue(), &isEq… in OnSystemloadLevel()
128 napi_strict_equals(env, jsCallback, iter->first->GetNapiValue(), &isEqual); in RegisterSystemloadCallback()
167 napi_strict_equals(env, jsCallback, iter->first->GetNapiValue(), &isEqual); in UnRegisterSystemloadCallback()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/
H A Djs_ability_first_frame_state_observer.cpp162 napi_strict_equals(env_, value, jsObserverObject, &isEqual); in RemoveJsObserverObject()
193 napi_strict_equals(env_, value, jsObserverObject, &isEqual); in GetObserverObject()
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/src/
H A Dupdate_session.cpp122 napi_strict_equals(env, handler, handlerTemp, &isEquals); in CheckEqual()
139 status = napi_strict_equals(env, handler, currentHandler, &isEquals); in IsSameListener()
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_rss_session.cpp210 …NAPI_CALL_RETURN_VOID(env, napi_strict_equals(env, callbackObj, iter->first->GetNapiValue(), &isEq… in OnReceiveEvent()
256 napi_strict_equals(env, jsCallback, iter->first->GetNapiValue(), &isEqual); in RegisterRssDataCallback()
289 napi_strict_equals(env, jsCallback, iter->first->GetNapiValue(), &isEqual); in UnRegisterRssDataCallback()
/ohos5.0/foundation/window/window_manager/previewer/mock/
H A Djs_window_register_manager.cpp169 napi_strict_equals(env, value, it->first->GetNapiValue(), &isEquals); in UnregisterListener()
206 napi_strict_equals(env, jsListenerObject, iter->first->GetNapiValue(), &isEquals); in IsCallbackRegistered()
/ohos5.0/base/msdp/device_status/frameworks/js/napi/src/
H A Ddevicestatus_event.cpp115 napiStatus = napi_strict_equals(env_, result, handler, &equal); in IsNoExistCallback()
159 napi_strict_equals(env_, result, handler, &equal); in OffOnce()
/ohos5.0/foundation/ai/intelligent_voice_framework/frameworks/js/napi/
H A Dintell_voice_common_napi.cpp67 napi_status status = napi_strict_equals(env, copyValue, callback, &isEqual); in IsSameCallback()
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/extension_window/
H A Djs_extension_window_register_manager.cpp122 napi_strict_equals(env, jsListenerObject, iter->first->GetNapiValue(), &isEquals); in IsCallbackRegistered()
188 napi_strict_equals(env, value, it->first->GetNapiValue(), &isEquals); in UnregisterListener()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_uv_queue.cpp42 napi_strict_equals(env_, value, callback, &isEquals); in operator ==()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_uv_queue.cpp42 napi_strict_equals(env_, value, callback, &isEquals); in operator ==()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/auto_fill_manager/
H A Djs_auto_save_request_callback.cpp117 if (napi_strict_equals(env_, object, value, &result) != napi_ok) { in IsJsCallbackEquals()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dapplication_state_change_callback.cpp115 napi_strict_equals(env_, value, jsCallback, &isEqual); in UnRegister()
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/src/
H A Devent_listener.cpp93 NAPI_CALL_BASE(env_, napi_strict_equals(env_, callback1, callback, &ret), false); in Match()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/callback/
H A Dnapi_audio_capturer_device_change_callback.cpp60 CHECK_AND_RETURN_RET_LOG(napi_strict_equals(env_, copyValue, args, &isEquals) == napi_ok, false, in ContainSameJsCallback()
H A Dnapi_audio_capturer_info_change_callback.cpp58 CHECK_AND_RETURN_RET_LOG(napi_strict_equals(env_, copyValue, args, &isEquals) == napi_ok, false, in ContainSameJsCallback()
/ohos5.0/foundation/communication/netstack/utils/napi_utils/src/
H A Devent_listener.cpp122 NAPI_CALL_BASE(env_, napi_strict_equals(env_, callback1, callback, &ret), false); in ~EventListener()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/inspector/
H A Djs_inspector.cpp108 napi_strict_equals(env, refItem, cb, &result); in FindCbList()
116 napi_strict_equals(env, refItem, cb, &result); in FindCbList()
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_util.cpp148 …CHKRR(napi_strict_equals(env, handler, iterHandler, &isEquals), STRICT_EQUALS, JS_CALLBACK_EVENT_F… in DelEventCallbackRef()
196 status = napi_strict_equals(env, handler1, handler2, &isEqual); in AddEventCallback()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dnapi_helper.cpp170 napi_strict_equals(env, lhs, rhs, &res); in IsStrictEqual()
289 napi_strict_equals(env, value, cmpValue, &isEqual); in StrictEqual()

12345