• Home
  • Raw
  • Download

Lines Matching refs:NumberFormat

148   NumberFormat *test = NumberFormat::createInstance("root", status);  in TestAPI()
187 class StubNumberFormat :public NumberFormat{
197 return NumberFormat::format(number, appendTo, pos); in format()
248 UnicodeString s; (*(NumberFormat*)&fmt).format((int32_t)0, s); in TestPatterns()
384 UnicodeString s; (*(NumberFormat*)&fmt).format(val[v], s); in TestExponential()
432 (*(NumberFormat*)&fmt).format(lval[v], s); in TestExponential()
467 DecimalFormat* fmt = (DecimalFormat*)NumberFormat::createCurrencyInstance("en_US", status); in TestScientific2()
612 ((NumberFormat*)fmt)->format((int32_t)123, s); in TestQuotes()
624 ((NumberFormat*)fmt)->format((int32_t)123, s); in TestQuotes()
653 UnicodeString s; ((NumberFormat*)fmt)->format(1234.56, s); in TestCurrencySign()
659 ((NumberFormat*)fmt)->format(- 1234.56, s); in TestCurrencySign()
671 ((NumberFormat*)fmt)->format(1234.56, s); in TestCurrencySign()
676 ((NumberFormat*)fmt)->format(-1234.56, s); in TestCurrencySign()
731NumberFormat* currencyFmt = NumberFormat::createCurrencyInstance(Locale::getCanadaFrench(), status… in TestCurrency()
746 currencyFmt = NumberFormat::createCurrencyInstance(Locale(loc),status); in TestCurrency()
754 currencyFmt = NumberFormat::createCurrencyInstance(Locale(loc), status); in TestCurrency()
771 currencyFmt = NumberFormat::createCurrencyInstance(Locale(loc), status); in TestCurrency()
796 NumberFormat* fmt = in TestCurrencyObject()
797 NumberFormat::createCurrencyInstance(Locale::getUS(), ec); in TestCurrencyObject()
822 fmt = NumberFormat::createCurrencyInstance(Locale::getFrance(), ec); in TestCurrencyObject()
971 NumberFormat *mFormat = NumberFormat::createInstance(sv_SE, UNUM_DECIMAL, status); in TestLenientParse()
991 mFormat = NumberFormat::createInstance(en_US, UNUM_DECIMAL, status); in TestLenientParse()
1011 NumberFormat *cFormat = NumberFormat::createInstance(en_US, UNUM_CURRENCY, status); in TestLenientParse()
1046 NumberFormat *pFormat = NumberFormat::createPercentInstance(en_US, status); in TestLenientParse()
1083 NumberFormat *nFormat = NumberFormat::createInstance(en_US, status); in TestLenientParse()
1130 NumberFormat *nf = NumberFormat::createInstance(status); in TestRounding487()
1166 NumberFormat *g = NumberFormat::createInstance(Locale("hi", "IN"), status); in TestSecondaryGrouping()
1248 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest()
1333 expect2(NumberFormat::createScientificInstance(status), in TestScientific()
1344 expect2(NumberFormat::createScientificInstance(Locale::getUS(), status), in TestScientific()
1356 expect2(NumberFormat::createScientificInstance(Locale::getFrance(), status), in TestScientific()
1704 const Locale* locs = NumberFormat::getAvailableLocales(locCount); in TestCurrencyPatterns()
1707 NumberFormat* nf = NumberFormat::createCurrencyInstance(locs[i], ec); in TestCurrencyPatterns()
2167 const NumberFormat& fmt, in parseCurrencyAmount()
2418 void NumberFormatTest::expect3(NumberFormat& fmt, const Formattable& n, const UnicodeString& str) { in expect3()
2424 void NumberFormatTest::expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str) { in expect2()
2430 void NumberFormatTest::expect2(NumberFormat* fmt, const Formattable& n, in expect2()
2441 void NumberFormatTest::expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n) { in expect()
2462 void NumberFormatTest::expect_rbnf(NumberFormat& fmt, const UnicodeString& str, const Formattable& … in expect_rbnf()
2479 void NumberFormatTest::expect_rbnf(NumberFormat& fmt, const Formattable& n, in expect_rbnf()
2515 void NumberFormatTest::expect(NumberFormat& fmt, const Formattable& n, in expect()
2553 void NumberFormatTest::expect(NumberFormat* fmt, const Formattable& n, in expect()
2564 void NumberFormatTest::expectCurrency(NumberFormat& nf, const Locale& locale, in expectCurrency()
2584 NumberFormat* f = in expectCurrency()
2585 NumberFormat::createInstance(Locale::getUS(), ec); in expectCurrency()
2690 void NumberFormatTest::expectParseCurrency(const NumberFormat &fmt, const UChar* currency, double a… in expectParseCurrency()
2724 NumberFormat* currencyFmt = NumberFormat::createCurrencyInstance(loc, status); in TestJB3832()
2750 LocalPointer<NumberFormat> full(NumberFormat::createInstance(loc, k, status)); in TestHost()
2751 if (!NumberFormat::isStyleSupported(k)) { in TestHost()
2789 NumberFormat *full = NumberFormat::createInstance(loc, status); in TestHostClone()
2872 …DecimalFormat *df = (DecimalFormat*)NumberFormat::createCurrencyInstance(Locale::getEnglish(), sta… in TestRounding()
2910 …DecimalFormat *df = (DecimalFormat*)NumberFormat::createCurrencyInstance(Locale::getEnglish(), sta… in TestRoundingPattern()
3077 NumberFormat* foo = NumberFormat::createCurrencyInstance(locale, status); in TestSpaceParsing()
3140 NumberFormat *origFmt = NumberFormat::createInstance(loc,ec); in TestNumberingSystems()
3146 NumberFormat *fmt = (NumberFormat *) origFmt->clone(); in TestNumberingSystems()
3162 NumberFormat* fmt4= NumberFormat::createInstance(loc4, ec); in TestNumberingSystems()
3242 ((NumberFormat*) fmt)->format(numberToBeFormat, s); in TestMultiCurrencySign()
3413 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyIsoPluralFormat()
3521 NumberFormat* numFmt = NumberFormat::createInstance(locale, k, status); in TestCurrencyParsing()
6139 NumberFormat* numFmt = NumberFormat::createInstance(locale, UNUM_CURRENCY, status); in TestParseCurrencyInUCurr()
6162 NumberFormat* numFmt = NumberFormat::createInstance(locale, UNUM_CURRENCY, status); in TestParseCurrencyInUCurr()
6250 DecimalFormat *decFmt = (DecimalFormat *) NumberFormat::createInstance(status); in TestFieldPositionIterator()
6280 …DecimalFormat *decFmt = (DecimalFormat *) NumberFormat::createInstance(locale, UNUM_CURRENCY, stat… in TestFormatAttributes()
6313 decFmt = (DecimalFormat *) NumberFormat::createInstance(locale, UNUM_SCIENTIFIC, status); in TestFormatAttributes()
6439 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal()
6457 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal()
6473 FieldPosition pos(NumberFormat::FRACTION_FIELD); in TestDecimal()
6488 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_PERCENT, status); in TestDecimal()
6510 NumberFormat *fmtr = NumberFormat::createInstance(Locale::getUS(), UNUM_DECIMAL, status); in TestDecimal()
6534 NumberFormat* fmt = NumberFormat::createCurrencyInstance("ja_JP", status); in TestCurrencyFractionDigits()
6610 NumberFormat *fmt= NumberFormat::createInstance(Locale(loc), status); in TestExplicitParents()
7079 NumberFormat::createInstance(locale, status))); in TestSignificantDigits()
7103 NumberFormat::createInstance(locale, status))); in TestShowZero()
7120 NumberFormat::createInstance(locale, status))); in TestBug9936()
7154 DecimalFormat *test = (DecimalFormat *) NumberFormat::createInstance("fa", status); in TestParseNegativeWithFaLocale()
7170 DecimalFormat *test = (DecimalFormat *) NumberFormat::createInstance("en", status); in TestParseNegativeWithAlternateMinusSign()
7295 NumberFormat *numfmt = NumberFormat::createInstance(Locale(itemPtr->locale), status); in TestParseSignsAndMarks()
7335 …LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createInstance(Locale("en_US"),… in Test10419RoundingWith0FractionDigits()
7588 expect(NumberFormat::createInstance("en_US", style, status), in TestAccountingCurrency()
7590 expect(NumberFormat::createInstance("en_US", style, status), in TestAccountingCurrency()
7592 expect(NumberFormat::createInstance("en_US", style, status), in TestAccountingCurrency()
7594 expect(NumberFormat::createInstance("en_US", style, status), in TestAccountingCurrency()
7596 expect(NumberFormat::createInstance("ja_JP", style, status), in TestAccountingCurrency()
7598 expect(NumberFormat::createInstance("ja_JP", style, status), in TestAccountingCurrency()
7600 expect(NumberFormat::createInstance("de_DE", style, status), in TestAccountingCurrency()