Lines Matching defs:localeID
1670 const char *localeID;
1719 keywords = uloc_openKeywords(testCases[i].localeID, &status);
1723 testCases[i].localeID,
1750 resultLen = uloc_getName(testCases[i].localeID, buffer, 256, &status);
1754 testCases[i].localeID, testCases[i].expectedLocaleID, buffer);
1756 resultLen = uloc_canonicalize(testCases[i].localeID, buffer, 256, &status);
1759 testCases[i].localeID, testCases[i].expectedCanonicalID, buffer);
1768 const char *localeID;
1786 resultLen = uloc_getKeywordValue(testCases[i].localeID, testCases[i].keyword, buffer, 256, &status);
1790 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer);
1965 const char* localeID,
1972 return uloc_getName(localeID, result, resultCapacity, ec);
1974 return uloc_canonicalize(localeID, result, resultCapacity, ec);
1983 const char *localeID; /* input */
2088 origResultLen = _canonicalize(j, testCases[i].localeID, NULL, 0, &status);
2091 label[j], testCases[i].localeID, u_errorName(status));
2095 resultLen = _canonicalize(j, testCases[i].localeID, buffer, sizeof(buffer), &status);
2098 label[j], testCases[i].localeID, u_errorName(status));
2103 label[j], testCases[i].localeID, buffer, expected);
2106 label[j], testCases[i].localeID, buffer);
2110 label[j], testCases[i].localeID, resultLen, strlen(buffer));
2114 label[j], testCases[i].localeID, origResultLen, resultLen);
2125 const char *localeID;
2146 UEnumeration* keywordEnum = uloc_openKeywords(testCases[i].localeID, &status);
2149 log_err("uloc_getKeywords failed for locale id: %s with error : %s \n", testCases[i].localeID, u_errorName(status));
2162 log_err("uloc_getDisplayKeyword filed for keyword : %s in locale id: %s for display locale: %s \n", testCases[i].localeID, keyword, testCases[i].displayLocale, u_errorName(status));
2167 log_data_err("uloc_getDisplayKeyword did not get the expected value for keyword : %s in locale id: %s for display locale: %s . Got error: %s. Perhaps you are missing data?\n", testCases[i].localeID, keyword, testCases[i].displayLocale, u_errorName(status));
2169 log_err("uloc_getDisplayKeyword did not get the expected value for keyword : %s in locale id: %s for display locale: %s \n", testCases[i].localeID, keyword, testCases[i].displayLocale);
2188 const char *localeID;
2228 UEnumeration* keywordEnum = uloc_openKeywords(testCases[i].localeID, &status);
2231 log_err("uloc_getKeywords failed for locale id: %s in display locale: % with error : %s \n", testCases[i].localeID, testCases[i].displayLocale, u_errorName(status));
2238 displayKeywordValueLen = uloc_getDisplayKeywordValue(testCases[i].localeID, keyword, testCases[i].displayLocale, displayKeywordValue, displayKeywordValueLen, &status);
2243 displayKeywordValueLen = uloc_getDisplayKeywordValue(testCases[i].localeID, keyword, testCases[i].displayLocale, displayKeywordValue, displayKeywordValueLen, &status);
2245 log_err("uloc_getDisplayKeywordValue failed for keyword : %s in locale id: %s for display locale: %s with error : %s \n", testCases[i].localeID, keyword, testCases[i].displayLocale, u_errorName(status));
2250 log_data_err("uloc_getDisplayKeywordValue did not return the expected value keyword : %s in locale id: %s for display locale: %s with error : %s Perhaps you are missing data\n", testCases[i].localeID, keyword, testCases[i].displayLocale, u_errorName(status));
2252 log_err("uloc_getDisplayKeywordValue did not return the expected value keyword : %s in locale id: %s for display locale: %s with error : %s \n", testCases[i].localeID, keyword, testCases[i].displayLocale, u_errorName(status));
2269 const char* localeID = "es@collation=phonebook;calendar=buddhist;currency=DEM";
2278 UEnumeration* keywordEnum = uloc_openKeywords(localeID, &status);
2284 log_err("uloc_getKeywords failed for locale id: %s in display locale: % with error : %s \n", localeID, displayLocale, u_errorName(status));
2291 displayKeywordValueLen = uloc_getDisplayKeywordValue(localeID, keyword, displayLocale, displayKeywordValue, displayKeywordValueLen, &status);
2296 displayKeywordValueLen = uloc_getDisplayKeywordValue(localeID, keyword, displayLocale, displayKeywordValue, displayKeywordValueLen, &status);
2298 log_err("uloc_getDisplayKeywordValue failed for keyword : %s in locale id: %s for display locale: %s with error : %s \n", localeID, keyword, displayLocale, u_errorName(status));
2303 log_data_err("uloc_getDisplayKeywordValue did not return the expected value keyword : %s in locale id: %s for display locale: %s got error: %s. Perhaps you are missing data?\n", localeID, keyword, displayLocale, u_errorName(status));
2305 log_err("uloc_getDisplayKeywordValue did not return the expected value keyword : %s in locale id: %s for display locale: %s \n", localeID, keyword, displayLocale);
2320 const char* localeID = "es";
2326 displayKeywordValueLen = uloc_getDisplayKeywordValue(localeID, "calendar", displayLocale, displayKeywordValue, displayKeywordValueLen, &status);
2338 const char *localeID;
2351 baseNameLen = uloc_getBaseName(testCases[i].localeID, baseName, 256, &status);
2355 testCases[i].localeID, testCases[i].baseName, baseName);
2362 const char* localeId = "zh_Hans";
2368 len = uloc_getDisplayName(localeId, localeId, buffer, 128, &status);
2896 const char* localeId;
2943 const char* const localeId = toTest[i].localeId;
2944 const ULayoutType co = uloc_getCharacterOrientation(localeId, &statusCO);
2946 const ULayoutType lo = uloc_getLineOrientation(localeId, &statusLO);
2951 localeId,
2956 " unexpected result for uloc_getCharacterOrientation(), with localeId \"%s\". Expected %s but got result %s\n",
2957 localeId,
2964 localeId,
2969 " unexpected result for uloc_getLineOrientation(), with localeId \"%s\". Expected %s but got result %s\n",
2970 localeId,