Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DPeriodFormatterData.java411 public void appendInteger(int num, int mindigits, int maxdigits, in appendInteger() argument
425 case ENumberSystem.DEFAULT: appendDigits(num, mindigits, maxdigits, sb); break; in appendInteger()
446 public void appendDigits(long num, int mindigits, int maxdigits, in appendDigits() argument
448 char[] buf = new char[maxdigits]; in appendDigits()
449 int ix = maxdigits; in appendDigits()
454 for (int e = maxdigits - mindigits; ix > e;) { in appendDigits()
457 sb.append(buf, ix, maxdigits - ix); in appendDigits()
/external/icu/android_icu4j/src/main/java/android/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/opencv/otherlibs/highgui/
Dgrfmt_pxm.cpp83 static int ReadNumber( RLByteStream& strm, int maxdigits ) in ReadNumber() argument
115 if( ++digits >= maxdigits ) break; in ReadNumber()
/external/icu/icu4c/source/i18n/
DdecNumber.c3840 Int maxdigits; /* longest logical length */ in decAddOp() local
4056 maxdigits=rhs->digits+padding; /* virtual length of RHS */ in decAddOp()
4057 if (lhs->digits>maxdigits) maxdigits=lhs->digits; in decAddOp()
4065 if ((maxdigits>=reqdigits) /* is, or could be, too large */ in decAddOp()
4069 Int need=D2U(maxdigits)+1; in decAddOp()
4126 if (res->digits<maxdigits) { in decAddOp()
4128 res->digits=maxdigits; in decAddOp()
4136 if (res->digits<maxdigits) res->digits=maxdigits; in decAddOp()
4276 Int maxdigits; /* longest LHS or required acc length */ in decDivideOp() local
4456 maxdigits=rhs->digits+reqdigits-1; in decDivideOp()
[all …]