/base/security/asset/services/common/src/ |
H A D | lib.rs | 64 fn IsUserIdExist(userId: i32, exist: &mut bool) -> bool; in IsUserIdExist() 79 /// Check user id exist. 82 let mut exist = false; in is_user_id_exist() variables 83 if IsUserIdExist(user_id, &mut exist) { in is_user_id_exist() 84 Ok(exist) in is_user_id_exist()
|
/base/sensors/miscdevice/frameworks/js/napi/vibrator/src/ |
H A D | vibrator_napi_utils.cpp | 160 bool exist = false; in GetPropertyItem() local 161 napi_status status = napi_has_named_property(env, value, type.c_str(), &exist); in GetPropertyItem() 162 if ((status != napi_ok) || (!exist)) { in GetPropertyItem() 172 bool exist = false; in GetPropertyString() local 173 napi_status status = napi_has_named_property(env, value, type.c_str(), &exist); in GetPropertyString() 174 if ((status != napi_ok) || (!exist)) { in GetPropertyString() 190 bool exist = false; in GetPropertyInt32() local 191 napi_status status = napi_has_named_property(env, value, type.c_str(), &exist); in GetPropertyInt32() 192 if (status != napi_ok || !exist) { in GetPropertyInt32() 207 bool exist in GetPropertyInt64() local 223 bool exist = false; GetPropertyBool() local [all...] |
H A D | vibrator_pattern_js.cpp | 95 bool exist = false; in ParsePoints() local 96 napi_status status = napi_has_named_property(env, element, "intensity", &exist); in ParsePoints() 97 if ((status == napi_ok) && exist) { in ParsePoints() 109 status = napi_has_named_property(env, element, "frequency", &exist); in ParsePoints() 110 if ((status == napi_ok) && exist) { in ParsePoints() 129 bool exist = false; in ParseOptions() local 130 napi_status status = napi_has_named_property(env, value, "intensity", &exist); in ParseOptions() 131 if ((status == napi_ok) && exist) { in ParseOptions() 140 status = napi_has_named_property(env, value, "frequency", &exist); in ParseOptions() 141 if ((status == napi_ok) && exist) { in ParseOptions() [all...] |
H A D | vibrator_js.cpp | 267 bool exist = false; in ParseVibrateEvent() local 268 napi_status status = napi_has_named_property(env, element, "points", &exist); in ParseVibrateEvent() 269 if ((status == napi_ok) && exist) { in ParseVibrateEvent()
|
/base/web/webview/interfaces/kits/cj/src/ |
H A D | web_cookie_manager.cpp | 90 bool exist = true; in CjExistCookie() local 93 exist = cookieManager->ExistCookies(incognitoMode); in CjExistCookie() 95 return exist; in CjExistCookie()
|
/base/security/asset/services/os_dependency/inc/ |
H A D | os_account_wrapper.h | 26 bool IsUserIdExist(int32_t userId, bool *exist);
|
/base/security/asset/services/os_dependency/src/ |
H A D | os_account_wrapper.cpp | 35 bool IsUserIdExist(int32_t userId, bool *exist) in IsUserIdExist() argument 43 *exist = isUserIdExist; in IsUserIdExist()
|
/base/startup/init/test/unittest/ueventd/ |
H A D | ueventd_event_unittest.cpp | 225 std::cout << "File " << file << " is not exist\n"; in IsFileExist() 369 std::cout << "Warning. Block device " << blockDevice << " is not exist.\n"; in HWTEST_F() 437 auto exist = IsFileExist("/dev/extcon3-1"); in HWTEST_F() local 438 EXPECT_TRUE(exist); in HWTEST_F() 439 exist = IsFileExist("/dev/extcon3"); in HWTEST_F() 440 EXPECT_FALSE(exist); in HWTEST_F() 453 auto exist = IsFileExist("/dev/usb-dev"); in HWTEST_F() local 454 EXPECT_TRUE(exist); in HWTEST_F() 468 auto exist = IsFileExist("/dev/usb-dev-1"); in HWTEST_F() local 469 EXPECT_FALSE(exist); in HWTEST_F() 483 auto exist = IsFileExist("/dev/bus/usb/003/004"); HWTEST_F() local [all...] |
/base/msdp/device_status/test/unittest/intention/scheduler/src/ |
H A D | timer_manager_test.cpp | 583 * @tc.desc: Test IsExist, The newly added clock ID has been determined to exist and is expected to succeed 606 bool exist = timerMgr->IsExist(timerId_); in HWTEST_F() local 607 if (exist) { in HWTEST_F() 608 FI_HILOGI("timerId_ is exist, so success"); in HWTEST_F() 610 FI_HILOGE("timerId_ is exist, but response unexist, so failed"); in HWTEST_F() 612 EXPECT_TRUE(exist); in HWTEST_F() 614 exist = timerMgr->IsExist(ERROR_TIMERID); in HWTEST_F() 615 if (!exist) { in HWTEST_F() 616 FI_HILOGI("The TimerFd(-1) does not exist, so success"); in HWTEST_F() 618 FI_HILOGE("The TimerFd(-1) does not exist, bu in HWTEST_F() 634 bool exist = timerMgr.IsExist(ERROR_TIMERID); HWTEST_F() local [all...] |
/base/sensors/sensor/vibration_convert/interfaces/js/src/ |
H A D | vibrator_convert_napi_utils.cpp | 101 bool exist = false; in GetPropertyInt32() local 102 napi_status status = napi_has_named_property(env, value, type.c_str(), &exist); in GetPropertyInt32() 103 if (status != napi_ok || !exist) { in GetPropertyInt32() 119 bool exist = false; in GetPropertyInt64() local 120 napi_status status = napi_has_named_property(env, value, type.c_str(), &exist); in GetPropertyInt64() 121 if (status != napi_ok || !exist) { in GetPropertyInt64()
|
/base/security/asset/services/db_operator/src/test/ |
H A D | test_database.rs | 128 assert!(table.exist().unwrap()); in create_delete_asset_table() 130 assert!(!table.exist().unwrap()); in create_delete_asset_table()
|
H A D | test_table.rs | 40 assert!(!table.exist().unwrap()); in create_delete_table() 42 assert!(table.exist().unwrap()); in create_delete_table()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
H A D | accesstoken_kit_test.cpp | 2253 bool exist = false; in HWTEST_F() local 2262 exist = ExistInVector(obj, tokenID); in HWTEST_F() 2263 if (exist) { in HWTEST_F() 2743 bool exist; in HWTEST_F() local 2751 exist = ExistInVector(obj, tokenID); in HWTEST_F() 2752 if (exist) { in HWTEST_F()
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
H A D | napi_web_cookie_manager.cpp | 521 bool exist = true; in JsExistCookie() local 525 exist = cookieManager->ExistCookies(incognitoMode); in JsExistCookie() 527 NAPI_CALL(env, napi_get_boolean(env, exist, &result)); in JsExistCookie()
|