Lines Matching refs:NumberFormat
69 NumberFormat *def = NumberFormat::createInstance(status); in testAPI()
75 NumberFormat *fr = NumberFormat::createInstance(Locale::getFrench(), status); in testAPI()
80 NumberFormat *cur = NumberFormat::createCurrencyInstance(status); in testAPI()
86 NumberFormat *cur_fr = NumberFormat::createCurrencyInstance(Locale::getFrench(), status); in testAPI()
91 NumberFormat *per = NumberFormat::createPercentInstance(status); in testAPI()
97 NumberFormat *per_fr = NumberFormat::createPercentInstance(Locale::getFrench(), status); in testAPI()
190 const Locale *locales = NumberFormat::getAvailableLocales(count); in testAPI()
233 NumberFormat *test = new DecimalFormat(status); in testAPI()
257 NumberFormat* currencyStyle;
264 currencyStyle = NumberFormat::createInstance(SWAP_LOC, status); in NFTestFactory()
272 virtual NumberFormat* createFormat(const Locale& /* loc */, UNumberFormatStyle formatType) in createFormat()
275 return (NumberFormat*)currencyStyle->clone(); in createFormat()
303 LocalPointer<NumberFormat> f0(NumberFormat::createInstance(SWAP_LOC, status)); in testRegistration()
304 LocalPointer<NumberFormat> f1(NumberFormat::createInstance(SRC_LOC, status)); in testRegistration()
305 LocalPointer<NumberFormat> f2(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()
306 URegistryKey key = NumberFormat::registerFactory(new NFTestFactory(), status); in testRegistration()
307 LocalPointer<NumberFormat> f3(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()
308 LocalPointer<NumberFormat> f3a(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()
309 LocalPointer<NumberFormat> f4(NumberFormat::createInstance(SRC_LOC, status)); in testRegistration()
311 StringEnumeration* locs = NumberFormat::getAvailableLocales(); in testRegistration()
321 NumberFormat::unregister(key, status); // restore for other tests in testRegistration()
322 LocalPointer<NumberFormat> f5(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()