Lines Matching refs:NumberFormat
71 NumberFormat *def = NumberFormat::createInstance(status); in testAPI()
77 NumberFormat *fr = NumberFormat::createInstance(Locale::getFrench(), status); in testAPI()
82 NumberFormat *cur = NumberFormat::createCurrencyInstance(status); in testAPI()
88 NumberFormat *cur_fr = NumberFormat::createCurrencyInstance(Locale::getFrench(), status); in testAPI()
93 NumberFormat *per = NumberFormat::createPercentInstance(status); in testAPI()
99 NumberFormat *per_fr = NumberFormat::createPercentInstance(Locale::getFrench(), status); in testAPI()
192 const Locale *locales = NumberFormat::getAvailableLocales(count); in testAPI()
235 NumberFormat *test = new DecimalFormat(status); in testAPI()
259 NumberFormat* currencyStyle;
266 currencyStyle = NumberFormat::createInstance(SWAP_LOC, status); in NFTestFactory()
274 virtual NumberFormat* createFormat(const Locale& /* loc */, UNumberFormatStyle formatType) in createFormat()
277 return (NumberFormat*)currencyStyle->clone(); in createFormat()
305 LocalPointer<NumberFormat> f0(NumberFormat::createInstance(SWAP_LOC, status)); in testRegistration()
306 LocalPointer<NumberFormat> f1(NumberFormat::createInstance(SRC_LOC, status)); in testRegistration()
307 LocalPointer<NumberFormat> f2(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()
308 URegistryKey key = NumberFormat::registerFactory(new NFTestFactory(), status); in testRegistration()
309 LocalPointer<NumberFormat> f3(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()
310 LocalPointer<NumberFormat> f3a(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()
311 LocalPointer<NumberFormat> f4(NumberFormat::createInstance(SRC_LOC, status)); in testRegistration()
313 StringEnumeration* locs = NumberFormat::getAvailableLocales(); in testRegistration()
323 NumberFormat::unregister(key, status); // restore for other tests in testRegistration()
324 LocalPointer<NumberFormat> f5(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()