Home
last modified time | relevance | path

Searched refs:maxdigits (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DPeriodFormatterData.java413 public void appendInteger(int num, int mindigits, int maxdigits, in appendInteger() argument
427 case ENumberSystem.DEFAULT: appendDigits(num, mindigits, maxdigits, sb); break; in appendInteger()
448 public void appendDigits(long num, int mindigits, int maxdigits, in appendDigits() argument
450 char[] buf = new char[maxdigits]; in appendDigits()
451 int ix = maxdigits; in appendDigits()
456 for (int e = maxdigits - mindigits; ix > e;) { in appendDigits()
459 sb.append(buf, ix, maxdigits - ix); in appendDigits()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
DPeriodFormatterData.java415 public void appendInteger(int num, int mindigits, int maxdigits, in appendInteger() argument
429 case ENumberSystem.DEFAULT: appendDigits(num, mindigits, maxdigits, sb); break; in appendInteger()
450 public void appendDigits(long num, int mindigits, int maxdigits, in appendDigits() argument
452 char[] buf = new char[maxdigits]; in appendDigits()
453 int ix = maxdigits; in appendDigits()
458 for (int e = maxdigits - mindigits; ix > e;) { in appendDigits()
461 sb.append(buf, ix, maxdigits - ix); in appendDigits()
/external/icu/icu4c/source/i18n/
DdecNumber.c3842 Int maxdigits; /* longest logical length */ in decAddOp() local
4058 maxdigits=rhs->digits+padding; /* virtual length of RHS */ in decAddOp()
4059 if (lhs->digits>maxdigits) maxdigits=lhs->digits; in decAddOp()
4067 if ((maxdigits>=reqdigits) /* is, or could be, too large */ in decAddOp()
4071 Int need=D2U(maxdigits)+1; in decAddOp()
4128 if (res->digits<maxdigits) { in decAddOp()
4130 res->digits=maxdigits; in decAddOp()
4138 if (res->digits<maxdigits) res->digits=maxdigits; in decAddOp()
4278 Int maxdigits; /* longest LHS or required acc length */ in decDivideOp() local
4458 maxdigits=rhs->digits+reqdigits-1; in decDivideOp()
[all …]