Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuFormatUtil.hpp38 template <size_t NumDigits>
51 DE_STATIC_ASSERT(0 < NumDigits && NumDigits <= 16); in toString()
53 …const char longFmt[] = {'0', 'x', '%', '0', '0' + NumDigits/10, '0' + NumDigits%10, 'l', 'l', 'x',… in toString()
54 const char shortFmt[] = {'0', 'x', '%', '0', '0' + NumDigits, 'l', 'l', 'x', 0}; in toString()
57 deSprintf(buf, sizeof(buf), NumDigits > 9 ? longFmt : shortFmt, value); in toString()
66 template <size_t NumDigits>
67 std::ostream& operator<< (std::ostream& stream, tcu::Format::Hex<NumDigits> hex) in operator <<()
248 template <size_t NumDigits, typename T>
249 inline Format::Hex<NumDigits> toHex (T value) in toHex()
251 return Format::Hex<NumDigits>(toUint64(value)); in toHex()
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp85 … GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); in getNumberFormat()
112 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UIN… in getCurrencyFormat()
304 formatInfo.currency.NumDigits = (UINT) numDigits; in format()
326 formatInfo.number.NumDigits = (UINT) numDigits; in format()
/external/clang/lib/Lex/
DLiteralSupport.cpp173 unsigned NumDigits = 0; in ProcessCharEscape() local
177 ++NumDigits; in ProcessCharEscape()
178 } while (ThisTokBuf != ThisTokEnd && NumDigits < 3 && in ProcessCharEscape()
895 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { in alwaysFitsInto64Bits() argument
898 return NumDigits <= 64; in alwaysFitsInto64Bits()
900 return NumDigits <= 64 / 3; // Digits are groups of 3 bits. in alwaysFitsInto64Bits()
902 return NumDigits <= 19; // floor(log10(2^64)) in alwaysFitsInto64Bits()
904 return NumDigits <= 64 / 4; // Digits are groups of 4 bits. in alwaysFitsInto64Bits()
920 const unsigned NumDigits = SuffixBegin - DigitsBegin; in GetIntegerValue() local
921 if (alwaysFitsInto64Bits(radix, NumDigits)) { in GetIntegerValue()