Home
last modified time | relevance | path

Searched refs:currAmt (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcurrfmt.cpp53 CurrencyAmount* currAmt = fmt->parseCurrency(source, pos); in parseObject() local
54 if (currAmt != NULL) { in parseObject()
55 result.adoptObject(currAmt); in parseObject()
Dunum.cpp437 LocalPointer<CurrencyAmount> currAmt(((const NumberFormat*)fmt)->parseCurrency(src, pp)); in unum_parseDoubleCurrency() local
448 u_strcpy(currency, currAmt->getISOCurrency()); in unum_parseDoubleCurrency()
449 doubleVal = currAmt->getNumber().getDouble(*status); in unum_parseDoubleCurrency()
Dnumfmt.cpp734 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec), ec); in parseCurrency() local
738 return currAmt.orphan(); in parseCurrency()
Ddecimfmt.cpp2201 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curbuf, ec), ec);
2205 return currAmt.orphan();
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java83 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
85 String currCode = currAmt.getCurrency().getCurrencyCode(); in format()
90 fJdkNfmt.format(currAmt.getNumber(), toAppendTo, pos); in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java338 public final String format(CurrencyAmount currAmt) { in format() argument
339 return format(currAmt, new StringBuffer(), in format()
389 public StringBuffer format(CurrencyAmount currAmt, in format() argument
393 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format()
396 format(currAmt.getNumber(), toAppendTo, pos); in format()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java809 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency() local
810 …if ( parsePos.getIndex() != item.getCurExpectPos() || (currAmt != null && (currAmt.getNumber().int… in TestParseCurrency()
811currAmt.getCurrency().getCurrencyCode().compareTo(item.getCurExpectCurr()) != 0)) ) { in TestParseCurrency()
812 if (currAmt != null) { in TestParseCurrency()
815 …", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency(… in TestParseCurrency()
1863 String currAmt = tokens.next(); in TestCases() local
1865 CurrencyAmount target = parseCurrencyAmount(currAmt, ref, '/'); in TestCases()
1867 … assertEquals(where + "getCurrencyFormat(" + mloc + ").format(" + currAmt + ")", in TestCases()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp178 LocalPointer<CurrencyAmount> currAmt(test->parseCurrency("",ppos)); in TestAPI() local
2193 UnicodeString pat, tok, mloc, str, out, where, currAmt; in TestCases() local
2303 if (!tokens.next(currAmt, ec)) goto error; in TestCases()
2305 parseCurrencyAmount(currAmt, *ref, (UChar)0x2F/*'/'*/, n, ec); in TestCases()
2307 assertEquals(where + "getCurrencyFormat(" + mloc + ").format(" + currAmt + ")", in TestCases()
2311 if (!tokens.next(currAmt, ec)) goto error; in TestCases()
2312 parseCurrencyAmount(currAmt, *ref, (UChar)0x2F/*'/'*/, n, ec); in TestCases()
6148 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr() local
6150 double doubleVal = currAmt->getNumber().getDouble(status); in TestParseCurrencyInUCurr()
6171 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr() local
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...