Home
last modified time | relevance | path

Searched refs:kwVal (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java114 String kwVal = locID.getKeywordValue(keyword); in getFunctionalEquivalent() local
124 if ((kwVal == null) || (kwVal.length() == 0) in getFunctionalEquivalent()
125 || kwVal.equals(DEFAULT_TAG)) { in getFunctionalEquivalent()
126 kwVal = ""; // default tag is treated as no keyword in getFunctionalEquivalent()
151 kwVal = defStr; in getFunctionalEquivalent()
171 /* UResourceBundle urb = */irb.get(kwVal); in getFunctionalEquivalent()
192 !defStr.equals(kwVal)) { // kwVal is not default in getFunctionalEquivalent()
194 kwVal = defStr; // Fall back to default. in getFunctionalEquivalent()
202 ICUResourceBundle urb = (ICUResourceBundle)irb.get(kwVal); in getFunctionalEquivalent()
233 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundle.java118 String kwVal = locID.getKeywordValue(keyword); in getFunctionalEquivalent() local
128 if ((kwVal == null) || (kwVal.length() == 0) in getFunctionalEquivalent()
129 || kwVal.equals(DEFAULT_TAG)) { in getFunctionalEquivalent()
130 kwVal = ""; // default tag is treated as no keyword in getFunctionalEquivalent()
155 kwVal = defStr; in getFunctionalEquivalent()
175 /* UResourceBundle urb = */irb.get(kwVal); in getFunctionalEquivalent()
196 !defStr.equals(kwVal)) { // kwVal is not default in getFunctionalEquivalent()
198 kwVal = defStr; // Fall back to default. in getFunctionalEquivalent()
206 ICUResourceBundle urb = (ICUResourceBundle)irb.get(kwVal); in getFunctionalEquivalent()
237 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent()
[all …]
/external/icu/icu4c/source/common/
Duresbund.cpp2610 char kwVal[1024] = ""; /* value of keyword 'keyword' */ in ures_getFunctionalEquivalent() local
2622 uloc_getKeywordValue(locid, keyword, kwVal, 1024-1,&subStatus); in ures_getFunctionalEquivalent()
2623 if(!uprv_strcmp(kwVal, DEFAULT_TAG)) { in ures_getFunctionalEquivalent()
2624 kwVal[0]=0; in ures_getFunctionalEquivalent()
2629 locid, keyword, kwVal, base, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2685 if(kwVal[0]==0) { in ures_getFunctionalEquivalent()
2686 uprv_strcpy(kwVal, defVal); in ures_getFunctionalEquivalent()
2689 path?path:"ICUDATA", parent, keyword, kwVal); in ures_getFunctionalEquivalent()
2720 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal); in ures_getFunctionalEquivalent()
2730 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java4270 String kwVal = loc.getUnicodeLocaleType(kwKey); in toULocale() local
4271 if (kwVal != null) { in toULocale()
4274 … variant = (variant.length() == 0) ? kwVal : kwVal + "_" + variant; in toULocale()
4279 keywords.put(kwKey, kwVal); in toULocale()
4347 String kwVal = kwEntry.getValue(); in toULocale() local
4353 kwVal = toLegacyType(kwKey, ((kwVal.length() == 0) ? "yes" : kwVal)); in toULocale()
4363 buf.append(kwVal); in toULocale()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java4074 String kwVal = loc.getUnicodeLocaleType(kwKey); in toULocale() local
4075 if (kwVal != null) { in toULocale()
4078 … variant = (variant.length() == 0) ? kwVal : kwVal + "_" + variant; in toULocale()
4083 keywords.put(kwKey, kwVal); in toULocale()
4151 String kwVal = kwEntry.getValue(); in toULocale() local
4157 kwVal = toLegacyType(kwKey, ((kwVal.length() == 0) ? "yes" : kwVal)); in toULocale()
4167 buf.append(kwVal); in toULocale()