Lines Matching defs:locName
1338 const char *locName = NULL;
1350 locName = uloc_getAvailable(i);
1351 if(uprv_strcmp("ja", locName) == 0) {
1355 if(hasCollationElements(locName)) {
1356 nameSize = uloc_getDisplayName(locName, NULL, name, 256, &status);
1361 log_verbose("\nTesting locale %s (%s)\n", locName, cName);
1362 coll = ucol_open(locName, &status);
1367 log_err("Couldn't instantiate collator for locale %s, error: %s\n", locName, u_errorName(status));
1383 const char *locName = NULL;
1393 locName = uloc_getAvailable(i);
1394 if(hasCollationElements(locName)) {
1395 if (uprv_strcmp("ja", locName)==0) {
1399 if (uprv_strcmp("de__PHONEBOOK", locName)==0) {
1403 if (uprv_strcmp("bn", locName)==0 ||
1404 uprv_strcmp("bs", locName)==0 || /* Add due to import per cldrbug 5647 */
1405 uprv_strcmp("bs_Cyrl", locName)==0 || /* Add due to import per cldrbug 5647 */
1406 uprv_strcmp("en_US_POSIX", locName)==0 ||
1407 uprv_strcmp("fa_AF", locName)==0 || /* Add due to import per cldrbug 5647 */
1408 uprv_strcmp("he", locName)==0 || /* Add due to new tailoring of \u05F3 vs \u0027 per cldrbug 5576 */
1409 uprv_strcmp("he_IL", locName)==0 || /* Add due to new tailoring of \u05F3 vs \u0027 per cldrbug 5576 */
1410 uprv_strcmp("km", locName)==0 ||
1411 uprv_strcmp("km_KH", locName)==0 ||
1412 uprv_strcmp("my", locName)==0 ||
1413 uprv_strcmp("si", locName)==0 ||
1414 uprv_strcmp("si_LK", locName)==0 ||
1415 uprv_strcmp("sr_Latn", locName)==0 || /* Add due to import per cldrbug 5647 */
1416 uprv_strcmp("th", locName)==0 ||
1417 uprv_strcmp("th_TH", locName)==0 ||
1418 uprv_strcmp("zh", locName)==0 ||
1419 uprv_strcmp("zh_Hant", locName)==0
1422 "TODO: Fix ticket #6040 and reenable RamsRulesTest for this locale.\n", locName);
1425 log_verbose("Testing locale %s\n", locName);
1427 coll = ucol_open(locName, &status);
1431 log_err("%s has special JAMOs\n", locName);
1437 log_verbose("Skipping %s: %s\n", locName, u_errorName(status));
1441 log_err("Could not open %s: %s\n", locName, u_errorName(status));
1661 const char *locName = NULL;
1741 locName = uloc_getAvailable(i);
1742 if(hasCollationElements(locName)) {
1745 int32_t nameSize = uloc_getDisplayName(locName, NULL, name, sizeof(cName), &status);
1751 log_verbose("\nTesting locale %s (%s)\n", locName, cName);
1753 coll = ucol_open(locName, &status);
4043 static int32_t TestEqualsForCollator(const char* locName, UCollator *source, UCollator *target) {
4115 const char *locName = NULL;
4164 if(TestEqualsForCollator(locName, source, target)) {
4165 log_err("Errors for root\n", locName);
4171 locName = uloc_getAvailable(i);
4172 /*if(hasCollationElements(locName)) {*/
4173 log_verbose("Testing equality for locale %s\n", locName);
4174 source = ucol_open(locName, &status);
4175 target = ucol_open(locName, &status);
4177 log_err("Error opening collator for locale %s %s\n", locName, u_errorName(status));
4180 if(TestEqualsForCollator(locName, source, target)) {
4181 log_err("Errors for locale %s\n", locName);