Home
last modified time | relevance | path

Searched refs:String2Int (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/update/updater/services/applypatch/
H A Dtransfer_manager.cpp63 transferParams_->version = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
64 transferParams_->blockCount = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
65 transferParams_->maxEntries = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
66 transferParams_->maxBlocks = Utils::String2Int<size_t>(*ct++, Utils::N_DEC); in CommandsParser()
H A Dcommand_process.cpp132 size_t srcBlockSize = String2Int<size_t>(blockLen, N_DEC); in LoadTarget()
167 size_t offset = Utils::String2Int<size_t>(params.GetArgumentByPos(pos++), Utils::N_DEC); in Execute()
168 … size_t patchLength = Utils::String2Int<size_t>(params.GetArgumentByPos(pos++), Utils::N_DEC); in Execute()
H A Dblock_set.cpp102 blockPairSize = String2Int<unsigned long long int>(*bp, N_DEC); in ParserAndInsert()
110 size_t first = String2Int<size_t>(*bp++, N_DEC); in ParserAndInsert()
111 size_t second = String2Int<size_t>(*bp, N_DEC); in ParserAndInsert()
/ohos5.0/base/update/updater/test/unittest/utils/
H A Dutils_unittest.cpp71 int output = Utils::String2Int<int>(input, 10);
74 output = Utils::String2Int<int>(input, 10);
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dcharger_animation.cpp44 T String2Int(const std::string& str, int base = N_HEX) in String2Int() function
63 …uint8_t ret = (startPos > hexColor.size()) ? 0 : String2Int<uint8_t>(hexColor.substr(startPos, wid… in StrToColor()
/ohos5.0/base/update/updater/test/fuzztest/updaterutils_fuzzer/
H A Dupdater_utils_fuzzer.cpp72 Utils::String2Int<int>("", 10); // 10 : size in TestString2Int()
73 Utils::String2Int<int>("0x01", 10); // 10 : size in TestString2Int()
/ohos5.0/base/update/updater/services/ui/view/
H A Dview_api.cpp76 int reset = Utils::String2Int<int>(hexColor.substr(startPos, width)); in StrToColor()
/ohos5.0/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_update_verify.cpp50 int hmpApiVersion = Utils::String2Int<int>(apiVersion, Utils::N_DEC); in CheckApiVersion()
H A Dmodule_file.cpp133 versionInfo.hotApply = Utils::String2Int<int>(hotApply.value(), Utils::N_DEC); in ParseHmpVersionInfo()
141 versionInfo.apiVersion = Utils::String2Int<int>(apiVersion.value(), Utils::N_DEC); in ParseHmpVersionInfo()
H A Dmodule_utils.cpp331 return Utils::String2Int<int>(apiVersion, Utils::N_DEC); in GetDeviceApiVersion()
/ohos5.0/base/update/updater/utils/include/
H A Dutils.h41 T String2Int(const std::string &str, int base = N_HEX)
/ohos5.0/base/update/updater/services/
H A Dupdater_main.cpp55 using Utils::String2Int;