Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Duresbund.cpp2513 char kwVal[1024] = ""; /* value of keyword 'keyword' */ in ures_getFunctionalEquivalent() local
2525 uloc_getKeywordValue(locid, keyword, kwVal, 1024-1,&subStatus); in ures_getFunctionalEquivalent()
2526 if(!uprv_strcmp(kwVal, DEFAULT_TAG)) { in ures_getFunctionalEquivalent()
2527 kwVal[0]=0; in ures_getFunctionalEquivalent()
2532 locid, keyword, kwVal, base, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2588 if(kwVal[0]==0) { in ures_getFunctionalEquivalent()
2589 uprv_strcpy(kwVal, defVal); in ures_getFunctionalEquivalent()
2592 path?path:"ICUDATA", parent, keyword, kwVal); in ures_getFunctionalEquivalent()
2623 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal); in ures_getFunctionalEquivalent()
2633 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundle.java117 String kwVal = locID.getKeywordValue(keyword); in getFunctionalEquivalent() local
127 if ((kwVal == null) || (kwVal.length() == 0) in getFunctionalEquivalent()
128 || kwVal.equals(DEFAULT_TAG)) { in getFunctionalEquivalent()
129 kwVal = ""; // default tag is treated as no keyword in getFunctionalEquivalent()
153 kwVal = defStr; in getFunctionalEquivalent()
173 /* UResourceBundle urb = */irb.get(kwVal); in getFunctionalEquivalent()
194 !defStr.equals(kwVal)) { // kwVal is not default in getFunctionalEquivalent()
196 kwVal = defStr; // Fall back to default. in getFunctionalEquivalent()
204 ICUResourceBundle urb = (ICUResourceBundle)irb.get(kwVal); in getFunctionalEquivalent()
235 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java113 String kwVal = locID.getKeywordValue(keyword); in getFunctionalEquivalent() local
123 if ((kwVal == null) || (kwVal.length() == 0) in getFunctionalEquivalent()
124 || kwVal.equals(DEFAULT_TAG)) { in getFunctionalEquivalent()
125 kwVal = ""; // default tag is treated as no keyword in getFunctionalEquivalent()
149 kwVal = defStr; in getFunctionalEquivalent()
169 /* UResourceBundle urb = */irb.get(kwVal); in getFunctionalEquivalent()
190 !defStr.equals(kwVal)) { // kwVal is not default in getFunctionalEquivalent()
192 kwVal = defStr; // Fall back to default. in getFunctionalEquivalent()
200 ICUResourceBundle urb = (ICUResourceBundle)irb.get(kwVal); in getFunctionalEquivalent()
231 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java3523 String kwVal = (String) mGetUnicodeLocaleType.invoke(loc, kwKey); in toULocale7() local
3524 if (kwVal != null) { in toULocale7()
3527 … variant = (variant.length() == 0) ? kwVal : kwVal + "_" + variant; in toULocale7()
3532 keywords.put(kwKey, kwVal); in toULocale7()
3605 String kwVal = kwEntry.getValue(); in toULocale7() local
3611 kwVal = bcp47ToLDMLType(kwKey, ((kwVal.length() == 0) ? "yes" : kwVal)); in toULocale7()
3621 buf.append(kwVal); in toULocale7()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java4207 String kwVal = (String) mGetUnicodeLocaleType.invoke(loc, kwKey); in toULocale7() local
4208 if (kwVal != null) { in toULocale7()
4211 … variant = (variant.length() == 0) ? kwVal : kwVal + "_" + variant; in toULocale7()
4216 keywords.put(kwKey, kwVal); in toULocale7()
4289 String kwVal = kwEntry.getValue(); in toULocale7() local
4295 kwVal = toLegacyType(kwKey, ((kwVal.length() == 0) ? "yes" : kwVal)); in toULocale7()
4305 buf.append(kwVal); in toULocale7()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java4021 String kwVal = (String) mGetUnicodeLocaleType.invoke(loc, kwKey); in toULocale7() local
4022 if (kwVal != null) { in toULocale7()
4025 … variant = (variant.length() == 0) ? kwVal : kwVal + "_" + variant; in toULocale7()
4030 keywords.put(kwKey, kwVal); in toULocale7()
4103 String kwVal = kwEntry.getValue(); in toULocale7() local
4109 kwVal = toLegacyType(kwKey, ((kwVal.length() == 0) ? "yes" : kwVal)); in toULocale7()
4119 buf.append(kwVal); in toULocale7()