/base/update/updateservice/frameworks/js/napi/client/ |
D | update_client.cpp | 126 napi_value retValue = sess->StartWork( in CancelUpgrade() local 135 PARAM_CHECK(retValue != nullptr, sessionsMgr_->RemoveSession(sess->GetSessionId()); in CancelUpgrade() 137 return retValue; in CancelUpgrade() 190 …napi_value retValue = StartSession(env, info, sessionParams, [=](SessionType type, void *context) … in Download() local 195 PARAM_CHECK(retValue != nullptr, return nullptr, "Failed to start worker."); in Download() 196 return retValue; in Download() 215 …napi_value retValue = StartSession(env, info, sessionParams, [=](SessionType type, void *context) … in PauseDownload() local 220 PARAM_CHECK(retValue != nullptr, return nullptr, "Failed to start worker."); in PauseDownload() 221 return retValue; in PauseDownload() 240 …napi_value retValue = StartSession(env, info, sessionParams, [=](SessionType type, void *context) … in ResumeDownload() local [all …]
|
D | restorer.cpp | 41 napi_value retValue = StartSession(env, info, sessionParams, in FactoryReset() local 46 PARAM_CHECK(retValue != nullptr, return nullptr, "Failed to FactoryReset."); in FactoryReset() 47 return retValue; in FactoryReset()
|
D | local_updater.cpp | 105 napi_value retValue = StartSession(env, info, sessionParams, in VerifyUpgradePackage() local 112 PARAM_CHECK(retValue != nullptr, return nullptr, "Failed to VerifyUpgradePackage."); in VerifyUpgradePackage() 113 return retValue; in VerifyUpgradePackage() 131 napi_value retValue = StartSession(env, info, sessionParams, in ApplyNewVersion() local 140 PARAM_CHECK(retValue != nullptr, return nullptr, "Failed to ApplyNewVersion"); in ApplyNewVersion() 141 return retValue; in ApplyNewVersion()
|
/base/telephony/core_service/utils/common/src/ |
D | telephony_config.cpp | 56 int32_t TelephonyConfig::ConvertCharToInt(uint32_t &retValue, const std::string &maxCap, uint32_t i… in ConvertCharToInt() argument 73 retValue = static_cast<uint32_t>(originChar - '0'); in ConvertCharToInt() 75 retValue = static_cast<uint32_t>(originChar - 'a') + ASCII_BASE_OFFSET_VALUE; in ConvertCharToInt() 77 retValue = static_cast<uint32_t>(originChar - 'A') + ASCII_BASE_OFFSET_VALUE; in ConvertCharToInt()
|
/base/customization/enterprise_device_management/test/fuzztest/issuperadmin_fuzzer/ |
D | issuperadmin_fuzzer.cpp | 37 bool retValue = false; in FuzzIsSuperAdmin() local 38 enterpriseDeviceManager->IsSuperAdmin(bundleName, retValue); in FuzzIsSuperAdmin()
|
/base/update/updateservice/frameworks/js/napi/base/src/ |
D | iupdater.cpp | 45 napi_value retValue = sess->StartWork(env, args, in On() local 49 …PARAM_CHECK(retValue != nullptr, sessionsMgr_->RemoveSession(sess->GetSessionId()); return nullptr, in On() 51 return retValue; in On() 108 napi_value retValue = sess->StartWork(env, args, function, nullptr); in StartSession() local 109 …PARAM_CHECK(retValue != nullptr, sessionsMgr_->RemoveSession(sess->GetSessionId()); return nullptr, in StartSession() 111 return retValue; in StartSession()
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
D | ril_test_util.cpp | 119 char retValue[VOICECALL_CAP_VAL_LEN + 1] = { "true" }; in HasVoiceCapabilityInner() local 120 int retLen = GetParameter(KEY_VOICECALL_CAP.c_str(), "true", retValue, VOICECALL_CAP_VAL_LEN); in HasVoiceCapabilityInner() 121 TELEPHONY_LOGI("HasVoiceCapability retValue %{public}s, retLen %{public}d", retValue, retLen); in HasVoiceCapabilityInner() 122 if (strcmp(retValue, "false") == 0) { in HasVoiceCapabilityInner()
|
/base/web/webview/interfaces/kits/napi/webstorage/ |
D | napi_web_storage.cpp | 69 napi_value retValue = nullptr; in JsDeleteOrigin() local 73 napi_get_cb_info(env, info, &argc, &argv, &retValue, nullptr); in JsDeleteOrigin() 264 napi_value retValue = nullptr; in JsGetOrigins() local 271 napi_get_cb_info(env, info, &argc, &argv, &retValue, nullptr); in JsGetOrigins() 278 napi_get_cb_info(env, info, &argc, &argv, &retValue, nullptr); in JsGetOrigins() 299 param->retValue = web_storage->GetOriginQuota(param->origin); in ExecuteGetOriginUsageOrQuota() 300 if (param->retValue != INTERFACE_ERROR && param->retValue != NWebError::INVALID_ORIGIN) { in ExecuteGetOriginUsageOrQuota() 303 param->errCode = param->retValue; in ExecuteGetOriginUsageOrQuota() 308 param->retValue = web_storage->GetOriginUsage(param->origin); in ExecuteGetOriginUsageOrQuota() 309 if (param->retValue != INTERFACE_ERROR && param->retValue != NWebError::INVALID_ORIGIN) { in ExecuteGetOriginUsageOrQuota() [all …]
|
/base/customization/enterprise_device_management/test/fuzztest/isadminenabled_fuzzer/ |
D | isadminenabled_fuzzer.cpp | 42 bool retValue = false; in FuzzIsAdminEnabled() local 43 enterpriseDeviceManager->IsAdminEnabled(admin, userId, retValue); in FuzzIsAdminEnabled()
|
/base/update/updater/services/script/script_interpreter/ |
D | script_context.cpp | 175 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 184 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ 201 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 218 retValue = make_shared<IntegerValue>(this->GetValue() / value->GetValue()); \ 227 retValue = make_shared<FloatValue>(this->GetValue() / value->GetValue()); \ 242 UScriptValuePtr retValue = std::make_shared<ErrorValue>(USCRIPT_ERROR_INTERPRET); in Computer() local 245 return retValue; in Computer() 287 return retValue; in Computer() 295 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ 304 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ [all …]
|
D | script_interpreter.cpp | 175 std::shared_ptr<ReturnValue> retValue = std::make_shared<ReturnValue>(); in ExecuteNativeFunc() local 190 retValue->AddValues(funcContext->GetOutVar()); in ExecuteNativeFunc() 192 return retValue; in ExecuteNativeFunc() 218 retValue->AddValues(funcContext->GetOutVar()); in ExecuteNativeFunc() 219 return retValue; in ExecuteNativeFunc()
|
D | script_statement.cpp | 364 std::shared_ptr<ReturnValue> retValue = std::make_shared<ReturnValue>(); in Execute() local 365 if (retValue == nullptr) { in Execute() 373 retValue->AddValues(((ReturnValue*)var.get())->GetValues()); in Execute() 375 retValue->AddValue(var); in Execute() 379 result.SetResultValue(retValue); in Execute()
|
/base/web/webview/interfaces/kits/napi/webdatabase/ |
D | napi_geolocation_permission.cpp | 49 bool retValue; member 110 napi_value retValue = nullptr; in ProcessActionByType() local 113 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in ProcessActionByType() 183 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStateComplete() 208 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStatePromiseComplete() 232 OHOS::NWeb::NWebDataBase::WebPermissionType::GEOLOCATION_TYPE, param->retValue)) { in ExecuteGetPermissionState() 248 .retValue = false, in GetPermissionStateAsync() 277 .retValue = false, in GetPermissionStatePromise() 299 napi_value retValue = nullptr; in JsGetAccessibleGeolocation() local 304 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsGetAccessibleGeolocation() [all …]
|
D | napi_web_data_base.cpp | 141 napi_value retValue = nullptr; in JsSaveHttpAuthCredentials() local 145 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsSaveHttpAuthCredentials() 200 napi_value retValue = nullptr; in JsGetHttpAuthCredentials() local 204 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsGetHttpAuthCredentials()
|
/base/telephony/core_service/utils/common/include/ |
D | telephony_config.h | 33 int32_t ConvertCharToInt(uint32_t &retValue, const std::string &maxCap, uint32_t index);
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
D | napi_web_cookie_manager.cpp | 110 napi_value retValue = nullptr; in JsGetCookie() local 114 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsGetCookie() 145 napi_value retValue = nullptr; in JsSetCookie() local 149 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsSetCookie() 199 napi_value retValue = nullptr; in JsPutAcceptCookieEnabled() local 203 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsPutAcceptCookieEnabled() 240 napi_value retValue = nullptr; in JsPutAcceptThirdPartyCookieEnabled() local 244 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsPutAcceptThirdPartyCookieEnabled()
|
/base/hiviewdfx/hiview/interfaces/js/napi/src/ |
D | hiview_napi_adapter.cpp | 78 napi_value retValue = nullptr; in FileOperationCompleteCallback() local 79 napi_call_function(env, nullptr, callback, RET_SIZE, results, &retValue); in FileOperationCompleteCallback()
|
D | hiview_napi_util.cpp | 106 … const napi_env env, const std::string& paramName, const napi_value& value, std::string& retValue) in ParseStringValue() argument 118 retValue = std::string {buf}; in ParseStringValue()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_write.cpp | 92 napi_value retValue = nullptr; in Write() local 93 napi_call_function(env, nullptr, callback, RESULT_SIZE, results, &retValue); in Write()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | display_badge.cpp | 46 auto retValue = Common::GetBundleOption(env, argv[PARAM0], params.option); in ParseParameters() local 47 if (retValue == nullptr) { in ParseParameters() 97 auto retValue = Common::GetBundleOption(env, argv[PARAM0], params.option); in ParseParameters() local 98 if (retValue == nullptr) { in ParseParameters()
|
D | remove.cpp | 71 auto retValue = Common::GetHashCodes(env, argv[PARAM0], hashcodes); in ParseHashcodeTypeParams() local 72 if (retValue == nullptr) { in ParseHashcodeTypeParams() 179 auto retValue = Common::GetBundleOption(env, argv[PARAM0], bundleandKeyInfo.option); in ParseParametersByRemoveAll() local 180 if (retValue == nullptr) { in ParseParametersByRemoveAll() 226 auto retValue = Common::GetBundleOption(env, argv[PARAM0], params.option); in ParseParameters() local 227 if (retValue == nullptr) { in ParseParameters()
|
D | enable_notification.cpp | 46 auto retValue = Common::GetBundleOption(env, argv[PARAM0], params.option); in ParseParameters() local 47 if (retValue == nullptr) { in ParseParameters() 94 auto retValue = Common::GetBundleOption(env, argv[PARAM0], params.option); in ParseParameters() local 95 if (retValue == nullptr) { in ParseParameters()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_remove_group.cpp | 48 auto retValue = Common::GetBundleOption(env, argv[PARAM0], params.option); in ParseParameters() local 49 if (retValue == nullptr) { in ParseParameters()
|
/base/hiviewdfx/hiview/interfaces/js/napi/include/ |
D | hiview_napi_util.h | 33 … const napi_env env, const std::string& paramName, const napi_value& value, std::string& retValue);
|
/base/telephony/call_manager/frameworks/native/src/ |
D | call_manager_client.cpp | 682 char retValue[VOICECALL_CAP_VAL_LEN + 1] = {"true"}; in HasVoiceCapability() local 683 int retLen = GetParameter(KEY_VOICECALL_CAP.c_str(), "true", retValue, VOICECALL_CAP_VAL_LEN); in HasVoiceCapability() 684 TELEPHONY_LOGI("HasVoiceCapability retValue %{public}s, retLen %{public}d", retValue, retLen); in HasVoiceCapability() 685 if (strcmp(retValue, "false") == 0) { in HasVoiceCapability()
|