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

1 2

  /external/icu/icu4c/source/i18n/
fmtableimp.h 21 DigitList stackDecimalNum; // 128
digitlst.cpp 72 // class DigitList
94 DigitList::DigitList()
109 DigitList::~DigitList()
116 DigitList::DigitList(const DigitList &other)
126 DigitList&
127 DigitList::operator=(const DigitList& other
    [all...]
precision.h 60 DigitList fRoundingIncrement;
104 DigitList &round(DigitList &value, int32_t exponent, UErrorCode &status) const;
114 const DigitList &roundedValue, DigitInterval &interval) const;
131 DigitList &value,
169 DigitList &value,
203 * If the method returns FALSE, caller should create a DigitList
207 * the error and not try again with a DigitList.
236 static UBool handleNonNumeric(DigitList &value, VisibleDigits &digits);
257 DigitList &round(DigitList &value, UErrorCode &status) const
    [all...]
digitlst.h 59 // is used as a data member of DigitList.
81 * The original DigitList API has been retained, to minimize the impact of
88 * Original DigitList comments:
92 * non-negative numbers. The division of labor between DigitList and
93 * DecimalFormat is that DigitList handles the radix 10 representation
97 * A DigitList is really a representation of a floating point value.
101 * The DigitList representation consists of a string of characters,
103 * 10 exponent associated with it. The value represented by a DigitList
110 * DigitList vs. decimalNumber:
112 * DigitList stores digits with the most significant first
    [all...]
valueformatter.h 23 class DigitList;
59 DigitList &round(DigitList &value, UErrorCode &status) const;
81 DigitList &value,
precision.cpp 48 DigitList &
50 DigitList &value, int32_t exponent, UErrorCode &status) const {
59 DigitList adjustedIncrement(fRoundingIncrement);
112 const DigitList &value, DigitInterval &interval) const {
136 FixedPrecision::handleNonNumeric(DigitList &value, VisibleDigits &digits) {
153 DigitList &value,
184 DigitList digitList;
185 digitList.set(value);
186 return initVisibleDigits(digitList, digits, status)
    [all...]
digitaffixesandpadding.h 26 class DigitList;
143 DigitList &value,
decimfmtimpl.h 202 const DigitList &number,
217 const DigitList &number,
325 FixedDecimal &getFixedDecimal(DigitList &number, FixedDecimal &result, UErrorCode &status) const;
326 DigitList &round(DigitList &number, UErrorCode &status) const;
340 DigitList &number,
354 DigitList fMultiplier;
438 DigitList &number,
445 DigitList &number,
458 DigitList &number
    [all...]
valueformatter.cpp 54 DigitList &value,
105 DigitList &
106 ValueFormatter::round(DigitList &value, UErrorCode &status) const {
decimalformatpattern.h 61 DigitList fRoundingIncrement;
visibledigits.h 27 class DigitList;
decimfmtimpl.cpp 280 DigitList digits;
288 DigitList digits;
303 DigitList digits;
311 DigitList digits;
378 const DigitList &number,
382 DigitList dl(number);
419 const DigitList &number,
423 DigitList dl(number);
434 DigitList dl;
462 DigitList
    [all...]
fmtable.cpp 261 fDecimalNum = new DigitList(*source.fDecimalNum); // TODO: use internal digit list
364 fDecimalNum->~DigitList(); // destruct, don't deallocate
723 fDecimalNum = new DigitList; // TODO: use internal digit list
757 DigitList *
762 fDecimalNum = new (&(stackData->stackDecimalNum), kOnStack) DigitList();
771 Formattable::adoptDigitList(DigitList *dl) {
811 DigitList *dnum = new DigitList(); // TODO: use getInternalDigitList
decimfmt.cpp 16 * 03/31/97 aliu Moved isLONG_MIN to DigitList, and fixed it.
22 * 04/16/97 aliu Rewrote to use DigitList, which has been resurrected.
713 DigitList *dl = number.getDigitList();
715 DigitList dlCopy(*dl);
730 // Create a fixed decimal from a DigitList.
734 DecimalFormat::getFixedDecimal(DigitList &number, UErrorCode &status) const {
745 DigitList &number,
855 DecimalFormat::format(const DigitList &number,
864 DecimalFormat::format(const DigitList &number,
888 DigitList&
    [all...]
digitaffixesandpadding.cpp 149 DigitList &value,
  /external/icu/android_icu4j/src/main/tests/android/icu/text/
DigitListTest.java 15 private static DigitList digitList = new DigitList();
20 digitList.set(testdata);
25 String digitListStr = digitList.toString();
26 assertEquals("DigitList incorrect", "0.1414213562x10^10", digitListStr);
30 int dlHashcode = digitList.hashCode();
31 assertEquals("DigitList hash code incorrect", -616183837, dlHashcode);
36 DigitList digitList2 = new DigitList();
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/text/
DigitListTest.java 14 private static DigitList digitList = new DigitList();
19 digitList.set(testdata);
24 String digitListStr = digitList.toString();
25 assertEquals("DigitList incorrect", "0.1414213562x10^10", digitListStr);
29 int dlHashcode = digitList.hashCode();
30 assertEquals("DigitList hash code incorrect", -616183837, dlHashcode);
35 DigitList digitList2 = new DigitList();
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
fmtable.h 36 class DigitList;
652 * needs to get at the DigitList, if it exists, for
656 DigitList *getDigitList() const { return fDecimalNum;}
661 DigitList *getInternalDigitList();
664 * Adopt, and set value from, a DigitList
669 void adoptDigitList(DigitList *dl);
709 DigitList *fDecimalNum;
711 char fStackData[UNUM_INTERNAL_STACKARRAY_SIZE]; // must be big enough for DigitList
decimfmt.h 58 class DigitList;
    [all...]
compactdecimalformat.h 285 * The number is a DigitList wrapper onto a floating point decimal number.
289 * @param number The number, a DigitList format Decimal Floating Point.
298 virtual UnicodeString& format(const DigitList &number,
305 * The number is a DigitList wrapper onto a floating point decimal number.
309 * @param number The number, a DigitList format Decimal Floating Point.
318 virtual UnicodeString& format(const DigitList &number,
numfmt.h 529 * The number is a DigitList wrapper onto a floating point decimal number.
535 * @param number The number, a DigitList format Decimal Floating Point.
544 virtual UnicodeString& format(const DigitList &number,
551 * The number is a DigitList wrapper onto a floating point decimal number.
557 * @param number The number, a DigitList format Decimal Floating Point.
566 virtual UnicodeString& format(const DigitList &number,
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DigitList.java 15 * <code>DigitList</code> handles the transcoding between numeric values and
17 * division of labor between <code>DigitList</code> and
18 * <code>DecimalFormat</code> is that <code>DigitList</code> handles the radix
24 * <p>A <code>DigitList</code> is a representation of a finite numeric value.
25 * <code>DigitList</code> objects do not represent <code>NaN</code> or infinite
26 * values. A <code>DigitList</code> value can be converted to a
31 * <p>The <code>DigitList</code> representation consists of a string of
34 * <code>DigitList</code> object can be computed by mulitplying the fraction
48 public final class DigitList {
70 * 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 14 * <code>DigitList</code> handles the transcoding between numeric values and
16 * division of labor between <code>DigitList</code> and
17 * <code>DecimalFormat</code> is that <code>DigitList</code> handles the radix
23 * <p>A <code>DigitList</code> is a representation of a finite numeric value.
24 * <code>DigitList</code> objects do not represent <code>NaN</code> or infinite
25 * values. A <code>DigitList</code> value can be converted to a
30 * <p>The <code>DigitList</code> representation consists of a string of
33 * <code>DigitList</code> object can be computed by mulitplying the fraction
46 final class DigitList {
68 * DigitList is normalized, so if it is non-zero, figits[0] is non-zero. W
    [all...]
  /external/icu/icu4c/source/test/intltest/
numberformat2test.cpp 135 DigitList &digits,
148 const DigitList &digits);
322 DigitList digitList;
324 digitList.set((int32_t)12345);
325 verifyInterval(digitList.getSmallestInterval(result), 0, 5);
328 digitList.set(1000.00);
329 verifyInterval(digitList.getSmallestInterval(result), 0, 4);
332 digitList.set(43.125);
333 verifyInterval(digitList.getSmallestInterval(result), -3, 2)
    [all...]

Completed in 243 milliseconds

1 2