HomeSort by relevance Sort by last modified time
    Searched refs:DigitList (Results 1 - 25 of 44) sorted by null

1 2

  /external/icu/icu4c/source/i18n/
fmtableimp.h 19 DigitList stackDecimalNum; // 128
digitlst.cpp 45 // class DigitList
67 DigitList::DigitList()
82 DigitList::~DigitList()
89 DigitList::DigitList(const DigitList &other)
99 DigitList&
100 DigitList::operator=(const DigitList& other
    [all...]
precision.h 58 DigitList fRoundingIncrement;
102 DigitList &round(DigitList &value, int32_t exponent, UErrorCode &status) const;
112 const DigitList &roundedValue, DigitInterval &interval) const;
129 DigitList &value,
167 DigitList &value,
201 * If the method returns FALSE, caller should create a DigitList
205 * the error and not try again with a DigitList.
234 static UBool handleNonNumeric(DigitList &value, VisibleDigits &digits);
255 DigitList &round(DigitList &value, UErrorCode &status) const
    [all...]
digitlst.h 57 // is used as a data member of DigitList.
79 * The original DigitList API has been retained, to minimize the impact of
86 * Original DigitList comments:
90 * non-negative numbers. The division of labor between DigitList and
91 * DecimalFormat is that DigitList handles the radix 10 representation
95 * A DigitList is really a representation of a floating point value.
99 * The DigitList representation consists of a string of characters,
101 * 10 exponent associated with it. The value represented by a DigitList
108 * DigitList vs. decimalNumber:
110 * DigitList stores digits with the most significant first
    [all...]
valueformatter.h 21 class DigitList;
57 DigitList &round(DigitList &value, UErrorCode &status) const;
79 DigitList &value,
precision.cpp 46 DigitList &
48 DigitList &value, int32_t exponent, UErrorCode &status) const {
57 DigitList adjustedIncrement(fRoundingIncrement);
110 const DigitList &value, DigitInterval &interval) const {
134 FixedPrecision::handleNonNumeric(DigitList &value, VisibleDigits &digits) {
151 DigitList &value,
182 DigitList digitList;
183 digitList.set(value);
184 return initVisibleDigits(digitList, digits, status)
    [all...]
digitaffixesandpadding.h 24 class DigitList;
141 DigitList &value,
decimfmtimpl.h 200 const DigitList &number,
215 const DigitList &number,
323 FixedDecimal &getFixedDecimal(DigitList &number, FixedDecimal &result, UErrorCode &status) const;
324 DigitList &round(DigitList &number, UErrorCode &status) const;
338 DigitList &number,
352 DigitList fMultiplier;
436 DigitList &number,
443 DigitList &number,
456 DigitList &number
    [all...]
valueformatter.cpp 52 DigitList &value,
103 DigitList &
104 ValueFormatter::round(DigitList &value, UErrorCode &status) const {
decimalformatpattern.h 59 DigitList fRoundingIncrement;
visibledigits.h 25 class DigitList;
decimfmtimpl.cpp 278 DigitList digits;
286 DigitList digits;
301 DigitList digits;
309 DigitList digits;
376 const DigitList &number,
380 DigitList dl(number);
417 const DigitList &number,
421 DigitList dl(number);
432 DigitList dl;
460 DigitList
    [all...]
fmtable.cpp 259 fDecimalNum = new DigitList(*source.fDecimalNum); // TODO: use internal digit list
362 fDecimalNum->~DigitList(); // destruct, don't deallocate
718 fDecimalNum = new DigitList; // TODO: use internal digit list
752 DigitList *
757 fDecimalNum = new (&(stackData->stackDecimalNum), kOnStack) DigitList();
766 Formattable::adoptDigitList(DigitList *dl) {
806 DigitList *dnum = new DigitList(); // TODO: use getInternalDigitList
decimfmt.cpp 14 * 03/31/97 aliu Moved isLONG_MIN to DigitList, and fixed it.
20 * 04/16/97 aliu Rewrote to use DigitList, which has been resurrected.
699 DigitList *dl = number.getDigitList();
701 DigitList dlCopy(*dl);
716 // Create a fixed decimal from a DigitList.
720 DecimalFormat::getFixedDecimal(DigitList &number, UErrorCode &status) const {
731 DigitList &number,
841 DecimalFormat::format(const DigitList &number,
850 DecimalFormat::format(const DigitList &number,
874 DigitList&
    [all...]
digitaffixesandpadding.cpp 147 DigitList &value,
digitformatter.h 26 class DigitList;
  /external/icu/icu4c/source/i18n/unicode/
fmtable.h 34 class DigitList;
650 * needs to get at the DigitList, if it exists, for
654 DigitList *getDigitList() const { return fDecimalNum;}
659 DigitList *getInternalDigitList();
662 * Adopt, and set value from, a DigitList
667 void adoptDigitList(DigitList *dl);
707 DigitList *fDecimalNum;
709 char fStackData[UNUM_INTERNAL_STACKARRAY_SIZE]; // must be big enough for DigitList
decimfmt.h 56 class DigitList;
    [all...]
compactdecimalformat.h 283 * The number is a DigitList wrapper onto a floating point decimal number.
287 * @param number The number, a DigitList format Decimal Floating Point.
296 virtual UnicodeString& format(const DigitList &number,
303 * The number is a DigitList wrapper onto a floating point decimal number.
307 * @param number The number, a DigitList format Decimal Floating Point.
316 virtual UnicodeString& format(const DigitList &number,
numfmt.h 531 * The number is a DigitList wrapper onto a floating point decimal number.
537 * @param number The number, a DigitList format Decimal Floating Point.
546 virtual UnicodeString& format(const DigitList &number,
553 * The number is a DigitList wrapper onto a floating point decimal number.
559 * @param number The number, a DigitList format Decimal Floating Point.
568 virtual UnicodeString& format(const DigitList &number,
    [all...]
  /libcore/ojluni/src/main/java/java/text/
DigitList.java 49 * non-negative numbers. The division of labor between DigitList and
50 * DecimalFormat is that DigitList handles the radix 10 representation
54 * A DigitList is really a representation of a floating point value.
58 * The DigitList representation consists of a string of characters,
60 * 10 exponent associated with it. The value represented by a DigitList
73 final class DigitList implements Cloneable {
94 * DigitList is normalized, so if it is non-zero, figits[0] is non-zero. We
99 * Zero is represented by any DigitList with count == 0 or with each digits[i]
520 // be represented by DigitList.
597 if (!(obj instanceof DigitList)) // (1) same object
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DigitList.java 13 * <code>DigitList</code> handles the transcoding between numeric values and
15 * division of labor between <code>DigitList</code> and
16 * <code>DecimalFormat</code> is that <code>DigitList</code> handles the radix
22 * <p>A <code>DigitList</code> is a representation of a finite numeric value.
23 * <code>DigitList</code> objects do not represent <code>NaN</code> or infinite
24 * values. A <code>DigitList</code> value can be converted to a
29 * <p>The <code>DigitList</code> representation consists of a string of
32 * <code>DigitList</code> object can be computed by mulitplying the fraction
45 final class DigitList {
67 * DigitList is normalized, so if it is non-zero, figits[0] is non-zero. W
    [all...]
NFSubstitution.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DigitList.java 12 * <code>DigitList</code> handles the transcoding between numeric values and
14 * division of labor between <code>DigitList</code> and
15 * <code>DecimalFormat</code> is that <code>DigitList</code> handles the radix
21 * <p>A <code>DigitList</code> is a representation of a finite numeric value.
22 * <code>DigitList</code> objects do not represent <code>NaN</code> or infinite
23 * values. A <code>DigitList</code> value can be converted to a
28 * <p>The <code>DigitList</code> representation consists of a string of
31 * <code>DigitList</code> object can be computed by mulitplying the fraction
44 final class DigitList {
66 * DigitList is normalized, so if it is non-zero, figits[0] is non-zero. W
    [all...]
  /external/icu/icu4c/source/test/intltest/
numberformat2test.cpp 133 DigitList &digits,
146 const DigitList &digits);
320 DigitList digitList;
322 digitList.set(12345);
323 verifyInterval(digitList.getSmallestInterval(result), 0, 5);
326 digitList.set(1000.00);
327 verifyInterval(digitList.getSmallestInterval(result), 0, 4);
330 digitList.set(43.125);
331 verifyInterval(digitList.getSmallestInterval(result), -3, 2)
    [all...]

Completed in 5355 milliseconds

1 2