Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/utils/
H A Dlog_utils.cpp362 static string Num2Str(T num, Radix radix) in Num2Str() argument
366 if (radix == Radix::RADIX_HEX) { in Num2Str()
374 static void Str2Num(const string& str, T& num, Radix radix) in Str2Num() argument
379 if (radix == Radix::RADIX_HEX) { in Str2Num()
/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/featured/
H A Dhiview_log.c550 unsigned int radix; in HiLogSecOutputS() local
986 radix = 16; /* The radix number of 'x' or 'X' is 16 */ in HiLogSecOutputS()
1015 radix = 10; /* The radix number of 'u' is 10 */ in HiLogSecOutputS()
1019 radix = 8; /* The radix number of 'o' is 8 */ in HiLogSecOutputS()
1153 switch (radix) { in HiLogSecOutputS()
1168 switch (radix) { in HiLogSecOutputS()
1203 … (SecUnsignedInt32)number, (SecUnsignedInt32)radix, &quotientHigh, &quotientLow, in HiLogSecOutputS()
1214 switch (radix) { in HiLogSecOutputS()
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/
H A Djs_url.cpp516 bool IsRadix(std::string num, std::string radix) in IsRadix() argument
520 if (radix.find(num[i]) == std::string::npos) { in IsRadix()
527 bool IsNumber(std::string num, int &radix) in IsNumber() argument
531 radix = 16; // 16:hex in IsNumber()
538 radix = 8; // 8:octal in IsNumber()
545 radix = 10; // 10:decimal in IsNumber()
551 std::string BinaryConversion(std::string num, int radix) in BinaryConversion() argument
554 if (radix == 16) { // 16:hex in BinaryConversion()
563 } else if (radix == 8) { // 8:octal in BinaryConversion()
594 int radix = 0; in RemovalIpv4() local
[all …]
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
H A Doutput_p.inl416 unsigned int radix; local
874 radix = 16;
904 radix = 10;
908 radix = 8;
1051 switch (radix) {
1066 switch (radix) {
1104 … (SecUnsignedInt32)radix, &quotientHigh, &quotientLow, &digit)) {
1114 switch (radix) {