/external/icu/icu4c/source/i18n/ |
D | currfmt.cpp | 55 CurrencyAmount* currAmt = fmt->parseCurrency(source, pos); in parseObject() local 56 if (currAmt != NULL) { in parseObject() 57 result.adoptObject(currAmt); in parseObject()
|
D | unum.cpp | 476 LocalPointer<CurrencyAmount> currAmt(((const NumberFormat*)fmt)->parseCurrency(src, pp)); in unum_parseDoubleCurrency() local 487 u_strcpy(currency, currAmt->getISOCurrency()); in unum_parseDoubleCurrency() 488 doubleVal = currAmt->getNumber().getDouble(*status); in unum_parseDoubleCurrency()
|
D | numfmt.cpp | 743 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec), ec); in parseCurrency() local 747 return currAmt.orphan(); in parseCurrency()
|
D | decimfmt.cpp | 912 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curbuf, ec), ec); in parseCurrency() local 916 return currAmt.orphan(); in parseCurrency()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 85 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 87 String currCode = currAmt.getCurrency().getCurrencyCode(); in format() 92 fJdkNfmt.format(currAmt.getNumber(), toAppendTo, pos); in format()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormat.java | 329 public final String format(CurrencyAmount currAmt) { in format() argument 330 return format(currAmt, new StringBuffer(), in format() 374 public StringBuffer format(CurrencyAmount currAmt, in format() argument 379 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format() 382 format(currAmt.getNumber(), toAppendTo, pos); in format()
|
D | DecimalFormat.java | 754 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 755 FormattedNumber output = formatter.format(currAmt); in format()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 349 public final String format(CurrencyAmount currAmt) { in format() argument 350 return format(currAmt, new StringBuffer(), in format() 400 public StringBuffer format(CurrencyAmount currAmt, in format() argument 405 Currency save = getCurrency(), curr = currAmt.getCurrency(); in format() 408 format(currAmt.getNumber(), toAppendTo, pos); in format()
|
D | DecimalFormat.java | 775 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 776 FormattedNumber output = formatter.format(currAmt); in format()
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 476 LocalPointer<CurrencyAmount> currAmt( in isParseCurrencyPass() local 483 UnicodeString currStr(currAmt->getISOCurrency()); in isParseCurrencyPass() 484 Formattable resultFormattable(currAmt->getNumber()); in isParseCurrencyPass() 496 if (expected != *currAmt->getNumber().getDigitList()) { in isParseCurrencyPass() 666 LocalPointer<CurrencyAmount> currAmt(test->parseCurrency("",ppos)); in TestAPI() local 2712 UnicodeString pat, tok, mloc, str, out, where, currAmt; in TestCases() local 2822 if (!tokens.next(currAmt, ec)) goto error; in TestCases() 2824 parseCurrencyAmount(currAmt, *ref, (UChar)0x2F/*'/'*/, n, ec); in TestCases() 2826 assertEquals(where + "getCurrencyFormat(" + mloc + ").format(" + currAmt + ")", in TestCases() 2830 if (!tokens.next(currAmt, ec)) goto error; in TestCases() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTest.java | 910 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency() local 911 …if ( parsePos.getIndex() != curExpectPos || (currAmt != null && (currAmt.getNumber().intValue() !=… in TestParseCurrency() 912 … currAmt.getCurrency().getCurrencyCode().compareTo(item.getCurExpectCurr()) != 0)) ) { in TestParseCurrency() 913 if (currAmt != null) { in TestParseCurrency() 916 …", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency(… in TestParseCurrency() 2176 String currAmt = tokens.next(); in TestCases() local 2178 CurrencyAmount target = parseCurrencyAmount(currAmt, ref, '/'); in TestCases() 2180 … assertEquals(where + "getCurrencyFormat(" + mloc + ").format(" + currAmt + ")", in TestCases()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTest.java | 913 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency() local 914 …if ( parsePos.getIndex() != curExpectPos || (currAmt != null && (currAmt.getNumber().intValue() !=… in TestParseCurrency() 915 … currAmt.getCurrency().getCurrencyCode().compareTo(item.getCurExpectCurr()) != 0)) ) { in TestParseCurrency() 916 if (currAmt != null) { in TestParseCurrency() 919 …", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency(… in TestParseCurrency() 2179 String currAmt = tokens.next(); in TestCases() local 2181 CurrencyAmount target = parseCurrencyAmount(currAmt, ref, '/'); in TestCases() 2183 … assertEquals(where + "getCurrencyFormat(" + mloc + ").format(" + currAmt + ")", in TestCases()
|