Home
last modified time | relevance | path

Searched refs:versionVec (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_file.cpp159 std::vector<string> versionVec; in ParseSaVersion() local
160 SplitStr(versionStr, VERSION_DELIMITER, versionVec); in ParseSaVersion()
161 if (versionVec.size() != VERSION_VECTOR_SIZE) { in ParseSaVersion()
165 info.version.apiVersion = static_cast<uint32_t>(std::stoi(versionVec.at(API_VERSION_INDEX))); in ParseSaVersion()
166 info.version.versionCode = static_cast<uint32_t>(std::stoi(versionVec.at(VERSION_CODE_INDEX))); in ParseSaVersion()
167 … info.version.patchVersion = static_cast<uint32_t>(std::stoi(versionVec.at(PATCH_VERSION_INDEX))); in ParseSaVersion()
359 bool ParseVersion(const string &version, const string &split, std::vector<string> &versionVec) in ParseVersion() argument
366 versionVec.emplace_back(version.substr(0, index)); in ParseVersion()
374 versionVec.insert(versionVec.end(), tmpVersionVec.begin(), tmpVersionVec.end()); in ParseVersion()
/ohos5.0/base/update/sys_installer/services/module_update/util/include/
H A Dmodule_file.h42 …ersion(const std::string &version, const std::string &split, std::vector<std::string> &versionVec);