Searched refs:legacyKey (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 5920 const char* legacyKey = NULL; in TestToLegacyKey() local 5922 legacyKey = uloc_toLegacyKey(keyword); in TestToLegacyKey() 5924 if (legacyKey != NULL) { in TestToLegacyKey() 5925 log_err("toLegacyKey: keyword=%s => %s, expected=NULL\n", keyword, legacyKey); in TestToLegacyKey() 5927 } else if (legacyKey == NULL) { 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() 5933 } else if (uprv_strcmp(legacyKey, expected) != 0) { in TestToLegacyKey() 5934 … log_data_err("toUnicodeLocaleKey: keyword=%s, %s, expected=%s\n", keyword, legacyKey, expected); in TestToLegacyKey()
|
/external/icu/icu4c/source/common/ |
D | uloc.cpp | 2553 isWellFormedLegacyKey(const char* legacyKey) in isWellFormedLegacyKey() argument 2555 const char* p = legacyKey; in isWellFormedLegacyKey() 2589 const char* legacyKey = ulocimp_toLegacyKey(keyword); in uloc_toLegacyKey() local 2590 if (legacyKey == NULL) { in uloc_toLegacyKey() 2603 return legacyKey; in uloc_toLegacyKey()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 3474 String legacyKey = KeyTypeData.toLegacyKey(keyword); in toLegacyKey() local 3475 if (legacyKey == null) { in toLegacyKey() 3485 legacyKey = AsciiUtil.toLowerString(keyword); in toLegacyKey() 3488 return legacyKey; in toLegacyKey()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 4538 String legacyKey = ULocale.toLegacyKey(keyword); in TestToLegacyKey() local 4539 assertEquals("bcpKey=" + keyword, expected, legacyKey); in TestToLegacyKey()
|