Searched refs:String2Int (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/base/update/updater/services/applypatch/ |
H A D | transfer_manager.cpp | 63 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 D | command_process.cpp | 132 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 D | block_set.cpp | 102 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 D | utils_unittest.cpp | 71 int output = Utils::String2Int<int>(input, 10); 74 output = Utils::String2Int<int>(input, 10);
|
/ohos5.0/base/powermgr/battery_manager/charger/src/ |
H A D | charger_animation.cpp | 44 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 D | updater_utils_fuzzer.cpp | 72 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 D | view_api.cpp | 76 int reset = Utils::String2Int<int>(hexColor.substr(startPos, width)); in StrToColor()
|
/ohos5.0/base/update/sys_installer/services/module_update/util/src/ |
H A D | module_update_verify.cpp | 50 int hmpApiVersion = Utils::String2Int<int>(apiVersion, Utils::N_DEC); in CheckApiVersion()
|
H A D | module_file.cpp | 133 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 D | module_utils.cpp | 331 return Utils::String2Int<int>(apiVersion, Utils::N_DEC); in GetDeviceApiVersion()
|
/ohos5.0/base/update/updater/utils/include/ |
H A D | utils.h | 41 T String2Int(const std::string &str, int base = N_HEX)
|
/ohos5.0/base/update/updater/services/ |
H A D | updater_main.cpp | 55 using Utils::String2Int;
|