Lines Matching refs:keyword

1719     const char *keyword = NULL;  in TestKeywordVariants()  local
1739 while((keyword = uenum_next(keywords, &keywordLen, &status))) { in TestKeywordVariants()
1740 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants()
1741 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants()
1747 while((keyword = uenum_next(keywords, &keywordLen, &status))) { in TestKeywordVariants()
1748 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants()
1749 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants()
1775 const char *keyword; in TestKeywordVariantParsing() member
1792 …resultLen = uloc_getKeywordValue(testCases[i].localeID, testCases[i].keyword, buffer, 256, &status… in TestKeywordVariantParsing()
1796 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); in TestKeywordVariantParsing()
2147 const char* keyword =NULL; in TestDisplayKeywords() local
2159 keyword = uenum_next(keywordEnum, &keywordLen, &status); in TestDisplayKeywords()
2161 …displayKeywordLen = uloc_getDisplayKeyword(keyword, testCases[i].displayLocale, displayKeyword, di… in TestDisplayKeywords()
2166 …displayKeywordLen = uloc_getDisplayKeyword(keyword, testCases[i].displayLocale, displayKeyword, di… in TestDisplayKeywords()
2168 …: %s in locale id: %s for display locale: %s \n", testCases[i].localeID, keyword, testCases[i].dis… in TestDisplayKeywords()
2173 … Got error: %s. Perhaps you are missing data?\n", testCases[i].localeID, keyword, testCases[i].dis… in TestDisplayKeywords()
2175 …: %s in locale id: %s for display locale: %s \n", testCases[i].localeID, keyword, testCases[i].dis… in TestDisplayKeywords()
2229 const char* keyword =NULL; in TestDisplayKeywordValues() local
2241 keyword = uenum_next(keywordEnum, &keywordLen, &status); in TestDisplayKeywordValues()
2244 …displayKeywordValueLen = uloc_getDisplayKeywordValue(testCases[i].localeID, keyword, testCases[i].… in TestDisplayKeywordValues()
2249 …playKeywordValueLen = uloc_getDisplayKeywordValue(testCases[i].localeID, keyword, testCases[i].dis… in TestDisplayKeywordValues()
2251 …d: %s for display locale: %s with error : %s \n", testCases[i].localeID, keyword, testCases[i].dis… in TestDisplayKeywordValues()
2256 … with error : %s Perhaps you are missing data\n", testCases[i].localeID, keyword, testCases[i].dis… in TestDisplayKeywordValues()
2258 …d: %s for display locale: %s with error : %s \n", testCases[i].localeID, keyword, testCases[i].dis… in TestDisplayKeywordValues()
2272 const char* keyword =NULL; in TestDisplayKeywordValues() local
2294 keyword = uenum_next(keywordEnum, &keywordLen, &status); in TestDisplayKeywordValues()
2297 …displayKeywordValueLen = uloc_getDisplayKeywordValue(localeID, keyword, displayLocale, displayKeyw… in TestDisplayKeywordValues()
2302 …displayKeywordValueLen = uloc_getDisplayKeywordValue(localeID, keyword, displayLocale, displayKeyw… in TestDisplayKeywordValues()
2304 …s in locale id: %s for display locale: %s with error : %s \n", localeID, keyword, displayLocale, u… in TestDisplayKeywordValues()
2309 …y locale: %s got error: %s. Perhaps you are missing data?\n", localeID, keyword, displayLocale, u… in TestDisplayKeywordValues()
2311 … value keyword : %s in locale id: %s for display locale: %s \n", localeID, keyword, displayLocale); in TestDisplayKeywordValues()
5881 const char* keyword = DATA[i][0]; in TestToUnicodeLocaleKey() local
5885 bcpKey = uloc_toUnicodeLocaleKey(keyword); in TestToUnicodeLocaleKey()
5888 log_err("toUnicodeLocaleKey: keyword=%s => %s, expected=NULL\n", keyword, bcpKey); in TestToUnicodeLocaleKey()
5891 … log_data_err("toUnicodeLocaleKey: keyword=%s => NULL, expected=%s\n", keyword, expected); in TestToUnicodeLocaleKey()
5893 if (bcpKey != keyword) { in TestToUnicodeLocaleKey()
5894 …rr("toUnicodeLocaleKey: keyword=%s => %s, expected=%s(input pointer)\n", keyword, bcpKey, keyword); in TestToUnicodeLocaleKey()
5897 … log_err("toUnicodeLocaleKey: keyword=%s => %s, expected=%s\n", keyword, bcpKey, expected); in TestToUnicodeLocaleKey()
5918 const char* keyword = DATA[i][0]; in TestToLegacyKey() local
5922 legacyKey = uloc_toLegacyKey(keyword); in TestToLegacyKey()
5925 log_err("toLegacyKey: keyword=%s => %s, expected=NULL\n", keyword, legacyKey); in TestToLegacyKey()
5928 log_err("toLegacyKey: keyword=%s => NULL, expected=%s\n", keyword, expected); in TestToLegacyKey()
5930 if (legacyKey != keyword) { in TestToLegacyKey()
5931 …og_err("toLegacyKey: keyword=%s => %s, expected=%s(input pointer)\n", keyword, legacyKey, keyword); in TestToLegacyKey()
5934 … log_data_err("toUnicodeLocaleKey: keyword=%s, %s, expected=%s\n", keyword, legacyKey, expected); in TestToLegacyKey()
5969 const char* keyword = DATA[i][0]; in TestToUnicodeLocaleType() local
5974 bcpType = uloc_toUnicodeLocaleType(keyword, value); in TestToUnicodeLocaleType()
5977 …log_err("toUnicodeLocaleType: keyword=%s, value=%s => %s, expected=NULL\n", keyword, value, bcpTyp… in TestToUnicodeLocaleType()
5980 …_err("toUnicodeLocaleType: keyword=%s, value=%s => NULL, expected=%s\n", keyword, value, expected); in TestToUnicodeLocaleType()
5983 …deLocaleType: keyword=%s, value=%s => %s, expected=%s(input pointer)\n", keyword, value, bcpType, … in TestToUnicodeLocaleType()
5986 …log_data_err("toUnicodeLocaleType: keyword=%s, value=%s => %s, expected=%s\n", keyword, value, bcp… in TestToUnicodeLocaleType()
6023 const char* keyword = DATA[i][0]; in TestToLegacyType() local
6028 legacyType = uloc_toLegacyType(keyword, value); in TestToLegacyType()
6031 … log_err("toLegacyType: keyword=%s, value=%s => %s, expected=NULL\n", keyword, value, legacyType); in TestToLegacyType()
6034 … log_err("toLegacyType: keyword=%s, value=%s => NULL, expected=%s\n", keyword, value, expected); in TestToLegacyType()
6037 …toLegacyType: keyword=%s, value=%s => %s, expected=%s(input pointer)\n", keyword, value, legacyTyp… in TestToLegacyType()
6040 …log_data_err("toLegacyType: keyword=%s, value=%s => %s, expected=%s\n", keyword, value, legacyType… in TestToLegacyType()