/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | net_diag_wrapper.cpp | 435 icmpRespInfo.bytes_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[bytesPos].str())); in ExtractIcmpSeqInfo() 438 icmpRespInfo.ttl_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[ttlPos].str())); in ExtractIcmpSeqInfo() 439 icmpRespInfo.costTime_ = CommonUtils::StrToUint(match[timePos].str()); in ExtractIcmpSeqInfo() 454 pingResult.recvCount_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[recvPos].str())); in ExtractPingStatistics() 479 routeTable.metric_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[metricPos].str())); in ExtractRouteTableInfo() 480 routeTable.ref_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[refPos].str())); in ExtractRouteTableInfo() 481 routeTable.use_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[usePos].str())); in ExtractRouteTableInfo() 513 socketInfo.inode_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[iNodePos].str())); in ExtractNetProtoSocketsInfo() 536 socketInfo.refCnt_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[refCntPos].str())); in ExtractUnixSocketsInfo() 540 socketInfo.inode_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[iNodePos].str())); in ExtractUnixSocketsInfo() [all …]
|
/ohos5.0/base/powermgr/thermal_manager/application/protector/src/policy/ |
H A D | thermal_kernel_config_file.cpp | 160 StringOperation::StrToUint(reinterpret_cast<char*>(xmlLevel), tziItem.level); in ParseSubNode() 169 StringOperation::StrToUint(reinterpret_cast<char*>(xmlValue), action.value); in ParseSubNode()
|
/ohos5.0/base/powermgr/thermal_manager/utils/native/include/ |
H A D | string_operation.h | 30 static bool StrToUint(const std::string& str, uint32_t& value);
|
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
H A D | thermal_config_base_info.cpp | 44 StringOperation::StrToUint(countIter->second, historyTempCount_); in SetHistoryTempCount()
|
H A D | thermal_srv_config_parser.cpp | 455 StringOperation::StrToUint(reinterpret_cast<char*>(xmlLevel), levelItem.level); in ParseLevelThreshold() 586 StringOperation::StrToUint(reinterpret_cast<char*>(xmlLevel), policyConfig.level); in ParsePolicyNode()
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_file.cpp | 191 uint32_t chainType = CommonUtils::StrToUint(firewallRulesItemStr); in ParseFirewallRule() 198 uint32_t deniedListNumber = CommonUtils::StrToUint(netDeniedListItemStr); in ParseFirewallRule() 206 uint32_t allowedListNumber = CommonUtils::StrToUint(netAllowedListItemStr); in ParseFirewallRule() 362 auto uidTemp = CommonUtils::StrToUint(netPolicy_.uidPolicies[i].uid.c_str()); in ArbitrationWritePolicyToFile()
|
H A D | net_policy_rule.cpp | 32 auto uid = CommonUtils::StrToUint(i.uid.c_str()); in Init() 33 auto policy = CommonUtils::StrToUint(i.policy.c_str()); in Init()
|
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_utils_test.cpp | 77 StringOperation::StrToUint("", val);
|
H A D | thermal_config_file_parser.cpp | 270 StringOperation::StrToUint(reinterpret_cast<char*>(xmlLevel), level); in ParsePolicyNode() 450 StringOperation::StrToUint(reinterpret_cast<char*>(xmlLevel), levelItem.level); in ParseSensorSubnodeInfo()
|
/ohos5.0/base/powermgr/thermal_manager/utils/native/src/ |
H A D | string_operation.cpp | 82 bool StringOperation::StrToUint(const std::string& str, uint32_t& value) in StrToUint() function in OHOS::PowerMgr::StringOperation
|
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/include/ |
H A D | netmanager_base_common_utils.h | 66 uint32_t StrToUint(const std::string &value, uint32_t defaultErr = 0);
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_proxy_tracker.cpp | 87 …(proxyPort.empty() || host.empty()) ? 0 : static_cast<uint16_t>(CommonUtils::StrToUint(proxyPort)); in ReadFromSettingsData()
|
/ohos5.0/foundation/communication/netmanager_base/test/netmanagerutils/unittest/netmanager_base_common_test/ |
H A D | ut_netmanager_base_common.cpp | 395 auto result = CommonUtils::StrToUint(testStr);
|
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/src/ |
H A D | netmanager_base_common_utils.cpp | 413 uint32_t StrToUint(const std::string &value, uint32_t defaultErr) in StrToUint() function
|
/ohos5.0/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | ethernet_configuration.cpp | 573 …uint32_t port = CommonUtils::StrToUint(fileContent.substr(pos, fileContent.find(WRAP, pos) - pos)); in ParserFileHttpProxy()
|