Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVersionInfo.java639 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
640 if (minDigits < 1 || maxDigits < 1 in getVersionString()
641 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
651 int numDigits = maxDigits; in getVersionString()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVersionInfo.java595 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
596 if (minDigits < 1 || maxDigits < 1 in getVersionString()
597 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
607 int numDigits = maxDigits; in getVersionString()
/external/llvm-project/flang/lib/Decimal/
Dbig-radix-floating-point.h64 static constexpr int maxDigits{3 - minLog2AnyBit / log10Radix};
183 for (int j{0}; j + remove < digits_ && (j + remove < maxDigits); ++j) { in RemoveLeastOrderZeroDigits()
327 if (digits_ == maxDigits && RemoveLeastOrderZeroDigits() == 0) { in RemoveLeastOrderZeroDigits()
352 Digit digit_[maxDigits]; // in little-endian order: digit_[0] is LSD in RemoveLeastOrderZeroDigits()
354 int digitLimit_{maxDigits}; // precision clamp in RemoveLeastOrderZeroDigits()
Dbinary-to-decimal.cpp81 std::size_t n, enum DecimalConversionFlags flags, int maxDigits) const { in ConvertToDecimal()
141 char *end{start + maxDigits}; in ConvertToDecimal()
142 if (maxDigits == 0) { in ConvertToDecimal()
Ddecimal-to-binary.cpp68 const char *limit{first + maxDigits * log10Radix + (point != nullptr)}; in ParseNumber()
/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.h77 void _setTo(const char* str, int32_t maxDigits, UErrorCode& status);
Dtzfmt.cpp1900 uint8_t maxDigits = forceSingleHourDigit ? 1 : 2; in parseOffsetFieldsWithPattern() local
1901 … offsetH = parseOffsetFieldWithLocalizedDigits(text, idx, 1, maxDigits, 0, MAX_OFFSET_HOUR, len); in parseOffsetFieldsWithPattern()
2106 …ts(const UnicodeString& text, int32_t start, uint8_t minDigits, uint8_t maxDigits, uint16_t minVal… in parseOffsetFieldWithLocalizedDigits() argument
2114 while (idx < text.length() && numDigits < maxDigits) { in parseOffsetFieldWithLocalizedDigits()
2214 int32_t maxDigits = 2 * (maxFields + 1); in parseAbuttingAsciiOffsetFields() local
2216 U_ASSERT(maxDigits <= MAX_OFFSET_DIGITS); in parseAbuttingAsciiOffsetFields()
2221 while (numDigits < maxDigits && idx < text.length()) { in parseAbuttingAsciiOffsetFields()
Dsmpdtfmt.cpp2139 int32_t value, int32_t minDigits, int32_t maxDigits) const in zeroPaddingNumber()
2145 if (maxDigits == 10) { in zeroPaddingNumber()
2155 } else if (maxDigits == 2) { in zeroPaddingNumber()
2187 nf->setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
3836 int32_t maxDigits, in parseInt() argument
3855 if (maxDigits > 0) { in parseInt()
3859 if (nDigits > maxDigits) { in parseInt()
3861 nDigits -= maxDigits; in parseInt()
3866 pos.setIndex(oldPos + maxDigits); in parseInt()
/external/llvm-project/flang/runtime/
Dedit-input.cpp266 static constexpr int maxDigits{ in EditCommonRealInput() local
268 static constexpr int bufferSize{maxDigits + 18}; in EditCommonRealInput()
271 int got{ScanRealInput(buffer, maxDigits + 2, io, edit, exponent)}; in EditCommonRealInput()
272 if (got >= maxDigits + 2) { in EditCommonRealInput()
280 bool hadExtra{got > maxDigits}; in EditCommonRealInput()
/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.java2235 int minDigits, int maxDigits) { in zeroPaddingNumber() argument
2240 fastZeroPaddingNumber(buf, value, minDigits, maxDigits); in zeroPaddingNumber()
2243 nf.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
2314 private void fastZeroPaddingNumber(StringBuffer buf, int value, int minDigits, int maxDigits) { in fastZeroPaddingNumber() argument
2315 int limit = decimalBuf.length < maxDigits ? decimalBuf.length : maxDigits; in fastZeroPaddingNumber()
2342 protected String zeroPaddingNumber(long value, int minDigits, int maxDigits) in zeroPaddingNumber() argument
2345 numberFormat.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
3786 int maxDigits, in parseInt() argument
3812 if (maxDigits > 0) { in parseInt()
3816 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.java2053 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/libicu/cts_headers/
Dnumber_decnum.h77 void _setTo(const char* str, int32_t maxDigits, UErrorCode& status);
/external/icu/icu4c/source/i18n/unicode/
Dsmpdtfmt.h1299 int32_t maxDigits) const;
1436 int32_t maxDigits,
Dtzfmt.h965 … uint8_t minDigits, uint8_t maxDigits, uint16_t minVal, uint16_t maxVal, int32_t& parsedLen) const;
/external/icu/libicu/cts_headers/unicode/
Dsmpdtfmt.h1299 int32_t maxDigits) const;
1436 int32_t maxDigits,
Dtzfmt.h965 … uint8_t minDigits, uint8_t maxDigits, uint16_t minVal, uint16_t maxVal, int32_t& parsedLen) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2246 int minDigits, int maxDigits) { in zeroPaddingNumber() argument
2251 fastZeroPaddingNumber(buf, value, minDigits, maxDigits); in zeroPaddingNumber()
2254 nf.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
2327 private void fastZeroPaddingNumber(StringBuffer buf, int value, int minDigits, int maxDigits) { in fastZeroPaddingNumber() argument
2328 int limit = decimalBuf.length < maxDigits ? decimalBuf.length : maxDigits; in fastZeroPaddingNumber()
2356 protected String zeroPaddingNumber(long value, int minDigits, int maxDigits) in zeroPaddingNumber() argument
2359 numberFormat.setMaximumIntegerDigits(maxDigits); in zeroPaddingNumber()
3804 int maxDigits, in parseInt() argument
3830 if (maxDigits > 0) { in parseInt()
3834 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.java2224 public void setParseMaxDigits(int maxDigits) {} in setParseMaxDigits() argument
/external/icu/icu4j/tools/build/
Dicu4j60.api3.gz

12