/external/deqp/framework/common/ |
tcuFormatUtil.hpp | 38 template <size_t NumDigits> 51 DE_STATIC_ASSERT(0 < NumDigits && NumDigits <= 16); 53 const char longFmt[] = {'0', 'x', '%', '0', '0' + NumDigits/10, '0' + NumDigits%10, 'l', 'l', 'x', 0}; 54 const char shortFmt[] = {'0', 'x', '%', '0', '0' + NumDigits, 'l', 'l', 'x', 0}; 57 deSprintf(buf, sizeof(buf), NumDigits > 9 ? longFmt : shortFmt, value); 66 template <size_t NumDigits> 67 std::ostream& operator<< (std::ostream& stream, tcu::Format::Hex<NumDigits> hex) 248 template <size_t NumDigits, typename T [all...] |
tcuFloatFormat.cpp | 243 const int numDigits = (m_fractionBits + 3) / 4; 244 const deUint64 aligned = fraction << (numDigits * 4 - m_fractionBits); 249 << std::hex << std::setw(numDigits) << std::setfill('0') << aligned
|
/external/icu/icu4c/source/i18n/ |
winnmfmt.cpp | 83 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 110 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 245 UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appendTo, const wchar_t *fmt, ...) const 302 formatInfo.currency.NumDigits = (UINT) numDigits; 324 formatInfo.number.NumDigits = (UINT) numDigits;
|
tzfmt.cpp | [all...] |
winnmfmt.h | 148 UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, const wchar_t *format, ...) const;
|
digitlst.cpp | 786 int32_t numDigits = source.length(); 787 if (numDigits > fContext.digits) { 789 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity()); 795 fContext.digits = numDigits; [all...] |
/external/lzma/CPP/7zip/Common/ |
MethodProps.cpp | 97 unsigned numDigits = (unsigned)(end - s);
98 if (numDigits == 0 || s.Len() > numDigits + 1)
101 if (s.Len() == numDigits)
109 switch (MyCharLower_Ascii(s[numDigits]))
|
/device/google/contexthub/util/common/ |
JSONObject.cpp | 35 static ssize_t parseInt32(const char *data, size_t numDigits, int32_t *out) { 37 for (size_t i = 0; i < numDigits; ++i) { 255 size_t numDigits = offset - firstDigitOffset; 256 if (numDigits > 1 && data[firstDigitOffset] == '0') { 310 if (parseInt32(&data[firstDigitOffset], numDigits, &x) != 0) { 317 if (parseInt32(&data[firstDigitOffset], numDigits, &mantissa) != 0) {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
TimeZoneFormat.java | [all...] |
DigitList.java | 256 int numDigits = count; 261 numDigits -= numShift; 267 StringBuilder significantDigits = new StringBuilder(numDigits + 1); 271 for (int i = 0; i < numDigits; i++) { 302 int numDigits = count; 307 numDigits -= numShift; 313 StringBuilder significantDigits = new StringBuilder(numDigits + 1); 317 for (int i = 0; i < numDigits; i++) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeZoneFormat.java | [all...] |
DigitList.java | 255 int numDigits = count; 260 numDigits -= numShift; 266 StringBuilder significantDigits = new StringBuilder(numDigits + 1); 270 for (int i = 0; i < numDigits; i++) { 301 int numDigits = count; 306 numDigits -= numShift; 312 StringBuilder significantDigits = new StringBuilder(numDigits + 1); 316 for (int i = 0; i < numDigits; i++) { [all...] |
/external/lzma/C/Util/7z/ |
7zMain.c | 220 static char *UIntToStr(char *s, unsigned value, int numDigits)
227 for (numDigits -= pos; numDigits > 0; numDigits--)
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
VersionInfo.java | 594 int numDigits = maxDigits; 595 while (numDigits > minDigits) { 596 if (digits[numDigits - 1] != 0) { 599 numDigits--; 604 for (int i = 1; i < numDigits; i++) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
VersionInfo.java | 630 int numDigits = maxDigits; 631 while (numDigits > minDigits) { 632 if (digits[numDigits - 1] != 0) { 635 numDigits--; 640 for (int i = 1; i < numDigits; i++) {
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRCoderMatrixUtil.cpp | 467 int32_t numDigits = 0;
470 ++numDigits;
472 return numDigits;
|
/frameworks/base/tools/aapt2/util/ |
Util.cpp | 213 size_t numDigits = consumeDigits(c, end); 214 if (numDigits > 0) { 215 c += numDigits;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winnls.h | 514 UINT NumDigits; 523 UINT NumDigits; 535 UINT NumDigits; 546 UINT NumDigits; [all...] |
/external/clang/lib/Lex/ |
LiteralSupport.cpp | 173 unsigned NumDigits = 0; 177 ++NumDigits; 178 } while (ThisTokBuf != ThisTokEnd && NumDigits < 3 && 882 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { 885 return NumDigits <= 64; 887 return NumDigits <= 64 / 3; // Digits are groups of 3 bits. 889 return NumDigits <= 19; // floor(log10(2^64)) 891 return NumDigits <= 64 / 4; // Digits are groups of 4 bits. 907 const unsigned NumDigits = SuffixBegin - DigitsBegin; 908 if (alwaysFitsInto64Bits(radix, NumDigits)) { [all...] |
/external/tpm2/ |
CryptoEngine.h | 24 typedef UINT32 NUMDIGITS; // When a size is a number of "digits"
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberUtils.java | 734 * Returns the last numDigits of the reversed phone number 738 internalGetStrippedReversed(String np, int numDigits) { 741 StringBuilder ret = new StringBuilder(numDigits); 745 ; i >= 0 && (s - i) <= numDigits ; i-- [all...] |
/external/icu/icu4c/source/test/intltest/ |
tzfmttst.cpp | 295 int32_t numDigits = 0; 298 numDigits++; 301 isOffsetFormat = (numDigits > 0); [all...] |
/external/selinux/policycoreutils/mcstrans/src/ |
mcstrans.c | 169 numdigits(unsigned int n) function 190 raw += numdigits(low) + 1; 195 raw += numdigits(high) + 1; 234 raw += numdigits(mls->sens) + 1; [all...] |
/external/lzma/CPP/7zip/UI/Console/ |
Main.cpp | 293 static void PrintNum(UInt64 val, unsigned numDigits, char c = ' ')
299 for (; len < numDigits; len++)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
TimeZoneFormatTest.java | 243 int numDigits = 0; 246 numDigits++; 249 isOffsetFormat = (numDigits > 0); [all...] |