Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVersionInfo.java660 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
661 if (minDigits < 1 || maxDigits < 1 in getVersionString()
662 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
672 int numDigits = maxDigits; in getVersionString()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVersionInfo.java620 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
621 if (minDigits < 1 || maxDigits < 1 in getVersionString()
622 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
632 int numDigits = maxDigits; in getVersionString()
/external/icu/icu4c/source/i18n/
Dnumber_utils.cpp163 void DecNum::_setTo(const char* str, int32_t maxDigits, UErrorCode& status) { in _setTo() argument
164 if (maxDigits > kDefaultDigits) { in _setTo()
165 fData.resize(maxDigits, 0); in _setTo()
166 fContext.digits = maxDigits; in _setTo()
Dunesctrn.cpp191 int32_t maxDigits = spec[ipat++]; in handleTransliterate() local
237 if (++digitCount == maxDigits) { in handleTransliterate()
Dnumber_decnum.h67 void _setTo(const char* str, int32_t maxDigits, UErrorCode& status);
Dtzfmt.cpp1895 uint8_t maxDigits = forceSingleHourDigit ? 1 : 2; in parseOffsetFieldsWithPattern() local
1896 … offsetH = parseOffsetFieldWithLocalizedDigits(text, idx, 1, maxDigits, 0, MAX_OFFSET_HOUR, len); in parseOffsetFieldsWithPattern()
2101 …ts(const UnicodeString& text, int32_t start, uint8_t minDigits, uint8_t maxDigits, uint16_t minVal… in parseOffsetFieldWithLocalizedDigits() argument
2109 while (idx < text.length() && numDigits < maxDigits) { in parseOffsetFieldWithLocalizedDigits()
2209 int32_t maxDigits = 2 * (maxFields + 1); in parseAbuttingAsciiOffsetFields() local
2211 U_ASSERT(maxDigits <= MAX_OFFSET_DIGITS); in parseAbuttingAsciiOffsetFields()
2216 while (numDigits < maxDigits && idx < text.length()) { in parseAbuttingAsciiOffsetFields()
Dsmpdtfmt.cpp2051 int32_t value, int32_t minDigits, int32_t maxDigits) const in zeroPaddingNumber()
2057 if (maxDigits == 10) { in zeroPaddingNumber()
2067 } else if (maxDigits == 2) { in zeroPaddingNumber()
2099 nf->setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
3752 int32_t maxDigits, in parseInt() argument
3771 if (maxDigits > 0) { in parseInt()
3775 if (nDigits > maxDigits) { in parseInt()
3777 nDigits -= maxDigits; in parseInt()
3782 pos.setIndex(oldPos + maxDigits); in parseInt()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnescapeTransliterator.java167 int maxDigits = spec[ipat++]; in handleTransliterate() local
213 if (++digitCount == maxDigits) { in handleTransliterate()
DSimpleDateFormat.java2201 int minDigits, int maxDigits) { in zeroPaddingNumber() argument
2206 fastZeroPaddingNumber(buf, value, minDigits, maxDigits); in zeroPaddingNumber()
2209 nf.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
2280 private void fastZeroPaddingNumber(StringBuffer buf, int value, int minDigits, int maxDigits) { in fastZeroPaddingNumber() argument
2281 int limit = decimalBuf.length < maxDigits ? decimalBuf.length : maxDigits; in fastZeroPaddingNumber()
2308 protected String zeroPaddingNumber(long value, int minDigits, int maxDigits) in zeroPaddingNumber() argument
2311 numberFormat.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
3749 int maxDigits, in parseInt() argument
3775 if (maxDigits > 0) { in parseInt()
3779 if (nDigits > maxDigits) { in parseInt()
[all …]
DTimeZoneFormat.java2360 int maxDigits = forceSingleHourDigit ? 1 : 2;
2361 …offsetH = parseOffsetFieldWithLocalizedDigits(text, idx, 1, maxDigits, 0, MAX_OFFSET_HOUR, tmpPars…
2594 …ivate int parseOffsetFieldWithLocalizedDigits(String text, int start, int minDigits, int maxDigits,
2603 while (idx < text.length() && numDigits < maxDigits) {
2771 int maxDigits = 2 * (maxFields.ordinal() + 1);
2773 int[] digits = new int[maxDigits];
DDecimalFormat.java2011 public void setParseMaxDigits(int maxDigits) {} in setParseMaxDigits() argument
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DUnescapeTransliterator.java166 int maxDigits = spec[ipat++]; in handleTransliterate() local
212 if (++digitCount == maxDigits) { in handleTransliterate()
/external/icu/icu4c/source/i18n/unicode/
Dsmpdtfmt.h1294 int32_t maxDigits) const;
1431 int32_t maxDigits,
Dtzfmt.h963 … uint8_t minDigits, uint8_t maxDigits, uint16_t minVal, uint16_t maxVal, int32_t& parsedLen) const;
Dnumberformatter.h646 static inline SignificantDigitsPrecision maxDigits(int32_t a) { in maxDigits() function
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2210 int minDigits, int maxDigits) { in zeroPaddingNumber() argument
2215 fastZeroPaddingNumber(buf, value, minDigits, maxDigits); in zeroPaddingNumber()
2218 nf.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
2291 private void fastZeroPaddingNumber(StringBuffer buf, int value, int minDigits, int maxDigits) { in fastZeroPaddingNumber() argument
2292 int limit = decimalBuf.length < maxDigits ? decimalBuf.length : maxDigits; in fastZeroPaddingNumber()
2320 protected String zeroPaddingNumber(long value, int minDigits, int maxDigits) in zeroPaddingNumber() argument
2323 numberFormat.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
3765 int maxDigits, in parseInt() argument
3791 if (maxDigits > 0) { in parseInt()
3795 if (nDigits > maxDigits) { in parseInt()
[all …]
DTimeZoneFormat.java2430 int maxDigits = forceSingleHourDigit ? 1 : 2;
2431 …offsetH = parseOffsetFieldWithLocalizedDigits(text, idx, 1, maxDigits, 0, MAX_OFFSET_HOUR, tmpPars…
2664 …ivate int parseOffsetFieldWithLocalizedDigits(String text, int start, int minDigits, int maxDigits,
2673 while (idx < text.length() && numDigits < maxDigits) {
2841 int maxDigits = 2 * (maxFields.ordinal() + 1);
2843 int[] digits = new int[maxDigits];
DDecimalFormat.java2174 public void setParseMaxDigits(int maxDigits) {} in setParseMaxDigits() argument
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp174 int32_t maxDigits);
180 int32_t maxDigits,
2980 int32_t maxDigits, in verifyPositiveIntDigitFormatter() argument
2982 IntDigitCountRange range(minDigits, maxDigits); in verifyPositiveIntDigitFormatter()
3029 int32_t maxDigits) { in verifySmallIntFormatter() argument
3030 IntDigitCountRange range(minDigits, maxDigits); in verifySmallIntFormatter()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DPrecision.java295 public static Precision maxDigits(int a) { in maxDigits() method in Precision
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DPrecision.java304 public static Precision maxDigits(int a) { in maxDigits() method in Precision
/external/icu/icu4j/tools/build/
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz
Dicu4j62.api3.gz
Dicu4j63.api3.gz