Lines Matching refs:formatter
125 … RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); in TestParse() local
130 testfmt(formatter, 20, status); in TestParse()
131 testfmt(formatter, 1.23, status); in TestParse()
132 testfmt(formatter, -123, status); in TestParse()
133 testfmt(formatter, .123, status); in TestParse()
134 testfmt(formatter, 123, status); in TestParse()
140 delete formatter; in TestParse()
146 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status) { in testfmt() argument
148 formatter->format((const Formattable)val, us, status); in testfmt()
159 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status) { in testfmt() argument
161 formatter->format((const Formattable)(int32_t)val, us, status); in testfmt()