Home
last modified time | relevance | path

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

/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.java3299 String bcpType = KeyTypeData.toBcpType(keyword, value, null, null); in toUnicodeLocaleType() local
3300 if (bcpType == null && UnicodeLocaleExtension.isType(value)) { in toUnicodeLocaleType()
3302 bcpType = AsciiUtil.toLowerString(value); in toUnicodeLocaleType()
3304 return bcpType; in toUnicodeLocaleType()
3720 String bcpType = uext.getUnicodeLocaleType(bcpKey); in getInstance() local
3723 …String ltype = toLegacyType(bcpKey, ((bcpType.length() == 0) ? "yes" : bcpType)); // use "yes" as … in getInstance()
3807 String bcpType = toUnicodeLocaleType(key, getKeywordValue(key)); in extensions() local
3808 if (bcpKey != null && bcpType != null) { in extensions()
3810 intbld.setUnicodeLocaleKeyword(bcpKey, bcpType); in extensions()
/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.java3436 String bcpType = KeyTypeData.toBcpType(keyword, value, null, null); in toUnicodeLocaleType() local
3437 if (bcpType == null && UnicodeLocaleExtension.isType(value)) { in toUnicodeLocaleType()
3439 bcpType = AsciiUtil.toLowerString(value); in toUnicodeLocaleType()
3441 return bcpType; in toUnicodeLocaleType()
3889 String bcpType = uext.getUnicodeLocaleType(bcpKey); in getInstance() local
3892 …String ltype = toLegacyType(bcpKey, ((bcpType.length() == 0) ? "yes" : bcpType)); // use "yes" as … in getInstance()
3976 String bcpType = toUnicodeLocaleType(key, getKeywordValue(key)); in extensions() local
3977 if (bcpKey != null && bcpType != null) { in extensions()
3979 intbld.setUnicodeLocaleKeyword(bcpKey, bcpType); in extensions()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java3127 String bcpType = uext.getUnicodeLocaleType(bcpKey); in getInstance() local
3130 …String ltype = bcp47ToLDMLType(lkey, ((bcpType.length() == 0) ? "yes" : bcpType)); // use "yes" as… in getInstance()
3209 String bcpType = ldmlTypeToBCP47(key, getKeywordValue(key)); in extensions() local
3210 if (bcpKey != null && bcpType != null) { in extensions()
3212 intbld.setUnicodeLocaleKeyword(bcpKey, bcpType); in extensions()
3283 String bcpType = null; in ldmlTypeToBCP47() local
3329 bcpType = map[i + 1]; in ldmlTypeToBCP47()
3335 if (bcpType == null) { in ldmlTypeToBCP47()
3342 return bcpType; in ldmlTypeToBCP47()
3345 private static String bcp47ToLDMLType(String key, String bcpType) { in bcp47ToLDMLType() argument
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DKeyTypeDataConverter.java230 … String bcpType = LDMLUtilities.getAttributeValue(node2, LDMLBCP47Constants.NAME); in addTypeMaps() local
250 if (type != null && !bcpType.equals(type)) { in addTypeMaps()
257 singleTypeMap.put(escapeKey(type), bcpType); in addTypeMaps() local
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c6313 const char* bcpType = NULL; in TestToUnicodeLocaleType() local
6315 bcpType = uloc_toUnicodeLocaleType(keyword, value); in TestToUnicodeLocaleType()
6317 if (bcpType != NULL) { in TestToUnicodeLocaleType()
6318 …g_err("toUnicodeLocaleType: keyword=%s, value=%s => %s, expected=NULL\n", keyword, value, bcpType); in TestToUnicodeLocaleType()
6320 } else if (bcpType == NULL) { in TestToUnicodeLocaleType()
6323 if (bcpType != value) { in TestToUnicodeLocaleType()
6324 …leType: keyword=%s, value=%s => %s, expected=%s(input pointer)\n", keyword, value, bcpType, value); in TestToUnicodeLocaleType()
6326 } else if (uprv_strcmp(bcpType, expected) != 0) { in TestToUnicodeLocaleType()
6327 …oUnicodeLocaleType: keyword=%s, value=%s => %s, expected=%s\n", keyword, value, bcpType, expected); in TestToUnicodeLocaleType()
/external/icu/icu4c/source/common/
Duloc.cpp2591 const char* bcpType = ulocimp_toBcpType(keyword, value, NULL, NULL); in uloc_toUnicodeLocaleType() local
2592 if (bcpType == NULL && ultag_isUnicodeLocaleType(value, -1)) { in uloc_toUnicodeLocaleType()
2596 return bcpType; in uloc_toUnicodeLocaleType()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java4755 String bcpType = ULocale.toUnicodeLocaleType(keyword, value); in TestToUnicodeLocaleType() local
4756 assertEquals("keyword=" + keyword + ", value=" + value, expected, bcpType); in TestToUnicodeLocaleType()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java4752 String bcpType = ULocale.toUnicodeLocaleType(keyword, value); in TestToUnicodeLocaleType() local
4753 assertEquals("keyword=" + keyword + ", value=" + value, expected, bcpType); in TestToUnicodeLocaleType()