Searched refs:legacyType (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 6026 const char* legacyType = NULL; in TestToLegacyType() local 6028 legacyType = uloc_toLegacyType(keyword, value); in TestToLegacyType() 6030 if (legacyType != NULL) { in TestToLegacyType() 6031 … log_err("toLegacyType: keyword=%s, value=%s => %s, expected=NULL\n", keyword, value, legacyType); in TestToLegacyType() 6033 } else if (legacyType == NULL) { in TestToLegacyType() 6036 if (legacyType != value) { in TestToLegacyType() 6037 …ype: keyword=%s, value=%s => %s, expected=%s(input pointer)\n", keyword, value, legacyType, value); in TestToLegacyType() 6039 } else if (uprv_strcmp(legacyType, expected) != 0) { in TestToLegacyType() 6040 …r("toLegacyType: keyword=%s, value=%s => %s, expected=%s\n", keyword, value, legacyType, expected); in TestToLegacyType()
|
/external/icu/icu4c/source/common/ |
D | uloc.cpp | 2566 isWellFormedLegacyType(const char* legacyType) in isWellFormedLegacyType() argument 2568 const char* p = legacyType; in isWellFormedLegacyType() 2609 const char* legacyType = ulocimp_toLegacyType(keyword, value, NULL, NULL); in uloc_toLegacyType() local 2610 if (legacyType == NULL) { in uloc_toLegacyType() 2624 return legacyType; in uloc_toLegacyType()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 3519 String legacyType = KeyTypeData.toLegacyType(keyword, value, null, null); in toLegacyType() local 3520 if (legacyType == null) { in toLegacyType() 3531 legacyType = AsciiUtil.toLowerString(value); in toLegacyType() 3534 return legacyType; in toLegacyType()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 4611 String legacyType = ULocale.toLegacyType(keyword, value); in TestToLegacyType() local 4612 assertEquals("keyword=" + keyword + ", value=" + value, expected, legacyType); in TestToLegacyType()
|