Home
last modified time | relevance | path

Searched refs:bcpType (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIslamicCalendar.java953 private String bcpType; field in IslamicCalendar.CalculationType
955 CalculationType(String bcpType) { in CalculationType() argument
956 this.bcpType = bcpType; in CalculationType()
959 String bcpType() { in bcpType() method in IslamicCalendar.CalculationType
960 return bcpType; in bcpType()
1018 return cType.bcpType(); in getType()
DULocale.java3615 String bcpType = KeyTypeData.toBcpType(keyword, value, null, null); in toUnicodeLocaleType() local
3616 if (bcpType == null && UnicodeLocaleExtension.isType(value)) { in toUnicodeLocaleType()
3618 bcpType = AsciiUtil.toLowerString(value); in toUnicodeLocaleType()
3620 return bcpType; in toUnicodeLocaleType()
4068 String bcpType = uext.getUnicodeLocaleType(bcpKey); in getInstance() local
4071 …String ltype = toLegacyType(bcpKey, ((bcpType.length() == 0) ? "yes" : bcpType)); // use "yes" as … in getInstance()
4155 String bcpType = toUnicodeLocaleType(key, getKeywordValue(key)); in extensions() local
4156 if (bcpKey != null && bcpType != null) { in extensions()
4158 intbld.setUnicodeLocaleKeyword(bcpKey, bcpType); in extensions()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DIslamicCalendar.java914 private String bcpType; field in IslamicCalendar.CalculationType
916 CalculationType(String bcpType) { in CalculationType() argument
917 this.bcpType = bcpType; in CalculationType()
920 String bcpType() { in bcpType() method in IslamicCalendar.CalculationType
921 return bcpType; in bcpType()
974 return cType.bcpType(); in getType()
DULocale.java3451 String bcpType = KeyTypeData.toBcpType(keyword, value, null, null); in toUnicodeLocaleType() local
3452 if (bcpType == null && UnicodeLocaleExtension.isType(value)) { in toUnicodeLocaleType()
3454 bcpType = AsciiUtil.toLowerString(value); in toUnicodeLocaleType()
3456 return bcpType; in toUnicodeLocaleType()
3872 String bcpType = uext.getUnicodeLocaleType(bcpKey); in getInstance() local
3875 …String ltype = toLegacyType(bcpKey, ((bcpType.length() == 0) ? "yes" : bcpType)); // use "yes" as … in getInstance()
3959 String bcpType = toUnicodeLocaleType(key, getKeywordValue(key)); in extensions() local
3960 if (bcpKey != null && bcpType != null) { in extensions()
3962 intbld.setUnicodeLocaleKeyword(bcpKey, bcpType); in extensions()
/external/icu/icu4c/source/common/
Duloc.cpp2114 const char* bcpType = ulocimp_toBcpType(keyword, value, NULL, NULL); in uloc_toUnicodeLocaleType() local
2115 if (bcpType == NULL && ultag_isUnicodeLocaleType(value, -1)) { in uloc_toUnicodeLocaleType()
2119 return bcpType; in uloc_toUnicodeLocaleType()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c6599 const char* bcpType = NULL; in TestToUnicodeLocaleType() local
6601 bcpType = uloc_toUnicodeLocaleType(keyword, value); in TestToUnicodeLocaleType()
6603 if (bcpType != NULL) { in TestToUnicodeLocaleType()
6604 …g_err("toUnicodeLocaleType: keyword=%s, value=%s => %s, expected=NULL\n", keyword, value, bcpType); in TestToUnicodeLocaleType()
6606 } else if (bcpType == NULL) { in TestToUnicodeLocaleType()
6609 if (bcpType != value) { in TestToUnicodeLocaleType()
6610 …leType: keyword=%s, value=%s => %s, expected=%s(input pointer)\n", keyword, value, bcpType, value); in TestToUnicodeLocaleType()
6612 } else if (uprv_strcmp(bcpType, expected) != 0) { in TestToUnicodeLocaleType()
6613 …oUnicodeLocaleType: keyword=%s, value=%s => %s, expected=%s\n", keyword, value, bcpType, expected); in TestToUnicodeLocaleType()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java4885 String bcpType = ULocale.toUnicodeLocaleType(keyword, value); in TestToUnicodeLocaleType() local
4886 assertEquals("keyword=" + keyword + ", value=" + value, expected, bcpType); in TestToUnicodeLocaleType()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java4888 String bcpType = ULocale.toUnicodeLocaleType(keyword, value); in TestToUnicodeLocaleType() local
4889 assertEquals("keyword=" + keyword + ", value=" + value, expected, bcpType); in TestToUnicodeLocaleType()