/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_ByteArrayBCD.java | 70 protected void shiftLeft(int numDigits) { in shiftLeft() argument 71 ensureCapacity(precision + numDigits); in shiftLeft() 72 int i = precision + numDigits - 1; in shiftLeft() 73 for (; i >= numDigits; i--) { in shiftLeft() 74 bcd[i] = bcd[i - numDigits]; in shiftLeft() 79 scale -= numDigits; in shiftLeft() 80 precision += numDigits; in shiftLeft() 84 protected void shiftRight(int numDigits) { in shiftRight() argument 86 for (; i < precision - numDigits; i++) { in shiftRight() 87 bcd[i] = bcd[i + numDigits]; in shiftRight() [all …]
|
D | DecimalQuantity_64BitBCD.java | 70 protected void shiftLeft(int numDigits) { 71 assert precision + numDigits <= 16; 72 bcd <<= (numDigits * 4); 73 scale -= numDigits; 74 precision += numDigits; 78 protected void shiftRight(int numDigits) { 79 bcd >>>= (numDigits * 4); 80 scale += numDigits; 81 precision -= numDigits; 85 protected void popFromLeft(int numDigits) { [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
D | DecimalQuantity_ByteArrayBCD.java | 73 protected void shiftLeft(int numDigits) { in shiftLeft() argument 74 ensureCapacity(precision + numDigits); in shiftLeft() 75 int i = precision + numDigits - 1; in shiftLeft() 76 for (; i >= numDigits; i--) { in shiftLeft() 77 bcd[i] = bcd[i - numDigits]; in shiftLeft() 82 scale -= numDigits; in shiftLeft() 83 precision += numDigits; in shiftLeft() 87 protected void shiftRight(int numDigits) { in shiftRight() argument 89 for (; i < precision - numDigits; i++) { in shiftRight() 90 bcd[i] = bcd[i + numDigits]; in shiftRight() [all …]
|
D | DecimalQuantity_64BitBCD.java | 73 protected void shiftLeft(int numDigits) { 74 assert precision + numDigits <= 16; 75 bcd <<= (numDigits * 4); 76 scale -= numDigits; 77 precision += numDigits; 81 protected void shiftRight(int numDigits) { 82 bcd >>>= (numDigits * 4); 83 scale += numDigits; 84 precision -= numDigits; 88 protected void popFromLeft(int numDigits) { [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 121 protected void shiftLeft(int numDigits) { in shiftLeft() argument 122 if (!usingBytes && precision + numDigits > 16) { in shiftLeft() 126 ensureCapacity(precision + numDigits); in shiftLeft() 127 System.arraycopy(bcdBytes, 0, bcdBytes, numDigits, precision); in shiftLeft() 128 Arrays.fill(bcdBytes, 0, numDigits, (byte) 0); in shiftLeft() 130 bcdLong <<= (numDigits * 4); in shiftLeft() 132 scale -= numDigits; in shiftLeft() 133 precision += numDigits; in shiftLeft() 137 protected void shiftRight(int numDigits) { in shiftRight() argument 140 for (; i < precision - numDigits; i++) { in shiftRight() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 123 protected void shiftLeft(int numDigits) { in shiftLeft() argument 124 if (!usingBytes && precision + numDigits > 16) { in shiftLeft() 128 ensureCapacity(precision + numDigits); in shiftLeft() 129 System.arraycopy(bcdBytes, 0, bcdBytes, numDigits, precision); in shiftLeft() 130 Arrays.fill(bcdBytes, 0, numDigits, (byte) 0); in shiftLeft() 132 bcdLong <<= (numDigits * 4); in shiftLeft() 134 scale -= numDigits; in shiftLeft() 135 precision += numDigits; in shiftLeft() 139 protected void shiftRight(int numDigits) { in shiftRight() argument 142 for (; i < precision - numDigits; i++) { in shiftRight() [all …]
|
/external/lzma/CPP/Windows/ |
D | PropVariantConv.cpp | 63 unsigned numDigits = 7; in ConvertUtcFileTimeToString() local 65 for (unsigned i = numDigits; i != 0;) in ConvertUtcFileTimeToString() 70 if (numDigits > (unsigned)level) in ConvertUtcFileTimeToString() 71 numDigits = (unsigned)level; in ConvertUtcFileTimeToString() 72 s += numDigits; in ConvertUtcFileTimeToString()
|
/external/icu/icu4c/source/i18n/ |
D | number_decimalquantity.cpp | 1006 void DecimalQuantity::shiftLeft(int32_t numDigits) { in shiftLeft() argument 1007 if (!usingBytes && precision + numDigits > 16) { in shiftLeft() 1011 ensureCapacity(precision + numDigits); in shiftLeft() 1012 uprv_memmove(fBCD.bcdBytes.ptr + numDigits, fBCD.bcdBytes.ptr, precision); in shiftLeft() 1013 uprv_memset(fBCD.bcdBytes.ptr, 0, numDigits); in shiftLeft() 1015 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft() 1017 scale -= numDigits; in shiftLeft() 1018 precision += numDigits; in shiftLeft() 1021 void DecimalQuantity::shiftRight(int32_t numDigits) { in shiftRight() argument 1024 for (; i < precision - numDigits; i++) { in shiftRight() [all …]
|
D | number_decimalquantity.h | 446 void shiftLeft(int32_t numDigits); 454 void shiftRight(int32_t numDigits); 462 void popFromLeft(int32_t numDigits);
|
D | tzfmt.cpp | 1936 int32_t numDigits = 0; in parseAbuttingOffsetFields() local 1944 numDigits++; in parseAbuttingOffsetFields() 1947 if (numDigits == 0) { in parseAbuttingOffsetFields() 1953 while (numDigits > 0) { in parseAbuttingOffsetFields() 1958 U_ASSERT(numDigits > 0 && numDigits <= MAX_OFFSET_DIGITS); in parseAbuttingOffsetFields() 1959 switch (numDigits) { in parseAbuttingOffsetFields() 1988 parsedLen = parsed[numDigits - 1]; in parseAbuttingOffsetFields() 1991 numDigits--; in parseAbuttingOffsetFields() 2110 int32_t numDigits = 0; in parseOffsetFieldWithLocalizedDigits() local 2114 while (idx < text.length() && numDigits < maxDigits) { in parseOffsetFieldWithLocalizedDigits() [all …]
|
D | winnmfmt.cpp | 338 UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appendTo, const wchar_t … in format() argument 402 formatInfo.currency.NumDigits = (UINT) numDigits; in format() 424 formatInfo.number.NumDigits = (UINT) numDigits; in format()
|
D | winnmfmt.h | 150 …UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, const wchar_t *format, ...) cons…
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VersionInfo.java | 651 int numDigits = maxDigits; in getVersionString() local 652 while (numDigits > minDigits) { in getVersionString() 653 if (digits[numDigits - 1] != 0) { in getVersionString() 656 numDigits--; in getVersionString() 661 for (int i = 1; i < numDigits; i++) { in getVersionString()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | VersionInfo.java | 607 int numDigits = maxDigits; in getVersionString() local 608 while (numDigits > minDigits) { in getVersionString() 609 if (digits[numDigits - 1] != 0) { in getVersionString() 612 numDigits--; in getVersionString() 617 for (int i = 1; i < numDigits; i++) { in getVersionString()
|
/external/lzma/C/Util/7z/ |
D | 7zMain.c | 259 static void UInt64ToStr(UInt64 value, char *s, int numDigits) in UInt64ToStr() argument 270 for (numDigits -= pos; numDigits > 0; numDigits--) in UInt64ToStr() 279 static char *UIntToStr(char *s, unsigned value, int numDigits) in UIntToStr() argument 287 for (numDigits -= pos; numDigits > 0; numDigits--) in UIntToStr()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeZoneFormat.java | 2096 int numDigits = n >= 10 ? 2 : 1; 2097 for (int i = 0; i < minDigits - numDigits; i++) { 2100 if (numDigits == 2) { 2520 int numDigits = 0; 2528 numDigits++; 2531 if (numDigits == 0) { 2537 while (numDigits > 0) { 2542 assert(numDigits > 0 && numDigits <= 6); 2543 switch (numDigits) { 2572 parsedLen[0] = parsed[numDigits - 1]; [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeZoneFormat.java | 2166 int numDigits = n >= 10 ? 2 : 1; 2167 for (int i = 0; i < minDigits - numDigits; i++) { 2170 if (numDigits == 2) { 2590 int numDigits = 0; 2598 numDigits++; 2601 if (numDigits == 0) { 2607 while (numDigits > 0) { 2612 assert(numDigits > 0 && numDigits <= 6); 2613 switch (numDigits) { 2642 parsedLen[0] = parsed[numDigits - 1]; [all …]
|
/external/icu/libicu/cts_headers/ |
D | number_decimalquantity.h | 446 void shiftLeft(int32_t numDigits); 454 void shiftRight(int32_t numDigits); 462 void popFromLeft(int32_t numDigits);
|
D | winnmfmt.h | 150 …UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, const wchar_t *format, ...) cons…
|
/external/lzma/CPP/7zip/Common/ |
D | MethodProps.cpp | 106 unsigned numDigits = (unsigned)(end - s.Ptr()); in StringToDictSize() local 107 if (numDigits == 0 || s.Len() > numDigits + 1) in StringToDictSize() 110 if (s.Len() == numDigits) in StringToDictSize() 123 switch (MyCharLower_Ascii(s[numDigits])) in StringToDictSize()
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCoderMatrixUtil.cpp | 88 int32_t numDigits = 0; in FindMSBSet() local 91 ++numDigits; in FindMSBSet() 93 return numDigits; in FindMSBSet()
|
/external/deqp/framework/common/ |
D | tcuFloatFormat.cpp | 243 const int numDigits = (m_fractionBits + 3) / 4; in floatToHex() local 244 const deUint64 aligned = fraction << (numDigits * 4 - m_fractionBits); in floatToHex() 249 << std::hex << std::setw(numDigits) << std::setfill('0') << aligned in floatToHex()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GeneratePluralList.java | 142 private void getExamples(String locale, Map<String, List<Integer>> integerMap, int numDigits) { in getExamples() argument 147 int limit = (int) Math.pow(10, numDigits); in getExamples() 156 format.setMinimumIntegerDigits(numDigits); in getExamples()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 1051 int numDigits = 0; in scan() local 1065 numDigits++; in scan() 1068 if (numDigits == 0) { in scan() 1083 int numDigits = 1; in scan() local 1085 while (numDigits < 3) { in scan() 1093 numDigits++; in scan()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 1051 int numDigits = 0; in scan() local 1065 numDigits++; in scan() 1068 if (numDigits == 0) { in scan() 1083 int numDigits = 1; in scan() local 1085 while (numDigits < 3) { in scan() 1093 numDigits++; in scan()
|