Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/libpandabase/utils/
Dutils.h31 constexpr uint32_t BASE10 = 10; in HexValue() local
35 if (static_cast<unsigned>(c) < BASE10) { in HexValue()
40 if (static_cast<unsigned>(c) < (BASE16 - BASE10)) { in HexValue()
41 return c + BASE10; in HexValue()
Dstring_helpers.h82 constexpr size_t BASE10 = 10; variable
84 int base = (str[0] == '0' && (str[1] == 'x' || str[1] == 'X')) ? BASE16 : BASE10;