Home
last modified time | relevance | path

Searched refs:StrToNum (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dcommon_util.cpp33 template <typename T> bool CommonUtil::StrToNum(const std::string &sString, T &tX) in StrToNum() function in OHOS::HiviewDFX::UCollectUtil::CommonUtil
51 StrToNum(valueStr, value); in ParseTypeAndValue()
54 StrToNum(valueStr, value); in ParseTypeAndValue()
H A Dmemory_collector_impl.cpp305 if (!CommonUtil::StrToNum(content, memory.adj)) { in InitAdjOfProcessMemory()
/ohos5.0/base/hiviewdfx/hitrace/cmd/src/
H A Dhitrace_cmd.cpp278 inline bool StrToNum(const std::string& sString, T &tX) in StrToNum() function
316 if (!StrToNum(optarg, bufferSizeKB)) { in ParseLongOpt()
336 if (!StrToNum(optarg, g_traceArgs.duration)) { in ParseLongOpt()
379 if (!StrToNum(optarg, fileSizeKB)) { in ParseLongOpt()
402 if (!StrToNum(optarg, bufferSizeKB)) { in ParseOpt()
420 if (!StrToNum(optarg, g_traceArgs.duration)) { in ParseOpt()
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility/
H A Dcommon_util.h43 static bool StrToNum(const std::string& sString, T &tX);