Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVersionInfo.java611 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
612 if (minDigits < 1 || maxDigits < 1 in getVersionString()
613 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
623 int numDigits = maxDigits; in getVersionString()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DUnescapeTransliterator.java156 int maxDigits = spec[ipat++]; in handleTransliterate() local
202 if (++digitCount == maxDigits) { in handleTransliterate()
/external/icu/icu4c/source/i18n/
Dunesctrn.cpp189 int32_t maxDigits = spec[ipat++]; in handleTransliterate() local
235 if (++digitCount == maxDigits) { in handleTransliterate()
Dtzfmt.cpp1866 uint8_t maxDigits = forceSingleHourDigit ? 1 : 2; in parseOffsetFieldsWithPattern() local
1867 … offsetH = parseOffsetFieldWithLocalizedDigits(text, idx, 1, maxDigits, 0, MAX_OFFSET_HOUR, len); in parseOffsetFieldsWithPattern()
2072 …ts(const UnicodeString& text, int32_t start, uint8_t minDigits, uint8_t maxDigits, uint16_t minVal… in parseOffsetFieldWithLocalizedDigits() argument
2080 while (idx < text.length() && numDigits < maxDigits) { in parseOffsetFieldWithLocalizedDigits()
2180 int32_t maxDigits = 2 * (maxFields + 1); in parseAbuttingAsciiOffsetFields() local
2182 U_ASSERT(maxDigits <= MAX_OFFSET_DIGITS); in parseAbuttingAsciiOffsetFields()
2187 while (numDigits < maxDigits && idx < text.length()) { in parseAbuttingAsciiOffsetFields()
Dsmpdtfmt.cpp1888 int32_t value, int32_t minDigits, int32_t maxDigits) const in zeroPaddingNumber()
1894 currentNumberFormat->setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
3363 int32_t maxDigits, in parseInt() argument
3379 if (maxDigits > 0) { in parseInt()
3383 if (nDigits > maxDigits) { in parseInt()
3385 nDigits -= maxDigits; in parseInt()
3390 pos.setIndex(oldPos + maxDigits); in parseInt()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2038 int minDigits, int maxDigits) { in zeroPaddingNumber() argument
2043 fastZeroPaddingNumber(buf, value, minDigits, maxDigits); in zeroPaddingNumber()
2046 nf.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
2109 private void fastZeroPaddingNumber(StringBuffer buf, int value, int minDigits, int maxDigits) { in fastZeroPaddingNumber() argument
2110 int limit = decimalBuf.length < maxDigits ? decimalBuf.length : maxDigits; in fastZeroPaddingNumber()
2138 protected String zeroPaddingNumber(long value, int minDigits, int maxDigits) in zeroPaddingNumber() argument
2141 numberFormat.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
3410 int maxDigits, in parseInt() argument
3436 if (maxDigits > 0) { in parseInt()
3440 if (nDigits > maxDigits) { in parseInt()
[all …]
DTimeZoneFormat.java2408 int maxDigits = forceSingleHourDigit ? 1 : 2;
2409 …offsetH = parseOffsetFieldWithLocalizedDigits(text, idx, 1, maxDigits, 0, MAX_OFFSET_HOUR, tmpPars…
2642 …ivate int parseOffsetFieldWithLocalizedDigits(String text, int start, int minDigits, int maxDigits,
2651 while (idx < text.length() && numDigits < maxDigits) {
2819 int maxDigits = 2 * (maxFields.ordinal() + 1);
2821 int[] digits = new int[maxDigits];
/external/icu/icu4c/source/i18n/unicode/
Dsmpdtfmt.h1285 int32_t maxDigits) const;
1414 int32_t maxDigits,
Dtzfmt.h964 … uint8_t minDigits, uint8_t maxDigits, uint16_t minVal, uint16_t maxVal, int32_t& parsedLen) const;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...