Home | History | Annotate | Download | only in intltest

Lines Matching defs:locale

56     Locale        locale = Locale::getDefault();
68 dataerrln("ERROR: Could not create NumberFormat instance with default locale ");
76 plFmt[2] = new PluralFormat(locale, status[2]);
77 plFmt[3] = new PluralFormat(locale, *plRules, status[3]);
80 plFmt[6] = new PluralFormat(locale, otherPattern, status[6]);
81 plFmt[7] = new PluralFormat(locale, *plRules, otherPattern, status[7]);
98 plFmt[1]= new PluralFormat(locale, status[1]);
113 plFmt[0]= new PluralFormat(locale, status[0]);
229 dataerrln("ERROR: Could not create NumberFormat instance with default locale ");
249 // ======= Test set locale
259 pluralFmt.setLocale(Locale::getEnglish(), status);
261 dataerrln("ERROR: Could not setLocale() with English locale ");
265 message = UNICODE_STRING_SIMPLE("Error set locale: pattern is not reset!");
269 numFmt = NumberFormat::createInstance(Locale::getEnglish(), status);
271 dataerrln("ERROR: Could not create NumberFormat instance with English locale ");
313 * Test locale data used in PluralFormat class.
527 Locale ulocale((const char *)"fr");
531 dataerrln("Failed to apply pattern to fr locale - %s", u_errorName(status));
566 PluralFormat pf(Locale::getEnglish(), fmtString, status);
568 Locale::getEnglish(), status);
632 PluralFormat pf(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, pattern, errorCode);
653 PluralFormat pf2(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, errorCode);
674 PluralFormat pf(Locale::getEnglish(), "one{one meter}other{# meters}", errorCode);
677 PluralFormat pf2(Locale::getEnglish(),
679 DecimalFormat df("0.0", new DecimalFormatSymbols(Locale::getEnglish(), errorCode), errorCode);
756 const char *locale = localeArray[i];
757 Locale ulocale((const char *)locale);
761 dataerrln("Failed to apply pattern to locale:"+UnicodeString(localeArray[i]) + " - " + u_errorName(status));
769 errln("ERROR: Failed to format number in locale data tests with locale: "+
774 errln("ERROR: Unexpected format result in locale: "+UnicodeString(localeArray[i])+