Home
last modified time | relevance | path

Searched refs:versionStr (Results 1 – 3 of 3) sorted by relevance

/base/security/device_auth/services/frameworks/src/module/
Dversion_util.c110 char versionStr[TMP_VERSION_STR_LEN] = { 0 }; in AddSingleVersionToJson() local
111 int32_t ret = VersionToString(version, versionStr, TMP_VERSION_STR_LEN); in AddSingleVersionToJson()
122 if (AddStringToJson(sendToPeer, FIELD_GROUP_AND_MODULE_VERSION, versionStr) != HC_SUCCESS) { in AddSingleVersionToJson()
134 const char *versionStr = GetStringFromJson(jsonObj, FIELD_GROUP_AND_MODULE_VERSION); in GetSingleVersionFromJson() local
135 if (versionStr == NULL) { in GetSingleVersionFromJson()
140 int32_t ret = StringToVersion(versionStr, version); in GetSingleVersionFromJson()
/base/update/sys_installer/services/module_update/util/src/
Dmodule_file.cpp149 std::optional<string> versionStr = root[JSON_NODE_VERSION].As<string>(); in ParseModuleInfo() local
150 if (!versionStr.has_value()) { in ParseModuleInfo()
155 SplitStr(versionStr.value(), VERSION_DELIMITER, versionVec); in ParseModuleInfo()
157 LOG(ERROR) << "invalid version " << versionStr.value(); in ParseModuleInfo()
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_session.c370 char *versionStr = PackJsonToString(version); in FillExtraData() local
371 if (versionStr == NULL) { in FillExtraData()
375 uint32_t versionStrLength = HcStrlen(versionStr) + 1; in FillExtraData()
384 versionStr, versionStrLength); in FillExtraData()
392 FreeJsonString(versionStr); in FillExtraData()