Home
last modified time | relevance | path

Searched refs:retValue (Results 1 – 25 of 89) sorted by relevance

1234

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dappevent_watcher_impl.cpp237 retValue.size = 1; in CreatElmInt()
245 retValue.value = retInt; in CreatElmInt()
250 retValue.size = 1; in CreatElmBool()
258 retValue.value = retBool; in CreatElmBool()
263 retValue.size = 1; in CreatElmDou()
271 retValue.value = retF; in CreatElmDou()
276 retValue.size = 1; in CreatElmStr()
283 retValue.size = 1; in CreatObjStr()
320 if (retValue == nullptr) { in CreateValueByJsonStr()
331 pameters.head = retValue; in CreateValueByJsonStr()
[all …]
H A Dappevent_packageholder_impl.cpp47 char **retValue = static_cast<char**>(malloc(sizeof(char *) * arrStr.size)); in ConvertArrString() local
48 if (retValue == nullptr) { in ConvertArrString()
52 retValue[i] = MallocCString(vecStr[i]); in ConvertArrString()
54 arrStr.head = retValue; in ConvertArrString()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/
H A Dmine_hichain_connector.cpp91 int retValue = InitDeviceAuthService(); in Init() local
92 if (retValue != HC_SUCCESS) { in Init()
103 if (retValue != HC_SUCCESS) { in Init()
107 if (retValue != HC_SUCCESS) { in Init()
142 if (retValue != HC_SUCCESS) { in DeleteCredentialAndGroup()
165 if (retValue != 0) { in CreateGroup()
177 if (retValue != HC_SUCCESS) { in CreateGroup()
203 if (retValue != HC_SUCCESS || returnInfo == nullptr) { in RequestCredential()
225 if (retValue != HC_SUCCESS) { in CheckCredential()
252 if (retValue != HC_SUCCESS) { in ImportCredential()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/
H A Dbundle_manager_convert.cpp57 if (retValue == nullptr) { in ConvertArrString()
63 if (retValue[i] == nullptr) { in ConvertArrString()
65 free(retValue); in ConvertArrString()
106 if (retValue != nullptr) { in ConvertArrMetadata()
110 data.head = retValue; in ConvertArrMetadata()
126 if (retValue != nullptr) { in ConvertArrMoMeta()
136 arrMdata.head = retValue; in ConvertArrMoMeta()
220 if (retValue != nullptr) { in ConvertArrExtensionAbilityInfo()
341 dep.head = retValue; in ConvertDependency()
392 if (retValue == nullptr) { in ConvertArrHapInfo()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/mini/
H A Dsoftbus_adapter.c273 int retValue = DM_OK; in InitSoftbusModle() local
308 return retValue; in InitSoftbusModle()
565 int retValue = DM_OK; in ParseDiscoverFilterOption() local
573 return retValue; in ParseDiscoverFilterOption()
673 if (retValue != EOK) { in ImportPkgNameToDiscoveryMap()
873 if (retValue != EOK) { in ImportPkgNameToAdvertisingMap()
885 if (retValue != EOK) { in ImportPkgNameToBindMap()
1001 if (retValue != EOK) { in NodeBasicInfoCopyToDmDevice()
1005 if (retValue != EOK) { in NodeBasicInfoCopyToDmDevice()
1017 if (retValue != EOK) { in DeviceInfoCopyToDmDevice()
[all …]
H A Dhichain_adapter.c63 int retValue = DM_OK; in InitHichainModle() local
80 retValue = ERR_DM_HICHAIN_REGISTER_CALLBACK; in InitHichainModle()
85 retValue = ERR_DM_LITEOS_CREATE_MUTEX_OR_SEM; in InitHichainModle()
87 if (retValue != DM_OK) { in InitHichainModle()
90 return retValue; in InitHichainModle()
103 if (retValue != HC_SUCCESS) { in UnInitHichainModle()
105 retValue = ERR_DM_HICHAIN_UNREGISTER_CALLBACK; in UnInitHichainModle()
107 retValue = DM_OK; in UnInitHichainModle()
115 retValue = ERR_DM_LITEOS_DELETE_MUTEX_OR_SEM; in UnInitHichainModle()
119 if (retValue != DM_OK) { in UnInitHichainModle()
[all …]
H A Ddevice_manager_impl_lite_m.c41 int retValue = InitSoftbusModle(); in InitDeviceManager() local
42 if (retValue != DM_OK) { in InitDeviceManager()
43 DMLOGE("failed to init softbus with ret: %d.", retValue); in InitDeviceManager()
44 return retValue; in InitDeviceManager()
46 retValue = InitHichainModle(); in InitDeviceManager()
47 if (retValue != DM_OK) { in InitDeviceManager()
48 DMLOGE("failed to init hichain with ret: %d.", retValue); in InitDeviceManager()
49 return retValue; in InitDeviceManager()
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/src/
H A Dupdate_client.cpp130 return retValue; in CancelUpgrade()
187 return retValue; in Download()
211 return retValue; in PauseDownload()
235 return retValue; in ResumeDownload()
259 return retValue; in Upgrade()
283 return retValue; in ClearError()
299 return retValue; in TerminateUpgrade()
321 return retValue; in SetUpgradePolicy()
332 return retValue; in GetUpgradePolicy()
343 return retValue; in GetNewVersionInfo()
[all …]
H A Dlocal_updater.cpp105 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()
136 napi_value retValue = StartSession(env, info, sessionParams, in ApplyNewVersion() local
147 PARAM_CHECK(retValue != nullptr, return nullptr, "Failed to ApplyNewVersion"); in ApplyNewVersion()
148 return retValue; in ApplyNewVersion()
H A Drestorer.cpp41 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()
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dmine_softbus_listener.cpp181 return retValue; in StopRefreshSoftbusLNN()
264 if (retValue != DM_OK) { in ParseSearchJson()
266 return retValue; in ParseSearchJson()
385 errno_t retValue = EOK; in ParseScopeDeviceJsonArray() local
512 int retValue; in SendBroadcastInfo() local
515 if (retValue != 0) { in SendBroadcastInfo()
609 return retValue; in PublishDeviceDiscovery()
691 if (retValue != 0) { in GetBroadcastData()
857 int retValue; in SendReturnwave() local
861 if (retValue != 0) { in SendReturnwave()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/idl_client/idl_interface/
H A Di_wifi_chip.c343 int retValue = WIFI_IDL_FALSE; in IsChipSupportDbdc() local
345 ReadInt(context, &retValue); in IsChipSupportDbdc()
346 *isSupport = (retValue == WIFI_IDL_TRUE); in IsChipSupportDbdc()
366 int retValue = WIFI_IDL_FALSE; in IsChipSupportCsa() local
368 ReadInt(context, &retValue); in IsChipSupportCsa()
389 int retValue = WIFI_IDL_FALSE; in IsChipSupportRadarDetect() local
391 ReadInt(context, &retValue); in IsChipSupportRadarDetect()
412 int retValue = WIFI_IDL_FALSE; in IsChipSupportDfsChannel() local
414 ReadInt(context, &retValue); in IsChipSupportDfsChannel()
435 int retValue = WIFI_IDL_FALSE; in IsChipSupportIndoorChannel() local
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_app_environment.cpp106 jerry_value_t retValue = UNDEFINED; in LoadFramework() local
108 retValue = jerry_exec_snapshot(reinterpret_cast<const uint32_t *>(jScript), len, 0, 1); in LoadFramework()
110 retValue = jerry_eval(jScript, len, JERRY_PARSE_NO_OPTS); in LoadFramework()
113 bool hasError = jerry_value_is_error(retValue); in LoadFramework()
117 PrintErrorMessage(retValue); in LoadFramework()
121 jerry_release_value(retValue); in LoadFramework()
/ohos5.0/base/web/webview/interfaces/kits/napi/webstorage/
H A Dnapi_web_storage.cpp59 napi_value retValue = nullptr; in JsDeleteAllData() local
63 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsDeleteAllData()
83 napi_value retValue = nullptr; in JsDeleteOrigin() local
283 napi_value retValue = nullptr; in JsGetOrigins() local
321 if (param->retValue != INTERFACE_ERROR && param->retValue != NWebError::INVALID_ORIGIN) { in ExecuteGetOriginUsageOrQuota()
324 param->errCode = param->retValue; in ExecuteGetOriginUsageOrQuota()
330 if (param->retValue != INTERFACE_ERROR && param->retValue != NWebError::INVALID_ORIGIN) { in ExecuteGetOriginUsageOrQuota()
333 param->errCode = param->retValue; in ExecuteGetOriginUsageOrQuota()
401 .retValue = -1, in GetOriginUsageOrQuotaAsync()
431 .retValue = -1, in GetOriginUsageOrQuotaPromise()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/webadsblockmanager/
H A Dnapi_web_adsblock_manager.cpp76 napi_value retValue = nullptr; in JsSetAdsBlockRules() local
80 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsSetAdsBlockRules()
124 napi_value retValue = nullptr; in JsAddAdsBlockDisallowedList() local
128 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsAddAdsBlockDisallowedList()
157 napi_value retValue = nullptr; in JsRemoveAdsBlockDisallowedList() local
161 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsRemoveAdsBlockDisallowedList()
204 napi_value retValue = nullptr; in JsAddAdsBlockAllowedList() local
208 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsAddAdsBlockAllowedList()
237 napi_value retValue = nullptr; in JsRemoveAdsBlockAllowedList() local
241 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsRemoveAdsBlockAllowedList()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_wpa_proxy.h43 #define CHECK_HDI_WPA_INTERFACE_AND_RETURN(wpaObj, retValue) \ argument
46 return retValue; \
59 #define CHECK_SECURE_FUNC_AND_RETURN(ret, retValue) \ argument
62 return retValue; \
/ohos5.0/base/update/updater/services/script/script_interpreter/
H A Dscript_context.cpp175 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()
354 UScriptValuePtr retValue = std::make_shared<ErrorValue>(USCRIPT_ERROR_INTERPRET); in Computer() local
357 return retValue; in Computer()
[all …]
H A Dscript_interpreter.cpp175 std::shared_ptr<ReturnValue> retValue = std::make_shared<ReturnValue>(); in ExecuteNativeFunc() local
194 retValue->AddValues(funcContext->GetOutVar()); in ExecuteNativeFunc()
196 return retValue; in ExecuteNativeFunc()
222 retValue->AddValues(funcContext->GetOutVar()); in ExecuteNativeFunc()
223 return retValue; in ExecuteNativeFunc()
/ohos5.0/base/telephony/core_service/utils/common/src/
H A Dtelephony_config.cpp56 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()
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/common/src/
H A Diupdater.cpp48 napi_value retValue = sess->StartWork( in On() local
55 …PARAM_CHECK(retValue != nullptr, sessionsMgr_->RemoveSession(sess->GetSessionId()); return nullptr, in On()
57 return retValue; in On()
119 napi_value retValue = sess->StartWork(env, args, function, nullptr); in StartSession() local
120 …PARAM_CHECK(retValue != nullptr, sessionsMgr_->RemoveSession(sess->GetSessionId()); return nullptr, in StartSession()
122 return retValue; in StartSession()
/ohos5.0/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_test_util.cpp119 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()
/ohos5.0/base/web/webview/interfaces/kits/napi/webdatabase/
H A Dnapi_geolocation_permission.cpp51 bool retValue; member
128 napi_value retValue = nullptr; in ProcessActionByType() local
132 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in ProcessActionByType()
184 napi_value retValue = nullptr; in JsDeleteAllGeolocation() local
188 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsDeleteAllGeolocation()
246 napi_get_boolean(env, param->retValue, &setResult[PARAMONE]); in GetPermissionStatePromiseComplete()
286 .retValue = false, in GetPermissionStateAsync()
316 .retValue = false, in GetPermissionStatePromise()
339 napi_value retValue = nullptr; in JsGetAccessibleGeolocation() local
345 napi_get_cb_info(env, info, &argc, argv, &retValue, nullptr); in JsGetAccessibleGeolocation()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_hotspot.cpp152 WifiErrorCode retValue = GetHotspotConfigFromCpp(hotspotConfig, result); in GetHotspotConfig() local
153 if (retValue != WIFI_SUCCESS) { in GetHotspotConfig()
155 return retValue; in GetHotspotConfig()
191 WifiErrorCode retValue = GetStaListFromCpp(vecStaList, result); in GetStationList() local
192 if (retValue != WIFI_SUCCESS) { in GetStationList()
194 return retValue; in GetStationList()
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/common/inc/
H A Dattribute.h74 ResultCode GetAttributeUint32(const Attribute *attribute, AttributeKey key, uint32_t *retValue);
76 ResultCode GetAttributeInt32(const Attribute *attribute, AttributeKey key, int32_t *retValue);
78 ResultCode GetAttributeUint64(const Attribute *attribute, AttributeKey key, uint64_t *retValue);
/ohos5.0/drivers/peripheral/user_auth/hdi_service/utils/inc/
H A Dattribute.h113 ResultCode GetAttributeUint32(const Attribute *attribute, AttributeKey key, uint32_t *retValue);
115 ResultCode GetAttributeInt32(const Attribute *attribute, AttributeKey key, int32_t *retValue);
117 ResultCode GetAttributeUint64(const Attribute *attribute, AttributeKey key, uint64_t *retValue);

1234