Searched refs:DigitList (Results 1 - 25 of 37) sorted by relevance

12

/external/icu/icu4c/source/i18n/
H A Dfmtableimp.h21 DigitList stackDecimalNum; // 128
H A Ddigitlst.cpp72 // class DigitList
94 DigitList::DigitList() function in class:DigitList
109 DigitList::~DigitList()
116 DigitList::DigitList(const DigitList &other) function in class:DigitList
126 DigitList&
127 DigitList
[all...]
H A Dprecision.h60 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
[all...]
H A Ddigitlst.h59 // 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 store
129 class U_I18N_API DigitList : public UMemory { // Declare external to make compiler happy class in inherits:UMemory
[all...]
H A Dvalueformatter.h23 class DigitList;
59 DigitList &round(DigitList &value, UErrorCode &status) const;
81 DigitList &value,
H A Dprecision.cpp48 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;
195 DigitList digitList;
224 DigitList digitList;
254 DigitList digitLis
[all...]
H A Ddigitaffixesandpadding.h26 class DigitList;
143 DigitList &value,
H A Ddecimfmtimpl.h202 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
[all...]
H A Dvalueformatter.cpp54 DigitList &value,
105 DigitList &
106 ValueFormatter::round(DigitList &value, UErrorCode &status) const {
H A Ddecimfmtimpl.cpp280 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...]
H A Dfmtable.cpp261 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
H A Ddecimalformatpattern.h61 DigitList fRoundingIncrement;
H A Dvisibledigits.h27 class DigitList;
H A Ddecimfmt.cpp16 * 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...]
H A Ddigitaffixesandpadding.cpp149 DigitList &value,
H A Ddigitformatter.h28 class DigitList;
/external/icu/android_icu4j/src/main/tests/android/icu/text/
H A DDigitListTest.java15 private static DigitList digitList = new DigitList();
26 assertEquals("DigitList incorrect", "0.1414213562x10^10", digitListStr);
31 assertEquals("DigitList hash code incorrect", -616183837, dlHashcode);
36 DigitList digitList2 = new DigitList();
40 assertTrue("DigitList objects with same values found unequal", digitList.equals(digitList2));
43 assertFalse("DigitList objects with different values found equal", digitList.equals(digitList2));
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/text/
H A DDigitListTest.java14 private static DigitList digitList = new DigitList();
25 assertEquals("DigitList incorrect", "0.1414213562x10^10", digitListStr);
30 assertEquals("DigitList hash code incorrect", -616183837, dlHashcode);
35 DigitList digitList2 = new DigitList();
39 assertTrue("DigitList objects with same values found unequal", digitList.equals(digitList2));
42 assertFalse("DigitList objects with different values found equal", digitList.equals(digitList2));
/external/icu/icu4c/source/i18n/unicode/
H A Ddecimfmt.h58 class DigitList;
1102 * The number is a DigitList wrapper onto a floating point decimal number.
1106 * @param number The number, a DigitList format Decimal Floating Point.
1115 virtual UnicodeString& format(const DigitList &number,
1156 * The number is a DigitList wrapper onto a floating point decimal number.
1160 * @param number The number, a DigitList format Decimal Floating Point.
1169 virtual UnicodeString& format(const DigitList &number,
2016 * Get a FixedDecimal corresponding to a DigitList as it would be
2017 * formatted by this DecimalFormat. Note: the DigitList may be modified.
2021 FixedDecimal getFixedDecimal(DigitList
[all...]
H A Dfmtable.h36 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
H A Dcompactdecimalformat.h285 * 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,
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDigitList.java15 * <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 { class
70 * DigitList i
[all...]
H A DNFSubstitution.java1188 DigitList dl = new DigitList();
1268 DigitList dl = new DigitList();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDigitList.java14 * <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 { class
68 * DigitList i
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dnumberformat2test.cpp135 DigitList &digits,
148 const DigitList &digits);
322 DigitList digitList;
390 DigitList quantity;
393 DigitList digits;
418 DigitList digits;
499 DigitList digits;
507 DigitList digits;
2034 // 10 forcing the use of DigitList.
2066 DigitList dlis
[all...]

Completed in 338 milliseconds

12