Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/icu/source/test/cintltst/
Dcreststn.c273 r2 = ures_getByKey(r, "LocaleScript", NULL, &status); /* LocaleScript lives in ti */ in TestErrorCodes()
287 r2 = ures_getByKey(r, "Countries", r2, &status); in TestErrorCodes()
313 r2 = ures_getByKey(r, "collations", NULL, &status); in TestErrorCodes()
326 r2 = ures_getByKey(r, "collations", r2, &status); in TestErrorCodes()
499 res = ures_getByKey(theBundle, "zerotest", res, &status); in TestNewTypes()
515 res = ures_getByKey(theBundle, "binarytest", res, &status); in TestNewTypes()
528 res = ures_getByKey(theBundle, "importtest", res, &status); in TestNewTypes()
541 res = ures_getByKey(theBundle, "one", res, &status); in TestNewTypes()
553 res = ures_getByKey(theBundle, "minusone", res, &status); in TestNewTypes()
566 res = ures_getByKey(theBundle, "plusone", res, &status); in TestNewTypes()
[all …]
Dcrestst.c448 subResource = ures_getByKey(fr_FR, "MeasurementSystem", 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.c91 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode); in TestKeyInRootRecursive()
612 fromCalendar = ures_getByKey(fromLocaleBund, "calendar", NULL, &errorCode); in compareConsistentCountryInfo()
616 toCalendar = ures_getByKey(toLocaleBund, "calendar", NULL, &errorCode); in compareConsistentCountryInfo()
686 fromArray = ures_getByKey(fromLocaleBund, "CurrencyElements", NULL, &errorCode); in compareConsistentCountryInfo()
687 toArray = ures_getByKey(toLocaleBund, "CurrencyElements", NULL, &errorCode); in compareConsistentCountryInfo()
696 fromArray = ures_getByKey(fromLocaleBund, "NumberPatterns", NULL, &errorCode); in compareConsistentCountryInfo()
697 toArray = ures_getByKey(toLocaleBund, "NumberPatterns", NULL, &errorCode); in compareConsistentCountryInfo()
715 fromArray = ures_getByKey(fromLocaleBund, "NumberElements", NULL, &errorCode); in compareConsistentCountryInfo()
716 toArray = ures_getByKey(toLocaleBund, "NumberElements", NULL, &errorCode); in compareConsistentCountryInfo()
1020 UResourceBundle* cal = ures_getByKey(currentLocale, "calendar", NULL, &errorCode); in VerifyTranslation()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c274 r2 = ures_getByKey(r, "LocaleScript", NULL, &status); /* LocaleScript 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()
494 res = ures_getByKey(theBundle, "zerotest", res, &status); in TestNewTypes()
510 res = ures_getByKey(theBundle, "binarytest", res, &status); in TestNewTypes()
523 res = ures_getByKey(theBundle, "importtest", res, &status); in TestNewTypes()
536 res = ures_getByKey(theBundle, "one", res, &status); in TestNewTypes()
548 res = ures_getByKey(theBundle, "minusone", res, &status); in TestNewTypes()
561 res = ures_getByKey(theBundle, "plusone", res, &status); in TestNewTypes()
572 res = ures_getByKey(theBundle, "onehundredtwentythree", res, &status); in TestNewTypes()
[all …]
Dcrestst.c447 subResource = ures_getByKey(fr_FR, "layout", NULL, &status); in TestFallback()
492 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode); in TestOpenDirect()
501 item=ures_getByKey(idna_rules, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
563 item=ures_getByKey(casing, "Info", NULL, &errorCode); in TestOpenDirect()
571 item=ures_getByKey(casing, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
607 item=ures_getByKey(te_IN, "ShortLanguage", NULL, &errorCode); in TestOpenDirect()
718 item=ures_getByKey(res, testcases[i].key, item, &errorCode); in TestTable32()
932 res = ures_getByKey(rb, test[i].key, res, &status); in TestGetSize()
991 res = ures_getByKey(rb, test[i].resourceKey, res, &status); in TestGetLocaleByType()
Dcldrtest.c95 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.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.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 …]
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()
571 res = ures_getByKey(res, kNAMES, res, &ec); // dereference Zones section in initMap()
721 top = ures_getByKey(top, kNAMES, top, &ec); // dereference Zones section in getID()
797 res = ures_getByKey(res, kNAMES, res, &ec); // dereference Zones section in create()
971 ures_getByKey(&res, kLINKS, &r, &ec); in countEquivalentIDs()
995 ures_getByKey(&res, kLINKS, &r, &ec); in getEquivalentID()
[all …]
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()
802 rb = ures_getByKey(rb, CURRENCYPLURALS, rb, &ec2); in ucurr_getPluralName()
908 UResourceBundle* curr = ures_getByKey(rb, CURRENCIES, NULL, &ec2); in getCurrencyNameCount()
941 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec3); in getCurrencyNameCount()
1022 UResourceBundle* curr = ures_getByKey(rb, CURRENCIES, NULL, &ec2); in collectCurrencyNames()
[all …]
Dregion.cpp119 regionCodes = ures_getByKey(rb,"regionCodes",NULL,&status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
120 territoryAlias = ures_getByKey(rb,"territoryAlias",NULL,&status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
123 codeMappings = ures_getByKey(rb2,"codeMappings",NULL,&status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
125 territoryContainment = ures_getByKey(rb2,"territoryContainment",NULL,&status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
126 worldContainment = ures_getByKey(territoryContainment,"001",NULL,&status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
127 groupingContainment = ures_getByKey(territoryContainment,"grouping",NULL,&status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Ducol_res.cpp119 ures_getByKey(bundle.getAlias(), "collations", NULL, &errorCode)); in loadRules()
157 ures_getByKey(bundle.getAlias(), "collations", NULL, &errorCode)); in loadTailoring()
247 ures_getByKey(data.getAlias(), "%%CollationBin", NULL, &errorCode)); in loadTailoring()
473 ures_getByKey(&bundle, RESOURCE_NAME, &collations, status); in ucol_getKeywordValuesForLocale()
/external/chromium_org/third_party/icu/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/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/chromium_org/third_party/icu/source/i18n/
Dnumsys.cpp114 UResourceBundle *numberElementsRes = ures_getByKey(resource,gNumberElements,NULL,&status); in createInstance()
155 nsCurrent = ures_getByKey(numberingSystemsInfo,gNumberingSystems,NULL,&status); in createInstanceByName()
156 nsTop = ures_getByKey(nsCurrent,name,NULL,&status); in createInstanceByName()
159 ures_getByKey(nsTop,gRadix,nsCurrent,&status); in createInstanceByName()
162 ures_getByKey(nsTop,gAlgorithmic,nsCurrent,&status); in createInstanceByName()
Dzonemeta.cpp213 UResourceBundle *rb = ures_getByKey(top, gTypeMapTag, NULL, &tmpStatus); in getCanonicalSystemID()
214 ures_getByKey(rb, gTimezoneTag, rb, &tmpStatus); in getCanonicalSystemID()
215 ures_getByKey(rb, id, rb, &tmpStatus); in getCanonicalSystemID()
226 ures_getByKey(top, gTypeAliasTag, rb, &tmpStatus); in getCanonicalSystemID()
227 ures_getByKey(rb, gTimezoneTag, rb, &tmpStatus); in getCanonicalSystemID()
521 ures_getByKey(rb, gMetazoneInfo, rb, &status); in createMetazoneMappings()
537 ures_getByKey(rb, tzKey, rb, &status); in createMetazoneMappings()
620 ures_getByKey(rb, gMapTimezonesTag, rb, &status); in getZoneIdByMetazone()
621 ures_getByKey(rb, keyBuf, rb, &status); in getZoneIdByMetazone()
Dtimezone.cpp169 ures_getByKey(top, kZONES, &res, &ec); in getOlsonMeta()
244 UResourceBundle *tmp = ures_getByKey(top, kNAMES, NULL, &status); in getZoneByName()
256 tmp = ures_getByKey(top, kZONES, tmp, &status); // get Zones object from top in getZoneByName()
275 UResourceBundle *r = ures_getByKey(top, kRULES, oldbundle, &status); in loadRule()
277 r = ures_getByKey(r, key, r, &status); in loadRule()
307 UResourceBundle *ares = ures_getByKey(top, kZONES, NULL, &ec); // dereference Zones section in openOlsonResource()
672 top = ures_getByKey(top, kNAMES, top, &ec); // dereference Zones section in getID()
728 ures_getByKey(res, kREGIONS, res, &ec); in TZEnumeration()
854 ures_getByKey(&res, kLINKS, &r, &ec); in countEquivalentIDs()
878 ures_getByKey(&res, kLINKS, &r, &ec); in getEquivalentID()
[all …]
Ducurr.cpp129 UResourceBundle* currencyMeta = ures_getByKey(currencyData, CURRENCY_META, currencyData, &ec); in _findMetaData()
140 UResourceBundle* rb = ures_getByKey(currencyMeta, myUCharsToChars(buf, currency), NULL, &ec2); in _findMetaData()
143 rb = ures_getByKey(currencyMeta,DEFAULT_META, NULL, &ec); in _findMetaData()
393 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale()
394 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale()
527 rb = ures_getByKey(rb, CURRENCIES, rb, &ec2); in ucurr_getName()
607 rb = ures_getByKey(rb, CURRENCYPLURALS, rb, &ec2); in ucurr_getPluralName()
712 UResourceBundle* curr = ures_getByKey(rb, CURRENCIES, NULL, &ec2); in getCurrencyNameCount()
742 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec3); in getCurrencyNameCount()
823 UResourceBundle* curr = ures_getByKey(rb, CURRENCIES, NULL, &ec2); in collectCurrencyNames()
[all …]
Dulocdata.c153 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter()
261 patternBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleDisplayPattern()
309 separatorBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleSeparator()
Dcurrpinf.cpp244 rb = ures_getByKey(rb, gNumberElementsTag, rb, &ec); in setupCurrencyPluralPattern()
245 rb = ures_getByKey(rb, gLatnTag, rb, &ec); in setupCurrencyPluralPattern()
246 rb = ures_getByKey(rb, gPatternsTag, rb, &ec); in setupCurrencyPluralPattern()
Dolsontz.cpp134 ures_getByKey(res, kTRANSPRE32, &r, &ec); in OlsonTimeZone()
147 ures_getByKey(res, kTRANS, &r, &ec); in OlsonTimeZone()
160 ures_getByKey(res, kTRANSPOST32, &r, &ec); in OlsonTimeZone()
173 ures_getByKey(res, kTYPEOFFSETS, &r, &ec); in OlsonTimeZone()
183 ures_getByKey(res, kTYPEMAP, &r, &ec); in OlsonTimeZone()
195 ures_getByKey(res, kFINALRAW, &r, &ec); in OlsonTimeZone()
197 ures_getByKey(res, kFINALYEAR, &r, &ec); in OlsonTimeZone()
/external/chromium_org/chrome/browser/chromeos/system/
Dtimezone_util.cc51 zone_strings = ures_getByKey(zone_bundle, "zone_strings", NULL, &status); in GetExemplarCity()
62 ures_getByKey(zone_strings, zone_id_str.c_str(), NULL, &status)); in GetExemplarCity()

1234