Home
last modified time | relevance | path

Searched refs:isEqual (Results 1 – 25 of 63) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkClassDefine.ts34 isEqual(another: ArkBorderStyle): boolean {
169 isEqual(another: ArkLabelFont): boolean {
348 return !this.isEqual(another);
598 isEqual(another: ArkBorder): boolean {
610 return !this.isEqual(another);
676 isEqual(another: ArkPadding) {
735 isEqual(another: ArkAlignRules) {
1257 isEqual(another: ArkMesh): boolean {
1342 return !this.isEqual(another);
1551 return !this.isEqual(another);
[all …]
/ohos5.0/base/msdp/device_status/test/unittest/utils/src/
H A Dutility_test.cpp384 ASSERT_TRUE(isEqual);
400 ASSERT_TRUE(isEqual);
416 ASSERT_TRUE(isEqual);
432 ASSERT_TRUE(isEqual);
448 ASSERT_TRUE(isEqual);
464 ASSERT_TRUE(isEqual);
480 ASSERT_TRUE(isEqual);
496 ASSERT_TRUE(isEqual);
512 ASSERT_TRUE(isEqual);
625 ASSERT_TRUE(isEqual);
[all …]
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/src/
H A Djs_systemload.cpp69 bool isEqual = false; in OnSystemloadLevel() local
71 …CALL_RETURN_VOID(env, napi_strict_equals(env, callbackObj, iter->first->GetNapiValue(), &isEqual)); in OnSystemloadLevel()
72 if (isEqual) { in OnSystemloadLevel()
76 if (!isEqual) { in OnSystemloadLevel()
127 bool isEqual = false; in RegisterSystemloadCallback() local
128 napi_strict_equals(env, jsCallback, iter->first->GetNapiValue(), &isEqual); in RegisterSystemloadCallback()
129 if (isEqual) { in RegisterSystemloadCallback()
166 bool isEqual = false; in UnRegisterSystemloadCallback() local
167 napi_strict_equals(env, jsCallback, iter->first->GetNapiValue(), &isEqual); in UnRegisterSystemloadCallback()
168 if (isEqual) { in UnRegisterSystemloadCallback()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/
H A Djs_ability_first_frame_state_observer.cpp161 bool isEqual = false; in RemoveJsObserverObject() local
162 napi_strict_equals(env_, value, jsObserverObject, &isEqual); in RemoveJsObserverObject()
163 if (isEqual) { in RemoveJsObserverObject()
192 bool isEqual = false; in GetObserverObject() local
193 napi_strict_equals(env_, value, jsObserverObject, &isEqual); in GetObserverObject()
194 if (isEqual) { in GetObserverObject()
H A Djs_app_foreground_state_observer.cpp141 bool isEqual = false; in GetObserverObject() local
142 napi_strict_equals(env_, value, jsObserverObject, &isEqual); in GetObserverObject()
143 if (isEqual) { in GetObserverObject()
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_rss_session.cpp206 bool isEqual = false; in OnReceiveEvent() local
210 …CALL_RETURN_VOID(env, napi_strict_equals(env, callbackObj, iter->first->GetNapiValue(), &isEqual)); in OnReceiveEvent()
211 if (isEqual) { in OnReceiveEvent()
215 if (!isEqual) { in OnReceiveEvent()
253 bool isEqual = false; in RegisterRssDataCallback() local
256 napi_strict_equals(env, jsCallback, iter->first->GetNapiValue(), &isEqual); in RegisterRssDataCallback()
257 if (isEqual) { in RegisterRssDataCallback()
288 bool isEqual = false; in UnRegisterRssDataCallback() local
289 napi_strict_equals(env, jsCallback, iter->first->GetNapiValue(), &isEqual); in UnRegisterRssDataCallback()
290 if (isEqual) { in UnRegisterRssDataCallback()
/ohos5.0/foundation/ability/form_fwk/frameworks/js/napi/form_host/
H A Djs_form_state_observer.cpp78 bool isEqual = false; in IsStrictEqual() local
81 napi_strict_equals(env_, myCallback, callback, &isEqual); in IsStrictEqual()
82 HILOG_INFO("isStrictEqual:%{public}d", isEqual); in IsStrictEqual()
83 return isEqual; in IsStrictEqual()
125 bool isEqual = false; in IsStrictEqual() local
129 HILOG_INFO("isStrictEqual:%{public}d", isEqual); in IsStrictEqual()
130 return isEqual; in IsStrictEqual()
407 bool isEqual = false; in DelFormNotifyVisibleCallbackByBundle() local
409 if (isEqual) { in DelFormNotifyVisibleCallbackByBundle()
426 bool isEqual = false; in DelFormNotifyVisibleCallbackByBundle() local
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dpac_map_test.cpp368 EXPECT_EQ(true, isEqual);
391 EXPECT_EQ(true, isEqual);
414 EXPECT_EQ(true, isEqual);
437 EXPECT_EQ(true, isEqual);
460 EXPECT_EQ(true, isEqual);
483 EXPECT_EQ(true, isEqual);
512 EXPECT_EQ(true, isEqual);
530 bool isEqual = false; variable
534 EXPECT_EQ(true, isEqual);
783 EXPECT_EQ(true, isEqual);
[all …]
/ohos5.0/foundation/ai/intelligent_voice_framework/frameworks/js/napi/
H A Dintell_voice_common_napi.cpp63 bool isEqual = false; in IsSameCallback() local
67 napi_status status = napi_strict_equals(env, copyValue, callback, &isEqual); in IsSameCallback()
73 return isEqual; in IsSameCallback()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dapplication_state_change_callback.cpp114 bool isEqual = false; in UnRegister() local
115 napi_strict_equals(env_, value, jsCallback, &isEqual); in UnRegister()
116 if (isEqual) { in UnRegister()
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/controller/
H A Dnfc_napi_controller_event.cpp301 bool isEqual = false; in Register() local
302 napi_strict_equals(miter->m_regEnv, handlerTemp, handler, &isEqual); in Register()
303 if (isEqual) { in Register()
324 bool isEqual = false; in DeleteRegisterObj() local
331 napi_strict_equals(iter->m_regEnv, handlerTemp, handler, &isEqual); in DeleteRegisterObj()
332 DebugLog("Delete register isEqual = %{public}d", isEqual); in DeleteRegisterObj()
333 if (isEqual) { in DeleteRegisterObj()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_ipc_interface_test/
H A Dams_ipc_appscheduler_interface_test.cpp211 bool isEqual = mockApplication->CompareAppLaunchData(launchData); variable
212 EXPECT_EQ(true, isEqual);
260 bool isEqual = mockApplication->CompareProfile(profile); variable
261 EXPECT_EQ(true, isEqual);
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ability_manager/
H A Djs_ability_foreground_state_observer.cpp154 bool isEqual = false; in GetObserverObject() local
155 napi_strict_equals(env_, value, jsObserverObject, &isEqual); in GetObserverObject()
156 if (isEqual) { in GetObserverObject()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/js/napi/observer/src/
H A Dnapi_observer.cpp81 bool isEqual = false; in operator ==() local
82 napi_strict_equals(env_, value1, value2, &isEqual); in operator ==()
83 return isEqual; in operator ==()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_modifier/src/
H A Dimage_animator_modifier.ts36 (newObj as ImageAnimatorImagesModifier).isEqual = (obj as ImageAnimatorImagesModifier)?.isEqual;
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_async_callback.cpp135 bool isEqual = false; in Equal() local
136 napi_strict_equals(env_, storedCallback, callback, &isEqual); in Equal()
137 return isEqual; in Equal()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/
H A Djson_common.cpp625 bool isEqual = (srcItem == item); in IsObjectItemMatch() local
626 if (!isEqual) { // Filter value is No equal with src in IsObjectItemMatch()
627 isMatchFlag = isEqual; in IsObjectItemMatch()
634 bool isEqual = isValueEqual(srcItem.GetItemValue(), item.GetItemValue()); in IsObjectItemMatch() local
635 if (!isEqual) { // Filter value is No equal with src in IsObjectItemMatch()
636 isMatchFlag = isEqual; in IsObjectItemMatch()
642 bool isEqual = IsArrayMatch(srcItem, item, isAlreadyMatched); in IsObjectItemMatch() local
643 if (!isEqual) { in IsObjectItemMatch()
644 isMatchFlag = isEqual; in IsObjectItemMatch()
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/
H A Djs_util.cpp166 bool isEqual = false; in IsSameHandle() local
167 CHKRF_SCOPE(env, napi_strict_equals(env, handle, tempHandler, &isEqual), STRICT_EQUALS, scope); in IsSameHandle()
169 return isEqual; in IsSameHandle()
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_sendable_napi.cpp1145 bool isEqual = false; variable
1152 ASSERT_EQ(isEqual, true);
1196 bool isEqual = false; variable
1203 ASSERT_EQ(isEqual, true);
1247 bool isEqual = false; variable
1254 ASSERT_EQ(isEqual, true);
1298 bool isEqual = false; variable
1349 bool isEqual = false; variable
1400 bool isEqual = false; variable
1451 bool isEqual = false; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/
H A Dmenu_preview_pattern.h213 void SetIsHoverImageScaleNearEqual(bool isEqual) in SetIsHoverImageScaleNearEqual() argument
215 isHoverImageScaleNearEqual_ = isEqual; in SetIsHoverImageScaleNearEqual()
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/
H A Djs_drag_manager.cpp45 bool isEqual = false; in IsSameHandle() local
46 CHKRF_SCOPE(env, napi_strict_equals(env, handle, handlerTemp, &isEqual), STRICT_EQUALS, scope); in IsSameHandle()
48 return isEqual; in IsSameHandle()
/ohos5.0/foundation/communication/connected_nfc_tag/frameworks/js/napi/
H A Dnfc_napi_event.cpp274 bool isEqual = false; in DeleteRegisterObj() local
275 napi_strict_equals(iter->m_regEnv, handlerTemp, handler, &isEqual); in DeleteRegisterObj()
276 if (isEqual) { in DeleteRegisterObj()
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/
H A Ddlp_file_test.cpp201 bool isEqual = false; variable
207 isEqual = true;
211 ASSERT_EQ(isEqual, true);
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_device/src/
H A Djs_util.cpp66 bool isEqual = false; in IsSameHandle() local
67 if (napi_strict_equals(env, handle, handlerTemp, &isEqual) != napi_ok) { in IsSameHandle()
73 return isEqual; in IsSameHandle()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/
H A Dpake_v1_protocol_task_common.c652 const Uint8Buff *peerPseudonymIdBuff, bool *isEqual) in CheckPseudonymIdByCompute() argument
681 *isEqual = (memcmp(peerPseudonymIdBuff->val, computePeerPseudonymId, PSEUDONYM_ID_LEN) == 0); in CheckPseudonymIdByCompute()
728 bool isEqual = false; in CheckPseudonymId() local
730isEqual = (memcmp(peerPseudonymId, params->pseudonymExtInfo.peerNextPseudonymId.val, PSEUDONYM_ID_… in CheckPseudonymId()
732 if (!isEqual) { in CheckPseudonymId()
734 …s = CheckPseudonymIdByCompute(params, &peerPseudonymChallengeBuff, &peerPseudonymIdBuff, &isEqual); in CheckPseudonymId()
740 if (!isEqual) { in CheckPseudonymId()

123