Lines Matching refs:LOC
937 const Locale &loc(pLocales[i]);
941 loc.getDisplayName (enLoc, name);
944 if (strlen(loc.getISO3Language()) == 0) {
1203 Locale loc (*locales);
1205 NumberFormat *nf = NumberFormat::createCurrencyInstance(loc, status);
1218 logln("Ok: " + (temp=loc.getName()) +
1222 errln("Fail: " + (temp=loc.getName()) +
1465 Locale loc = locales[i];
1467 if (loc.getDisplayName(temp) != englishDisplayNames[i])
1469 englishDisplayNames[i] + ", got " + loc.getDisplayName(temp));
1470 if (loc.getDisplayName(loc, temp) != norwegianDisplayNames[i])
1473 loc.getDisplayName(loc, temp));
1549 Locale LOC [] = { Locale::getChinese(), Locale("zh", "CN", ""),
1553 NumberFormat *fmt = NumberFormat::createPercentInstance(LOC[i], status);
1563 errln(UnicodeString("Percent for ") + LOC[i].getDisplayName(temp) + " should be 100%, got " + result);
1774 Locale loc(testCases[i].localeID);
1775 if(strcmp(testCases[i].baseName, loc.getBaseName())) {
1777 testCases[i].localeID, testCases[i].baseName, loc.getBaseName());
2067 Locale loc("en","","POSIX");
2068 if (0 != strcmp(loc.getVariant(), "POSIX")) {
2069 errln("FAIL: en__POSIX didn't get parsed correctly - name is %s - expected %s got %s", loc.getName(), "POSIX", loc.getVariant());
2205 Locale loc = _canonicalize(j, testCases[i].localeID);
2206 const char* getName = loc.isBogus() ? "BOGUS" : loc.getName();