Home
last modified time | relevance | path

Searched refs:parseCurrency (Results 1 – 25 of 44) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dnumparse_impl.cpp83 … const DecimalFormatSymbols& symbols, bool parseCurrency, in createParserFromProperties() argument
123 if (parseCurrency || affixProvider->hasCurrencySign()) { in createParserFromProperties()
126 if (!parseCurrency) { in createParserFromProperties()
152 if (parseCurrency || affixProvider->hasCurrencySign()) { in createParserFromProperties()
198 if (parseCurrency) { in createParserFromProperties()
Dcurrfmt.cpp55 CurrencyAmount* currAmt = fmt->parseCurrency(source, pos); in parseObject()
Dcompactdecimalformat.cpp68 CompactDecimalFormat::parseCurrency( in parseCurrency() function in CompactDecimalFormat
Dnumparse_impl.h44 bool parseCurrency, UErrorCode& status);
Dunum.cpp476 LocalPointer<CurrencyAmount> currAmt(((const NumberFormat*)fmt)->parseCurrency(src, pp)); in unum_parseDoubleCurrency()
Dnumfmt.cpp730 CurrencyAmount* NumberFormat::parseCurrency(const UnicodeString& text, in parseCurrency() function in NumberFormat
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DNumberParserImpl.java140 boolean parseCurrency) { in createParserFromProperties() argument
176 if (parseCurrency || affixProvider.hasCurrencySign()) { in createParserFromProperties()
179 if (!parseCurrency) { in createParserFromProperties()
204 if (parseCurrency || affixProvider.hasCurrencySign()) { in createParserFromProperties()
250 if (parseCurrency) { in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DNumberParserImpl.java138 boolean parseCurrency) { in createParserFromProperties() argument
174 if (parseCurrency || affixProvider.hasCurrencySign()) { in createParserFromProperties()
177 if (!parseCurrency) { in createParserFromProperties()
202 if (parseCurrency || affixProvider.hasCurrencySign()) { in createParserFromProperties()
248 if (parseCurrency) { in createParserFromProperties()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyFormat.java62 return getNumberFormatInternal().parseCurrency(source, pos); in parseObject()
DCompactDecimalFormat.java120 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition parsePosition) { in parseCurrency() method in CompactDecimalFormat
DNumberFormat.java456 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition pos) { in parseCurrency() method in NumberFormat
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyFormat.java61 return getNumberFormatInternal().parseCurrency(source, pos); in parseObject()
DCompactDecimalFormat.java144 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition parsePosition) { in parseCurrency() method in CompactDecimalFormat
DNumberFormat.java485 public CurrencyAmount parseCurrency(CharSequence text, ParsePosition pos) { in parseCurrency() method in NumberFormat
/external/icu/icu4c/source/i18n/unicode/
Dcompactdecimalformat.h153 CurrencyAmount* parseCurrency(const UnicodeString& text, ParsePosition& pos) const U_OVERRIDE;
Dnumfmt.h663 virtual CurrencyAmount* parseCurrency(const UnicodeString& text,
Ddecimfmt.h1166 CurrencyAmount* parseCurrency(const UnicodeString& text, ParsePosition& pos) const U_OVERRIDE;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.java82 public String parseCurrency(DataDrivenNumberFormatTestData tuple) { in parseCurrency() method in DataDrivenNumberFormatTestUtility.CodeUnderTest
382 String errorMessage = codeUnderTest.parseCurrency(tuple); in isPass()
DNumberFormatDataDrivenTest.java165 public String parseCurrency(DataDrivenNumberFormatTestData tuple) {
168 CurrencyAmount actual = fmt.parseCurrency(tuple.parse, ppos);
871 public String parseCurrency(DataDrivenNumberFormatTestData tuple) {
DNumberFormatTest.java617 df.parseCurrency("1.23\u20AC", ppos); in TestMismatchedCurrencyFormatFail()
801 CurrencyAmount val = numFmt.parseCurrency(oneCurrencyFormatResult, null); in TestCurrencyIsoPluralFormat()
842 CurrencyAmount amt = numFmt.parseCurrency(stringToBeParsed, parsePosition); in TestMiscCurrencyParsing()
939 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency()
959 df.parseCurrency("1.00 us denmark", ppos); in TestParseCurrencyWithWhitespace()
1726 df.parseCurrency(null, null); in TestParseNull()
2819 CurrencyAmount currencyAmount = fmt.parseCurrency(text, pos); in expectParseCurrency()
4527 fmt.parseCurrency("53.45", ppos), null);
5288 CurrencyAmount result = nf.parseCurrency("2,34 XSU", ppos);
5303 CurrencyAmount result = nf.parseCurrency("1.500 амерички долар", ppos);
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.java85 public String parseCurrency(DataDrivenNumberFormatTestData tuple) { in parseCurrency() method in DataDrivenNumberFormatTestUtility.CodeUnderTest
385 String errorMessage = codeUnderTest.parseCurrency(tuple); in isPass()
DNumberFormatDataDrivenTest.java168 public String parseCurrency(DataDrivenNumberFormatTestData tuple) {
171 CurrencyAmount actual = fmt.parseCurrency(tuple.parse, ppos);
874 public String parseCurrency(DataDrivenNumberFormatTestData tuple) {
DNumberFormatTest.java620 df.parseCurrency("1.23\u20AC", ppos); in TestMismatchedCurrencyFormatFail()
804 CurrencyAmount val = numFmt.parseCurrency(oneCurrencyFormatResult, null); in TestCurrencyIsoPluralFormat()
845 CurrencyAmount amt = numFmt.parseCurrency(stringToBeParsed, parsePosition); in TestMiscCurrencyParsing()
942 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency()
962 df.parseCurrency("1.00 us denmark", ppos); in TestParseCurrencyWithWhitespace()
1729 df.parseCurrency(null, null); in TestParseNull()
2822 CurrencyAmount currencyAmount = fmt.parseCurrency(text, pos); in expectParseCurrency()
4530 fmt.parseCurrency("53.45", ppos), null);
5291 CurrencyAmount result = nf.parseCurrency("2,34 XSU", ppos);
5306 CurrencyAmount result = nf.parseCurrency("1.500 амерички долар", ppos);
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumfmtdatadriventest.cpp416 fmtPtr->parseCurrency(tuple.parse, ppos)); in isParseCurrencyPass()
Dnumfmtst.cpp267 LocalPointer<CurrencyAmount> currAmt(test->parseCurrency("",ppos)); in TestAPI()
2928 LocalPointer<CurrencyAmount> currencyAmount(fmt.parseCurrency(utext, ppos)); in expectParseCurrency()
3584 df->parseCurrency(u"1.23\u20AC", ppos); in TestMismatchedCurrencyFormatFail()
6416 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr()
6433 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr()
8316 LocalPointer<CurrencyAmount> result(nf->parseCurrency(u"1.500 амерички долар", ppos)); in Test11739_ParseLongCurrency()
8581 fmt.parseCurrency("53.45", ppos); // NPE thrown here in ICU4J. in Test11735_ExceptionIssue()
9191 LocalPointer<CurrencyAmount> curramt(df.parseCurrency(sample, ppos)); in Test13804_EmptyStringsWhenParsing()

12