Home
last modified time | relevance | path

Searched refs:ures_getByKey (Results 1 – 25 of 42) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dcreststn.c274 … r2 = ures_getByKey(r, "ExemplarCharacters", NULL, &status); /* ExemplarCharacters lives in ti */ in TestErrorCodes()
307 r2 = ures_getByKey(r, "collations", NULL, &status); in TestErrorCodes()
320 r2 = ures_getByKey(r, "collations", r2, &status); in TestErrorCodes()
490 res = ures_getByKey(theBundle, "zerotest", res, &status); in TestNewTypes()
506 res = ures_getByKey(theBundle, "binarytest", res, &status); in TestNewTypes()
519 res = ures_getByKey(theBundle, "importtest", res, &status); in TestNewTypes()
532 res = ures_getByKey(theBundle, "one", res, &status); in TestNewTypes()
544 res = ures_getByKey(theBundle, "minusone", res, &status); in TestNewTypes()
557 res = ures_getByKey(theBundle, "plusone", res, &status); in TestNewTypes()
568 res = ures_getByKey(theBundle, "onehundredtwentythree", res, &status); in TestNewTypes()
[all …]
Dcrestst.c445 subResource = ures_getByKey(fr_FR, "layout", NULL, &status); in TestFallback()
490 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode); in TestOpenDirect()
499 item=ures_getByKey(idna_rules, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
561 item=ures_getByKey(casing, "Info", NULL, &errorCode); in TestOpenDirect()
569 item=ures_getByKey(casing, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
605 item=ures_getByKey(te_IN, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
716 item=ures_getByKey(res, testcases[i].key, item, &errorCode); in TestTable32()
930 res = ures_getByKey(rb, test[i].key, res, &status); in TestGetSize()
989 res = ures_getByKey(rb, test[i].resourceKey, res, &status); in TestGetLocaleByType()
Dcldrtest.c95 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode); in TestKeyInRootRecursive()
626 fromCalendar = ures_getByKey(fromLocaleBund, "calendar", NULL, &errorCode); in compareConsistentCountryInfo()
629 toCalendar = ures_getByKey(toLocaleBund, "calendar", NULL, &errorCode); in compareConsistentCountryInfo()
632 fromArray = ures_getByKey(fromLocaleBund, "CurrencyElements", NULL, &errorCode); in compareConsistentCountryInfo()
633 toArray = ures_getByKey(toLocaleBund, "CurrencyElements", NULL, &errorCode); in compareConsistentCountryInfo()
642 fromArray = ures_getByKey(fromLocaleBund, "NumberPatterns", NULL, &errorCode); in compareConsistentCountryInfo()
643 toArray = ures_getByKey(toLocaleBund, "NumberPatterns", NULL, &errorCode); in compareConsistentCountryInfo()
661 fromArray = ures_getByKey(fromLocaleBund, "NumberElements", NULL, &errorCode); in compareConsistentCountryInfo()
662 toArray = ures_getByKey(toLocaleBund, "NumberElements", NULL, &errorCode); in compareConsistentCountryInfo()
975 UResourceBundle* cal = ures_getByKey(currentLocale, "calendar", NULL, &errorCode); in VerifyTranslation()
[all …]
/external/icu/icu4c/source/i18n/
Dulocdata.c157 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter()
204 ures_getByKey(rb, "measurementData", rb, status); in measurementTypeBundleForLocale()
206 UResourceBundle *measDataBundle = ures_getByKey(rb, region, NULL, status); in measurementTypeBundleForLocale()
208 measTypeBundle = ures_getByKey(measDataBundle, measurementType, NULL, status); in measurementTypeBundleForLocale()
215 measDataBundle = ures_getByKey(rb, "001", NULL, status); in measurementTypeBundleForLocale()
216 measTypeBundle = ures_getByKey(measDataBundle, measurementType, NULL, status); in measurementTypeBundleForLocale()
290 patternBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleDisplayPattern()
342 separatorBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleSeparator()
Dnumsys.cpp130 … UResourceBundle *numberElementsRes = ures_getByKey(resource,gNumberElements,NULL,&localStatus); in createInstance()
178 nsCurrent = ures_getByKey(numberingSystemsInfo,gNumberingSystems,NULL,&status); in createInstanceByName()
179 nsTop = ures_getByKey(nsCurrent,name,NULL,&status); in createInstanceByName()
182 ures_getByKey(nsTop,gRadix,nsCurrent,&status); in createInstanceByName()
185 ures_getByKey(nsTop,gAlgorithmic,nsCurrent,&status); in createInstanceByName()
263 …numberingSystemsInfo = ures_getByKey(numberingSystemsInfo,"numberingSystems",numberingSystemsInfo,… in getAvailableNames()
Dzonemeta.cpp281 UResourceBundle *rb = ures_getByKey(top, gTypeMapTag, NULL, &tmpStatus); in getCanonicalCLDRID()
282 ures_getByKey(rb, gTimezoneTag, rb, &tmpStatus); in getCanonicalCLDRID()
283 ures_getByKey(rb, id, rb, &tmpStatus); in getCanonicalCLDRID()
294 ures_getByKey(top, gTypeAliasTag, rb, &tmpStatus); in getCanonicalCLDRID()
295 ures_getByKey(rb, gTimezoneTag, rb, &tmpStatus); in getCanonicalCLDRID()
495 ures_getByKey(rb, gPrimaryZonesTag, rb, &status); in getCanonicalCountry()
624 ures_getByKey(rb, gMetazoneInfo, rb, &status); in createMetazoneMappings()
641 ures_getByKey(rb, tzKey, rb, &status); in createMetazoneMappings()
725 ures_getByKey(rb, gMapTimezonesTag, rb, &status); in getZoneIdByMetazone()
726 ures_getByKey(rb, keyBuf, rb, &status); in getZoneIdByMetazone()
[all …]
Dtimezone.cpp223 UResourceBundle *tmp = ures_getByKey(top, kNAMES, NULL, &status); in getZoneByName()
235 tmp = ures_getByKey(top, kZONES, tmp, &status); // get Zones object from top in getZoneByName()
254 UResourceBundle *r = ures_getByKey(top, kRULES, oldbundle, &status); in loadRule()
256 r = ures_getByKey(r, key, r, &status); in loadRule()
286 UResourceBundle *ares = ures_getByKey(top, kZONES, NULL, &ec); // dereference Zones section in openOlsonResource()
593 res = ures_getByKey(res, kNAMES, res, &ec); // dereference Zones section in initMap()
743 top = ures_getByKey(top, kNAMES, top, &ec); // dereference Zones section in getID()
819 res = ures_getByKey(res, kNAMES, res, &ec); // dereference Zones section in create()
993 ures_getByKey(&res, kLINKS, &r, &ec); in countEquivalentIDs()
1017 ures_getByKey(&res, kLINKS, &r, &ec); in getEquivalentID()
[all …]
Dregion.cpp96 …LocalUResourceBundlePointer metadataAlias(ures_getByKey(metadata.getAlias(),"alias",NULL,&status)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
97 …LocalUResourceBundlePointer territoryAlias(ures_getByKey(metadataAlias.getAlias(),"territory",NULL… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
100 …LocalUResourceBundlePointer codeMappings(ures_getByKey(supplementalData.getAlias(),"codeMappings",… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
102 …LocalUResourceBundlePointer idValidity(ures_getByKey(supplementalData.getAlias(),"idValidity",NULL… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
103 …LocalUResourceBundlePointer regionList(ures_getByKey(idValidity.getAlias(),"region",NULL,&status)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
104 …LocalUResourceBundlePointer regionRegular(ures_getByKey(regionList.getAlias(),"regular",NULL,&stat… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
105 …LocalUResourceBundlePointer regionMacro(ures_getByKey(regionList.getAlias(),"macroregion",NULL,&st… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
106 …LocalUResourceBundlePointer regionUnknown(ures_getByKey(regionList.getAlias(),"unknown",NULL,&stat… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
108 …LocalUResourceBundlePointer territoryContainment(ures_getByKey(supplementalData.getAlias(),"territ… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
109 …LocalUResourceBundlePointer worldContainment(ures_getByKey(territoryContainment.getAlias(),"001",N… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
[all …]
Ducurr.cpp323 UResourceBundle* currencyMeta = ures_getByKey(currencyData, CURRENCY_META, currencyData, &ec); in _findMetaData()
334 UResourceBundle* rb = ures_getByKey(currencyMeta, myUCharsToChars(buf, currency), NULL, &ec2); in _findMetaData()
337 rb = ures_getByKey(currencyMeta,DEFAULT_META, NULL, &ec); in _findMetaData()
592 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale()
593 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale()
726 rb = ures_getByKey(rb, CURRENCIES, rb, &ec2); in ucurr_getName()
806 rb = ures_getByKey(rb, CURRENCYPLURALS, rb, &ec2); in ucurr_getPluralName()
912 UResourceBundle* curr = ures_getByKey(rb, CURRENCIES, NULL, &ec2); in getCurrencyNameCount()
945 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec3); in getCurrencyNameCount()
1032 UResourceBundle* curr = ures_getByKey(rb, CURRENCIES, NULL, &ec2); in collectCurrencyNames()
[all …]
Dolsontz.cpp139 ures_getByKey(res, kTRANSPRE32, &r, &ec); in OlsonTimeZone()
152 ures_getByKey(res, kTRANS, &r, &ec); in OlsonTimeZone()
165 ures_getByKey(res, kTRANSPOST32, &r, &ec); in OlsonTimeZone()
178 ures_getByKey(res, kTYPEOFFSETS, &r, &ec); in OlsonTimeZone()
188 ures_getByKey(res, kTYPEMAP, &r, &ec); in OlsonTimeZone()
200 ures_getByKey(res, kFINALRAW, &r, &ec); in OlsonTimeZone()
202 ures_getByKey(res, kFINALYEAR, &r, &ec); in OlsonTimeZone()
Ducol_res.cpp119 ures_getByKey(bundle.getAlias(), "collations", NULL, &errorCode)); in loadRules()
254 collations = ures_getByKey(bundle, "collations", NULL, &errorCode); in loadFromBundle()
386 LocalUResourceBundlePointer binary(ures_getByKey(data, "%%CollationBin", NULL, &errorCode)); in loadFromData()
658 ures_getByKey(&bundle, RESOURCE_NAME, &collations, status); in ucol_getKeywordValuesForLocale()
Dtmutfmt.cpp363 unitsRes = ures_getByKey(rb, key, NULL, &status); in readFromCurrentLocale()
364 unitsRes = ures_getByKey(unitsRes, "duration", unitsRes, &status); in readFromCurrentLocale()
381 UResourceBundle* countsToPatternRB = ures_getByKey(unitsRes, in readFromCurrentLocale()
559 unitsRes = ures_getByKey(rb, key, NULL, &status); in searchInLocaleChain()
561 countsToPatternRB = ures_getByKey(unitsRes, timeUnitName, NULL, &status); in searchInLocaleChain()
Ddtitvinf.cpp252 calBundle = ures_getByKey(rb, gCalendarTag, NULL, &status); in initializeData()
253 calTypeBundle = ures_getByKey(calBundle, calendarTypeToUse, NULL, &status); in initializeData()
284 LocalUResourceBundlePointer intervalPatterns(ures_getByKey( in initializeData()
Ducal.cpp684 ures_getByKey(rb, "calendarPreferenceData", rb, status); in ucal_getKeywordValuesForLocale()
685 UResourceBundle *order = ures_getByKey(rb, prefRegion, NULL, status); in ucal_getKeywordValuesForLocale()
688 order = ures_getByKey(rb, "001", NULL, status); in ucal_getKeywordValuesForLocale()
Dgender.cpp138 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), "genderList", NULL, &status)); in loadInstance()
Dplurrule.cpp654 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, NULL, &errCode)); in getRuleFromResource()
688 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", NULL, &errCode)); in getRuleFromResource()
692 LocalUResourceBundlePointer setRes(ures_getByKey(ruleRes.getAlias(), setKey, NULL, &errCode)); in getRuleFromResource()
1619 fLocales = ures_getByKey(rb.getAlias(), "locales", NULL, &fOpenStatus); in PluralAvailableLocalesEnumeration()
/external/icu/icu4c/source/tools/ctestfw/
Dtestdata.cpp61 UResourceBundle *currHeaders = ures_getByKey(data, "Headers", NULL, &intStatus); in RBTestData()
68 fSettings = ures_getByKey(data, "Settings", NULL, &intStatus); in RBTestData()
70 UResourceBundle *info = ures_getByKey(data, "Info", NULL, &intStatus); in RBTestData()
76 fCases = ures_getByKey(data, "Cases", NULL, &status); in RBTestData()
Dtstdtmod.cpp130 fTestData = ures_getByKey(fModuleBundle, "TestData", NULL, &status); in RBTestDataModule()
132 fInfoRB = ures_getByKey(fModuleBundle, "Info", NULL, &status); in RBTestDataModule()
160 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
187 UResourceBundle *DataFillIn = ures_getByKey(fTestData, name, NULL, &status); in createTestData()
188 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
/external/icu/icu4c/source/common/
Duloc_keytype.cpp94 …LocalUResourceBundlePointer keyMapRes(ures_getByKey(keyTypeDataRes.getAlias(), "keyMap", NULL, &st… in initFromResourceBundle()
95 …LocalUResourceBundlePointer typeMapRes(ures_getByKey(keyTypeDataRes.getAlias(), "typeMap", NULL, &… in initFromResourceBundle()
102 …LocalUResourceBundlePointer typeAliasRes(ures_getByKey(keyTypeDataRes.getAlias(), "typeAlias", NUL… in initFromResourceBundle()
104 …LocalUResourceBundlePointer bcpTypeAliasRes(ures_getByKey(keyTypeDataRes.getAlias(), "bcpTypeAlias… in initFromResourceBundle()
180 …typeAliasResByKey.adoptInstead(ures_getByKey(typeAliasRes.getAlias(), legacyKeyId, NULL, &tmpSts)); in initFromResourceBundle()
187 …bcpTypeAliasResByKey.adoptInstead(ures_getByKey(bcpTypeAliasRes.getAlias(), bcpKeyId, NULL, &tmpSt… in initFromResourceBundle()
195 …LocalUResourceBundlePointer typeMapResByKey(ures_getByKey(typeMapRes.getAlias(), legacyKeyId, NULL… in initFromResourceBundle()
Dwintz.c319 ures_getByKey(bundle, "mapTimezones", bundle, &status); in uprv_detectWindowsTimeZone()
334 UResourceBundle* winTZ = ures_getByKey(bundle, regStdName, NULL, &status); in uprv_detectWindowsTimeZone()
Dlocavailable.cpp138 ures_getByKey(indexLocale, _kIndexTag, &installed, &status); in loadInstalledLocales()
Duresbund.cpp2001 U_CAPI UResourceBundle* U_EXPORT2 ures_getByKey(const UResourceBundle *resB, const char* inKey, URe… in ures_getByKey() function
2085 UResourceBundle *tempRes = ures_getByKey(resB, inKey, NULL, status); in ures_getStringByKey()
2107 UResourceBundle *tempRes = ures_getByKey(resB, inKey, NULL, status); in ures_getStringByKey()
2324 ures_getByKey(resourceBundle, resourceKey, &resData, status); in ures_countArrayItems()
2493 ures_getByKey(idx, INDEX_TAG, &myContext->installed, status); in ures_openAvailableLocales()
2588 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2645 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2650 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent()
2726 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2728 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent()
[all …]
Dresbund.cpp343 ures_getByKey(fResource, key, &r, &status); in get()
/external/icu/icu4c/source/samples/ufortune/
Dufortune.c169 fortunes_r = ures_getByKey(myResources, "fortunes", NULL, &err); in main()
/external/icu/icu4c/source/common/unicode/
Dures.h707 ures_getByKey(const UResourceBundle *resourceBundle,

12