Searched refs:StrToNum (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | common_util.cpp | 33 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 D | memory_collector_impl.cpp | 305 if (!CommonUtil::StrToNum(content, memory.adj)) { in InitAdjOfProcessMemory()
|
/ohos5.0/base/hiviewdfx/hitrace/cmd/src/ |
H A D | hitrace_cmd.cpp | 278 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 D | common_util.h | 43 static bool StrToNum(const std::string& sString, T &tX);
|