Searched refs:maxdigits (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | PeriodFormatterData.java | 413 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/ |
D | PeriodFormatterData.java | 415 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/ |
D | decNumber.cpp | 3844 Int maxdigits; /* longest logical length */ in decAddOp() local 4060 maxdigits=rhs->digits+padding; /* virtual length of RHS */ in decAddOp() 4061 if (lhs->digits>maxdigits) maxdigits=lhs->digits; in decAddOp() 4069 if ((maxdigits>=reqdigits) /* is, or could be, too large */ in decAddOp() 4073 Int need=D2U(maxdigits)+1; in decAddOp() 4130 if (res->digits<maxdigits) { in decAddOp() 4132 res->digits=maxdigits; in decAddOp() 4140 if (res->digits<maxdigits) res->digits=maxdigits; in decAddOp() 4280 Int maxdigits; /* longest LHS or required acc length */ in decDivideOp() local 4460 maxdigits=rhs->digits+reqdigits-1; in decDivideOp() [all …]
|