Home
last modified time | relevance | path

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

/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_utils.cpp355 enum class Radix { enum
360 static string Num2Str(T num, Radix radix) in Num2Str()
364 if (radix == Radix::RADIX_HEX) { in Num2Str()
372 static void Str2Num(const string& str, T& num, Radix radix) in Str2Num()
377 if (radix == Radix::RADIX_HEX) { in Str2Num()
388 return Num2Str(i, Radix::RADIX_DEC); in Uint2DecStr()
394 Str2Num(str, i, Radix::RADIX_DEC); in DecStr2Uint()
400 return Num2Str(i, Radix::RADIX_HEX); in Uint2HexStr()
406 Str2Num(str, i, Radix::RADIX_HEX); in HexStr2Uint()