Searched refs:versionStr (Results 1 – 3 of 3) sorted by relevance
110 char versionStr[TMP_VERSION_STR_LEN] = { 0 }; in AddSingleVersionToJson() local111 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() local135 if (versionStr == NULL) { in GetSingleVersionFromJson()140 int32_t ret = StringToVersion(versionStr, version); in GetSingleVersionFromJson()
149 std::optional<string> versionStr = root[JSON_NODE_VERSION].As<string>(); in ParseModuleInfo() local150 if (!versionStr.has_value()) { in ParseModuleInfo()155 SplitStr(versionStr.value(), VERSION_DELIMITER, versionVec); in ParseModuleInfo()157 LOG(ERROR) << "invalid version " << versionStr.value(); in ParseModuleInfo()
370 char *versionStr = PackJsonToString(version); in FillExtraData() local371 if (versionStr == NULL) { in FillExtraData()375 uint32_t versionStrLength = HcStrlen(versionStr) + 1; in FillExtraData()384 versionStr, versionStrLength); in FillExtraData()392 FreeJsonString(versionStr); in FillExtraData()