Lines Matching refs:Locale
76 test4.toLower(Locale(""));
82 test4.toLower(Locale("tr", "TR"));
92 test4.toUpper(Locale(""));
98 test4.toUpper(Locale("tr", "TR"));
105 test3.toUpper(Locale("de", "DE"));
112 test4.toLower(Locale("el", "GR"));
141 /* lowercase with root locale */
147 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, (int32_t)(sizeof(lowerRoot)/U_SIZEOF_UCHAR)) + "\"");
150 /* lowercase with turkish locale */
152 s.setCharAt(0, beforeLower[0]).toLower(Locale("tr"));
156 errln("error in toLower(turkish locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerTurkish, (int32_t)(sizeof(lowerTurkish)/U_SIZEOF_UCHAR)) + "\"");
159 /* uppercase with root locale */
161 s.setCharAt(0, beforeUpper[0]).toUpper(Locale(""));
165 errln("error in toUpper(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, upperRoot, (int32_t)(sizeof(upperRoot)/U_SIZEOF_UCHAR)) + "\"");
168 /* uppercase with turkish locale */
170 s.toUpper(Locale("tr"));
174 errln("error in toUpper(turkish locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, upperTurkish, (int32_t)(sizeof(upperTurkish)/U_SIZEOF_UCHAR)) + "\"");
177 /* uppercase a short string with root locale */
183 errln("error in toUpper(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, miniUpper, (int32_t)(sizeof(miniUpper)/U_SIZEOF_UCHAR)) + "\"");
241 (t=sigmas).toUpper(Locale(""));
351 Locale locale(localeID);
357 result.toLower(locale);
361 result.toUpper(locale);
366 result.toTitle((BreakIterator *)iter, locale, options);
383 result.toTitle((BreakIterator *)iter, locale);
459 UnicodeString locale, input, output, optionsString, result;
481 locale = myCase->getString("Locale", status);
483 locale.extract(0, 0x7fffffff, cLocaleID, sizeof(cLocaleID), "");