Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/cintltst/
Dcreststn.c277 … r2 = ures_getByKey(r, "ExemplarCharacters", NULL, &status); /* ExemplarCharacters lives in ti */ in TestErrorCodes()
310 r2 = ures_getByKey(r, "collations", NULL, &status); in TestErrorCodes()
323 r2 = ures_getByKey(r, "collations", r2, &status); in TestErrorCodes()
493 res = ures_getByKey(theBundle, "zerotest", res, &status); in TestNewTypes()
509 res = ures_getByKey(theBundle, "binarytest", res, &status); in TestNewTypes()
522 res = ures_getByKey(theBundle, "importtest", res, &status); in TestNewTypes()
535 res = ures_getByKey(theBundle, "one", res, &status); in TestNewTypes()
547 res = ures_getByKey(theBundle, "minusone", res, &status); in TestNewTypes()
560 res = ures_getByKey(theBundle, "plusone", res, &status); in TestNewTypes()
571 res = ures_getByKey(theBundle, "onehundredtwentythree", res, &status); in TestNewTypes()
[all …]
Dcrestst.c448 subResource = ures_getByKey(fr_FR, "layout", NULL, &status); in TestFallback()
493 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode); in TestOpenDirect()
502 item=ures_getByKey(idna_rules, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
564 item=ures_getByKey(casing, "Info", NULL, &errorCode); in TestOpenDirect()
572 item=ures_getByKey(casing, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
608 item=ures_getByKey(te_IN, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
719 item=ures_getByKey(res, testcases[i].key, item, &errorCode); in TestTable32()
933 res = ures_getByKey(rb, test[i].key, res, &status); in TestGetSize()
992 res = ures_getByKey(rb, test[i].resourceKey, res, &status); in TestGetLocaleByType()
Dcldrtest.c98 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode); in TestKeyInRootRecursive()
629 fromCalendar = ures_getByKey(fromLocaleBund, "calendar", NULL, &errorCode); in compareConsistentCountryInfo()
632 toCalendar = ures_getByKey(toLocaleBund, "calendar", NULL, &errorCode); in compareConsistentCountryInfo()
635 fromArray = ures_getByKey(fromLocaleBund, "CurrencyElements", NULL, &errorCode); in compareConsistentCountryInfo()
636 toArray = ures_getByKey(toLocaleBund, "CurrencyElements", NULL, &errorCode); in compareConsistentCountryInfo()
645 fromArray = ures_getByKey(fromLocaleBund, "NumberPatterns", NULL, &errorCode); in compareConsistentCountryInfo()
646 toArray = ures_getByKey(toLocaleBund, "NumberPatterns", NULL, &errorCode); in compareConsistentCountryInfo()
664 fromArray = ures_getByKey(fromLocaleBund, "NumberElements", NULL, &errorCode); in compareConsistentCountryInfo()
665 toArray = ures_getByKey(toLocaleBund, "NumberElements", NULL, &errorCode); in compareConsistentCountryInfo()
978 UResourceBundle* cal = ures_getByKey(currentLocale, "calendar", NULL, &errorCode); in VerifyTranslation()
[all …]
/external/icu/icu4c/source/i18n/
Dulocdata.c160 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter()
202 ures_getByKey(rb, "measurementData", rb, status); in measurementTypeBundleForLocale()
204 UResourceBundle *measDataBundle = ures_getByKey(rb, region, NULL, status); in measurementTypeBundleForLocale()
206 measTypeBundle = ures_getByKey(measDataBundle, measurementType, NULL, status); in measurementTypeBundleForLocale()
213 measDataBundle = ures_getByKey(rb, "001", NULL, status); in measurementTypeBundleForLocale()
214 measTypeBundle = ures_getByKey(measDataBundle, measurementType, NULL, status); in measurementTypeBundleForLocale()
288 patternBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleDisplayPattern()
340 separatorBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleSeparator()
Dnumsys.cpp132 … UResourceBundle *numberElementsRes = ures_getByKey(resource,gNumberElements,NULL,&localStatus); in createInstance()
180 nsCurrent = ures_getByKey(numberingSystemsInfo,gNumberingSystems,NULL,&status); in createInstanceByName()
181 nsTop = ures_getByKey(nsCurrent,name,NULL,&status); in createInstanceByName()
184 ures_getByKey(nsTop,gRadix,nsCurrent,&status); in createInstanceByName()
187 ures_getByKey(nsTop,gAlgorithmic,nsCurrent,&status); in createInstanceByName()
265 …numberingSystemsInfo = ures_getByKey(numberingSystemsInfo,"numberingSystems",numberingSystemsInfo,… in getAvailableNames()
Dzonemeta.cpp283 UResourceBundle *rb = ures_getByKey(top, gTypeMapTag, NULL, &tmpStatus); in getCanonicalCLDRID()
284 ures_getByKey(rb, gTimezoneTag, rb, &tmpStatus); in getCanonicalCLDRID()
285 ures_getByKey(rb, id, rb, &tmpStatus); in getCanonicalCLDRID()
296 ures_getByKey(top, gTypeAliasTag, rb, &tmpStatus); in getCanonicalCLDRID()
297 ures_getByKey(rb, gTimezoneTag, rb, &tmpStatus); in getCanonicalCLDRID()
497 ures_getByKey(rb, gPrimaryZonesTag, rb, &status); in getCanonicalCountry()
626 ures_getByKey(rb, gMetazoneInfo, rb, &status); in createMetazoneMappings()
643 ures_getByKey(rb, tzKey, rb, &status); in createMetazoneMappings()
727 ures_getByKey(rb, gMapTimezonesTag, rb, &status); in getZoneIdByMetazone()
728 ures_getByKey(rb, keyBuf, rb, &status); in getZoneIdByMetazone()
[all …]
Dregion.cpp97 …LocalUResourceBundlePointer metadataAlias(ures_getByKey(metadata.getAlias(),"alias",NULL,&status)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
98 …LocalUResourceBundlePointer territoryAlias(ures_getByKey(metadataAlias.getAlias(),"territory",NULL… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
101 …LocalUResourceBundlePointer codeMappings(ures_getByKey(supplementalData.getAlias(),"codeMappings",… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
103 …LocalUResourceBundlePointer idValidity(ures_getByKey(supplementalData.getAlias(),"idValidity",NULL… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
104 …LocalUResourceBundlePointer regionList(ures_getByKey(idValidity.getAlias(),"region",NULL,&status)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
105 …LocalUResourceBundlePointer regionRegular(ures_getByKey(regionList.getAlias(),"regular",NULL,&stat… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
106 …LocalUResourceBundlePointer regionMacro(ures_getByKey(regionList.getAlias(),"macroregion",NULL,&st… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
107 …LocalUResourceBundlePointer regionUnknown(ures_getByKey(regionList.getAlias(),"unknown",NULL,&stat… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
109 …LocalUResourceBundlePointer territoryContainment(ures_getByKey(supplementalData.getAlias(),"territ… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
110 …LocalUResourceBundlePointer worldContainment(ures_getByKey(territoryContainment.getAlias(),"001",N… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
[all …]
Dtimezone.cpp225 UResourceBundle *tmp = ures_getByKey(top, kNAMES, NULL, &status); in getZoneByName()
237 tmp = ures_getByKey(top, kZONES, tmp, &status); // get Zones object from top in getZoneByName()
256 UResourceBundle *r = ures_getByKey(top, kRULES, oldbundle, &status); in loadRule()
258 r = ures_getByKey(r, key, r, &status); in loadRule()
288 UResourceBundle *ares = ures_getByKey(top, kZONES, NULL, &ec); // dereference Zones section in openOlsonResource()
597 res = ures_getByKey(res, kNAMES, res, &ec); // dereference Zones section in initMap()
747 top = ures_getByKey(top, kNAMES, top, &ec); // dereference Zones section in getID()
823 res = ures_getByKey(res, kNAMES, res, &ec); // dereference Zones section in create()
997 ures_getByKey(&res, kLINKS, &r, &ec); in countEquivalentIDs()
1021 ures_getByKey(&res, kLINKS, &r, &ec); in getEquivalentID()
[all …]
Dolsontz.cpp141 ures_getByKey(res, kTRANSPRE32, &r, &ec); in OlsonTimeZone()
154 ures_getByKey(res, kTRANS, &r, &ec); in OlsonTimeZone()
167 ures_getByKey(res, kTRANSPOST32, &r, &ec); in OlsonTimeZone()
180 ures_getByKey(res, kTYPEOFFSETS, &r, &ec); in OlsonTimeZone()
190 ures_getByKey(res, kTYPEMAP, &r, &ec); in OlsonTimeZone()
202 ures_getByKey(res, kFINALRAW, &r, &ec); in OlsonTimeZone()
204 ures_getByKey(res, kFINALYEAR, &r, &ec); in OlsonTimeZone()
Dtmutfmt.cpp474 LocalUResourceBundlePointer unitsRes(ures_getByKey(rb.getAlias(), key, NULL, &status)); in readFromCurrentLocale()
475 ures_getByKey(unitsRes.getAlias(), "duration", unitsRes.getAlias(), &status); in readFromCurrentLocale()
567 LocalUResourceBundlePointer unitsRes(ures_getByKey(rb.getAlias(), key, NULL, &status)); in searchInLocaleChain()
569 …LocalUResourceBundlePointer countsToPatternRB(ures_getByKey(unitsRes.getAlias(), timeUnitName, NUL… in searchInLocaleChain()
Ducol_res.cpp123 ures_getByKey(bundle.getAlias(), "collations", NULL, &errorCode)); in loadRules()
258 collations = ures_getByKey(bundle, "collations", NULL, &errorCode); in loadFromBundle()
390 LocalUResourceBundlePointer binary(ures_getByKey(data, "%%CollationBin", NULL, &errorCode)); in loadFromData()
Ducal.cpp680 ures_getByKey(rb, "calendarPreferenceData", rb, status); in ucal_getKeywordValuesForLocale()
681 UResourceBundle *order = ures_getByKey(rb, prefRegion, NULL, status); in ucal_getKeywordValuesForLocale()
684 order = ures_getByKey(rb, "001", NULL, status); in ucal_getKeywordValuesForLocale()
Dgender.cpp140 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), "genderList", NULL, &status)); in loadInstance()
Dcalendar.cpp297 ures_getByKey(rb, "calendarPreferenceData", rb, &status); in getCalendarTypeForLocale()
298 UResourceBundle *order = ures_getByKey(rb, region, NULL, &status); in getCalendarTypeForLocale()
301 order = ures_getByKey(rb, "001", NULL, &status); in getCalendarTypeForLocale()
3801 ures_getByKey(calData.getAlias(), gCalendar, calData.getAlias(), &status); in setWeekData()
3832 ures_getByKey(rb, "weekData", rb, &status); in setWeekData()
3833 UResourceBundle *weekData = ures_getByKey(rb, region, NULL, &status); in setWeekData()
3836 weekData = ures_getByKey(rb, "001", NULL, &status); in setWeekData()
Dplurrule.cpp655 LocalUResourceBundlePointer locRes(ures_getByKey(rb.getAlias(), typeKey, NULL, &errCode)); in getRuleFromResource()
689 LocalUResourceBundlePointer ruleRes(ures_getByKey(rb.getAlias(), "rules", NULL, &errCode)); in getRuleFromResource()
693 LocalUResourceBundlePointer setRes(ures_getByKey(ruleRes.getAlias(), setKey, NULL, &errCode)); in getRuleFromResource()
1620 fLocales = ures_getByKey(rb.getAlias(), "locales", NULL, &fOpenStatus); in PluralAvailableLocalesEnumeration()
/external/icu/icu4c/source/tools/ctestfw/
Dtestdata.cpp63 UResourceBundle *currHeaders = ures_getByKey(data, "Headers", NULL, &intStatus); in RBTestData()
70 fSettings = ures_getByKey(data, "Settings", NULL, &intStatus); in RBTestData()
72 UResourceBundle *info = ures_getByKey(data, "Info", NULL, &intStatus); in RBTestData()
78 fCases = ures_getByKey(data, "Cases", NULL, &status); in RBTestData()
Dtstdtmod.cpp132 fTestData = ures_getByKey(fModuleBundle, "TestData", NULL, &status); in RBTestDataModule()
134 fInfoRB = ures_getByKey(fModuleBundle, "Info", NULL, &status); in RBTestDataModule()
162 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
189 UResourceBundle *DataFillIn = ures_getByKey(fTestData, name, NULL, &status); in createTestData()
190 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
/external/icu/icu4c/source/common/
Ducurr.cpp319 UResourceBundle* currencyMeta = ures_getByKey(currencyData, CURRENCY_META, currencyData, &ec); in _findMetaData()
330 UResourceBundle* rb = ures_getByKey(currencyMeta, myUCharsToChars(buf, currency), NULL, &ec2); in _findMetaData()
333 rb = ures_getByKey(currencyMeta,DEFAULT_META, NULL, &ec); in _findMetaData()
588 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale()
589 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale()
722 rb = ures_getByKey(rb, CURRENCIES, rb, &ec2); in ucurr_getName()
793 rb = ures_getByKey(rb, CURRENCYPLURALS, rb, &ec2); in ucurr_getPluralName()
899 UResourceBundle* curr = ures_getByKey(rb, CURRENCIES, NULL, &ec2); in getCurrencyNameCount()
916 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec3); in getCurrencyNameCount()
1003 UResourceBundle* curr = ures_getByKey(rb, CURRENCIES, NULL, &ec2); in collectCurrencyNames()
[all …]
Duloc_keytype.cpp98 …LocalUResourceBundlePointer keyMapRes(ures_getByKey(keyTypeDataRes.getAlias(), "keyMap", NULL, &st… in initFromResourceBundle()
99 …LocalUResourceBundlePointer typeMapRes(ures_getByKey(keyTypeDataRes.getAlias(), "typeMap", NULL, &… in initFromResourceBundle()
106 …LocalUResourceBundlePointer typeAliasRes(ures_getByKey(keyTypeDataRes.getAlias(), "typeAlias", NUL… in initFromResourceBundle()
108 …LocalUResourceBundlePointer bcpTypeAliasRes(ures_getByKey(keyTypeDataRes.getAlias(), "bcpTypeAlias… in initFromResourceBundle()
184 …typeAliasResByKey.adoptInstead(ures_getByKey(typeAliasRes.getAlias(), legacyKeyId, NULL, &tmpSts)); in initFromResourceBundle()
191 …bcpTypeAliasResByKey.adoptInstead(ures_getByKey(bcpTypeAliasRes.getAlias(), bcpKeyId, NULL, &tmpSt… in initFromResourceBundle()
199 …LocalUResourceBundlePointer typeMapResByKey(ures_getByKey(typeMapRes.getAlias(), legacyKeyId, NULL… in initFromResourceBundle()
Dwintz.c321 ures_getByKey(bundle, "mapTimezones", bundle, &status); in uprv_detectWindowsTimeZone()
336 UResourceBundle* winTZ = ures_getByKey(bundle, regStdName, NULL, &status); in uprv_detectWindowsTimeZone()
Dlocavailable.cpp140 ures_getByKey(indexLocale, _kIndexTag, &installed, &status); in loadInstalledLocales()
Duresbund.cpp1980 U_CAPI UResourceBundle* U_EXPORT2 ures_getByKey(const UResourceBundle *resB, const char* inKey, URe… in ures_getByKey() function
2064 UResourceBundle *tempRes = ures_getByKey(resB, inKey, NULL, status); in ures_getStringByKey()
2086 UResourceBundle *tempRes = ures_getByKey(resB, inKey, NULL, status); in ures_getStringByKey()
2303 ures_getByKey(resourceBundle, resourceKey, &resData, status); in ures_countArrayItems()
2476 ures_getByKey(idx, INDEX_TAG, &myContext->installed, status); in ures_openAvailableLocales()
2571 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2628 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2633 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent()
2709 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2711 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent()
[all …]
Dresbund.cpp345 ures_getByKey(fResource, key, &r, &status); in get()
/external/icu/icu4c/source/samples/ufortune/
Dufortune.c175 fortunes_r = ures_getByKey(myResources, "fortunes", NULL, &err); in main()
/external/icu/icu4c/source/common/unicode/
Dures.h713 ures_getByKey(const UResourceBundle *resourceBundle,

12