Searched refs:kwVal (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUResourceBundle.java | 192 String kwVal = locID.getKeywordValue(keyword); in getFunctionalEquivalent() local 202 if ((kwVal == null) || (kwVal.length() == 0) in getFunctionalEquivalent() 203 || kwVal.equals(DEFAULT_TAG)) { in getFunctionalEquivalent() 204 kwVal = ""; // default tag is treated as no keyword in getFunctionalEquivalent() 228 kwVal = defStr; in getFunctionalEquivalent() 248 /* UResourceBundle urb = */irb.get(kwVal); in getFunctionalEquivalent() 269 !defStr.equals(kwVal)) { // kwVal is not default in getFunctionalEquivalent() 271 kwVal = defStr; // Fall back to default. in getFunctionalEquivalent() 279 UResourceBundle urb = irb.get(kwVal); in getFunctionalEquivalent() 310 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent() [all …]
|
/external/icu/icu4c/source/common/ |
D | uresbund.cpp | 2414 char kwVal[1024] = ""; /* value of keyword 'keyword' */ in ures_getFunctionalEquivalent() local 2426 uloc_getKeywordValue(locid, keyword, kwVal, 1024-1,&subStatus); in ures_getFunctionalEquivalent() 2427 if(!uprv_strcmp(kwVal, DEFAULT_TAG)) { in ures_getFunctionalEquivalent() 2428 kwVal[0]=0; in ures_getFunctionalEquivalent() 2433 locid, keyword, kwVal, base, u_errorName(subStatus)); in ures_getFunctionalEquivalent() 2489 if(kwVal[0]==0) { in ures_getFunctionalEquivalent() 2490 uprv_strcpy(kwVal, defVal); in ures_getFunctionalEquivalent() 2493 path?path:"ICUDATA", parent, keyword, kwVal); in ures_getFunctionalEquivalent() 2524 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal); in ures_getFunctionalEquivalent() 2534 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 4160 String kwVal = (String) mGetUnicodeLocaleType.invoke(loc, kwKey); in toULocale7() local 4161 if (kwVal != null) { in toULocale7() 4164 … variant = (variant.length() == 0) ? kwVal : kwVal + "_" + variant; in toULocale7() 4169 keywords.put(kwKey, kwVal); in toULocale7() 4242 String kwVal = kwEntry.getValue(); in toULocale7() local 4248 kwVal = toLegacyType(kwKey, ((kwVal.length() == 0) ? "yes" : kwVal)); in toULocale7() 4258 buf.append(kwVal); in toULocale7()
|