• Home
  • Raw
  • Download

Lines Matching refs:NumberFormat

137   NumberFormat *test = NumberFormat::createInstance("root", status);  in TestAPI()
176 class StubNumberForamt :public NumberFormat{
186 return NumberFormat::format(number, appendTo, pos); in format()
237 UnicodeString s; (*(NumberFormat*)&fmt).format((int32_t)0, s); in TestPatterns()
373 UnicodeString s; (*(NumberFormat*)&fmt).format(val[v], s); in TestExponential()
421 (*(NumberFormat*)&fmt).format(lval[v], s); in TestExponential()
456 DecimalFormat* fmt = (DecimalFormat*)NumberFormat::createCurrencyInstance("en_US", status); in TestScientific2()
601 ((NumberFormat*)fmt)->format((int32_t)123, s); in TestQuotes()
613 ((NumberFormat*)fmt)->format((int32_t)123, s); in TestQuotes()
642 UnicodeString s; ((NumberFormat*)fmt)->format(1234.56, s); in TestCurrencySign()
648 ((NumberFormat*)fmt)->format(- 1234.56, s); in TestCurrencySign()
660 ((NumberFormat*)fmt)->format(1234.56, s); in TestCurrencySign()
665 ((NumberFormat*)fmt)->format(-1234.56, s); in TestCurrencySign()
720NumberFormat* currencyFmt = NumberFormat::createCurrencyInstance(Locale::getCanadaFrench(), status… in TestCurrency()
734 currencyFmt = NumberFormat::createCurrencyInstance(Locale(loc),status); in TestCurrency()
742 currencyFmt = NumberFormat::createCurrencyInstance(Locale(loc), status); in TestCurrency()
759 currencyFmt = NumberFormat::createCurrencyInstance(Locale(loc), status); in TestCurrency()
784 NumberFormat* fmt = in TestCurrencyObject()
785 NumberFormat::createCurrencyInstance(Locale::getUS(), ec); in TestCurrencyObject()
810 fmt = NumberFormat::createCurrencyInstance(Locale::getFrance(), ec); in TestCurrencyObject()
958 NumberFormat *mFormat = NumberFormat::createInstance(sv_SE, UNUM_DECIMAL, status); in TestLenientParse()
978 mFormat = NumberFormat::createInstance(en_US, UNUM_DECIMAL, status); in TestLenientParse()
998 NumberFormat *cFormat = NumberFormat::createInstance(en_US, UNUM_CURRENCY, status); in TestLenientParse()
1033 NumberFormat *pFormat = NumberFormat::createPercentInstance(en_US, status); in TestLenientParse()
1070 NumberFormat *nFormat = NumberFormat::createInstance(en_US, status); in TestLenientParse()
1117 NumberFormat *nf = NumberFormat::createInstance(status); in TestRounding487()
1153 NumberFormat *g = NumberFormat::createInstance(Locale("hi", "IN"), status); in TestSecondaryGrouping()
1235 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest()
1320 expect2(NumberFormat::createScientificInstance(status), in TestScientific()
1331 expect2(NumberFormat::createScientificInstance(Locale::getUS(), status), in TestScientific()
1343 expect2(NumberFormat::createScientificInstance(Locale::getFrance(), status), in TestScientific()
1691 const Locale* locs = NumberFormat::getAvailableLocales(locCount); in TestCurrencyPatterns()
1694 NumberFormat* nf = NumberFormat::createCurrencyInstance(locs[i], ec); in TestCurrencyPatterns()
2135 const NumberFormat& fmt, in parseCurrencyAmount()
2386 void NumberFormatTest::expect3(NumberFormat& fmt, const Formattable& n, const UnicodeString& str) { in expect3()
2392 void NumberFormatTest::expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str) { in expect2()
2398 void NumberFormatTest::expect2(NumberFormat* fmt, const Formattable& n, in expect2()
2409 void NumberFormatTest::expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n) { in expect()
2430 void NumberFormatTest::expect_rbnf(NumberFormat& fmt, const UnicodeString& str, const Formattable& … in expect_rbnf()
2447 void NumberFormatTest::expect_rbnf(NumberFormat& fmt, const Formattable& n, in expect_rbnf()
2483 void NumberFormatTest::expect(NumberFormat& fmt, const Formattable& n, in expect()
2521 void NumberFormatTest::expect(NumberFormat* fmt, const Formattable& n, in expect()
2532 void NumberFormatTest::expectCurrency(NumberFormat& nf, const Locale& locale, in expectCurrency()
2552 NumberFormat* f = in expectCurrency()
2553 NumberFormat::createInstance(Locale::getUS(), ec); in expectCurrency()
2624 NumberFormat* currencyFmt = NumberFormat::createCurrencyInstance(loc, status); in TestJB3832()
2650 LocalPointer<NumberFormat> full(NumberFormat::createInstance(loc, k, status)); in TestHost()
2651 if (!NumberFormat::isStyleSupported(k)) { in TestHost()
2689 NumberFormat *full = NumberFormat::createInstance(loc, status); in TestHostClone()
2772 …DecimalFormat *df = (DecimalFormat*)NumberFormat::createCurrencyInstance(Locale::getEnglish(), sta… in TestRounding()
2810 …DecimalFormat *df = (DecimalFormat*)NumberFormat::createCurrencyInstance(Locale::getEnglish(), sta… in TestRoundingPattern()
2977 NumberFormat* foo = NumberFormat::createCurrencyInstance(locale, status); in TestSpaceParsing()
3039 NumberFormat *fmt = NumberFormat::createInstance(loc,ec); in TestNumberingSystems()
3058 NumberFormat* fmt4= NumberFormat::createInstance(loc4, ec); in TestNumberingSystems()
3138 ((NumberFormat*) fmt)->format(numberToBeFormat, s); in TestMultiCurrencySign()
3309 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyIsoPluralFormat()
3408 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyParsing()
6021 NumberFormat* numFmt = NumberFormat::createInstance(locale, UNUM_CURRENCY, status); in TestParseCurrencyInUCurr()
6044 NumberFormat* numFmt = NumberFormat::createInstance(locale, UNUM_CURRENCY, status); in TestParseCurrencyInUCurr()
6132 DecimalFormat *decFmt = (DecimalFormat *) NumberFormat::createInstance(status); in TestFieldPositionIterator()
6162 …DecimalFormat *decFmt = (DecimalFormat *) NumberFormat::createInstance(locale, UNUM_CURRENCY, stat… in TestFormatAttributes()
6195 decFmt = (DecimalFormat *) NumberFormat::createInstance(locale, UNUM_SCIENTIFIC, status); in TestFormatAttributes()
6321 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal()
6339 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal()
6355 FieldPosition pos(NumberFormat::FRACTION_FIELD); in TestDecimal()
6370 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_PERCENT, status); in TestDecimal()
6392 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal()
6416 NumberFormat* fmt = NumberFormat::createCurrencyInstance("ja_JP", status); in TestCurrencyFractionDigits()
6492 NumberFormat *fmt= NumberFormat::createInstance(Locale(loc), status); in TestExplicitParents()