Home
last modified time | relevance | path

Searched refs:getDigit (Results 1 – 25 of 55) sorted by relevance

123

/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDecimalFormatSymbolsTest.java82 checkEquivalence(jdkDecfs.getDigit(), icuDecfs.getDigit(), loc, "getDigit"); in TestICUEquivalent()
121 decfs.setDigit(decfsEnUS.getDigit()); in TestSetSymbols()
145 checkEquivalence(decfs.getDigit(), decfsEnUS.getDigit(), loc, "getDigit"); in TestSetSymbols()
167 if (jdkDecfs.getDigit() != icuDecfs.getDigit()) { in TestKeywords()
168 …AIL: Different decimal digit - via JDK: " + jdkDecfs.getDigit() + ", with ICU: " + icuDecfs.getDig… in TestKeywords()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DRangeSpecification.java81 masks[n] = (char) (1 << s.getDigit(n)); in from()
256 int loDigit = start.getDigit(n);
280 int hiDigit = end.getDigit(n);
311 while (--n > 0 && start.getDigit(n) == 0 && end.getDigit(n) == 9) {}
314 masks[n] = bitmaskUpFrom(start.getDigit(n)) & bitmaskDownFrom(end.getDigit(n));
324 masks[n] = 1 << s.getDigit(n);
359 while (--n >= 0 && s.getDigit(n) == digit) {}
445 if ((bitmasks.charAt(n) & (1 << digits.getDigit(n))) == 0) {
472 int d = s.getDigit(n);
498 d = s.getDigit(n);
[all …]
DDigitSequence.java228 public int getDigit(int n) { in getDigit() method in DigitSequence
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DDecimalFormatSymbolsICU.java72 public char getDigit() { in getDigit() method in DecimalFormatSymbolsICU
73 return fIcuDecfs.getDigit(); in getDigit()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
DDigitSequenceTest.java34 assertThrows(IndexOutOfBoundsException.class, () -> DigitSequence.empty().getDigit(0)); in testEmpty()
50 assertThat(s.getDigit(n)).isEqualTo(n); in testGetDigit()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java166 char digit = en.getDigit(); in TestSymbols()
168 if(fr.getDigit() != en.getDigit()) { in TestSymbols()
DIntlTestDecimalFormatSymbolsC.java80 char digit = en.getDigit(); in TestSymbols()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java163 char digit = en.getDigit(); in TestSymbols()
165 if(fr.getDigit() != en.getDigit()) { in TestSymbols()
DIntlTestDecimalFormatSymbolsC.java77 char digit = en.getDigit(); in TestSymbols()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalQuantity_AbstractBCD.java306 public byte getDigit(int magnitude) { in getDigit() method in DecimalQuantity_AbstractBCD
686 byte digit = getDigit(18 - p); in fitsInLong()
1145 if (getDigit(m) != _other.getDigit(m)) { in equals()
DDecimalQuantity.java195 public byte getDigit(int magnitude); in getDigit() method
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java318 public byte getDigit(int magnitude) { in getDigit() method in DecimalQuantity_AbstractBCD
690 byte digit = getDigit(18 - p); in fitsInLong()
1196 if (getDigit(m) != _other.getDigit(m)) { in equals()
DDecimalQuantity.java210 public byte getDigit(int magnitude); in getDigit() method
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java765 public byte getDigit(int magnitude) {
915 sb.append((char) ('0' + getDigit(p)));
921 sb.append((char) ('0' + getDigit(p)));
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java758 public byte getDigit(int magnitude) {
908 sb.append((char) ('0' + getDigit(p)));
914 sb.append((char) ('0' + getDigit(p)));
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_decimalquantity.cpp316 int8_t DecimalQuantity::getDigit(int32_t magnitude) const { in getDigit() function in DecimalQuantity
600 int8_t digit = getDigit(18 - p); in fitsInLong()
1321 if (getDigit(m) != other.getDigit(m)) { in operator ==()
Dnumber_decimalquantity.h262 int8_t getDigit(int32_t magnitude) const;
/third_party/node/deps/icu-small/source/i18n/
Dnumber_decimalquantity.cpp329 int8_t DecimalQuantity::getDigit(int32_t magnitude) const { in getDigit() function in DecimalQuantity
676 int8_t digit = getDigit(18 - p); in fitsInLong()
1441 if (getDigit(m) != other.getDigit(m)) { in operator ==()
Dnumber_decimalquantity.h281 int8_t getDigit(int32_t magnitude) const;
Dnumber_formatimpl.cpp612 int8_t nextDigit = quantity.getDigit(i); in writeIntegerDigits()
635 int8_t nextDigit = quantity.getDigit(-i - 1); in writeFractionDigits()
/third_party/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp329 int8_t DecimalQuantity::getDigit(int32_t magnitude) const { in getDigit() function in DecimalQuantity
676 int8_t digit = getDigit(18 - p); in fitsInLong()
1441 if (getDigit(m) != other.getDigit(m)) { in operator ==()
Dnumber_decimalquantity.h281 int8_t getDigit(int32_t magnitude) const;
Dnumber_formatimpl.cpp595 int8_t nextDigit = quantity.getDigit(i); in writeIntegerDigits()
615 int8_t nextDigit = quantity.getDigit(-i - 1); in writeFractionDigits()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberFormatterImpl.java476 byte nextDigit = quantity.getDigit(i); in writeIntegerDigits()
499 byte nextDigit = quantity.getDigit(-i - 1); in writeFractionDigits()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java585 byte nextDigit = quantity.getDigit(i); in writeIntegerDigits()
608 byte nextDigit = quantity.getDigit(-i - 1); in writeFractionDigits()

123