Home
last modified time | relevance | path

Searched refs:unitsBundle (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumber_longnames.cpp190 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getGenderForBuiltin() local
213 … ures_getStringByKeyWithFallback(unitsBundle.getAlias(), key.data(), &resultLen, &localStatus); in getGenderForBuiltin()
355 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getInflectedMeasureData() local
369 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getInflectedMeasureData()
426 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getMeasureData() local
470 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
498 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), caseKey.data(), sink, localStatus); in getMeasureData()
507 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getMeasureData()
522 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_CURR, locale.getName(), &status)); in getCurrencyLongNameData() local
524 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), "CurrencyUnitPatterns", sink, status); in getCurrencyLongNameData()
[all …]
Dunits_data.cpp371 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in getAllConversionRates() local
373 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "convertUnits", sink, status); in getAllConversionRates()
387 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in UnitPreferences() local
389 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "unitPreferenceData", sink, status); in UnitPreferences()
Dmeasunit_extra.cpp357 LocalUResourceBundlePointer unitsBundle(ures_openDirect(nullptr, "units", &status)); in initUnitExtras() local
362 ures_getByKey(unitsBundle.getAlias(), CATEGORY_TABLE_NAME, nullptr, &status)); in initUnitExtras()
374 … ures_getAllItemsWithFallback(unitsBundle.getAlias(), CATEGORY_TABLE_NAME, categoriesSink, status); in initUnitExtras()
423 ures_getByKey(unitsBundle.getAlias(), "convertUnits", nullptr, &status)); in initUnitExtras()
447 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "convertUnits", identifierSink, status); in initUnitExtras()
Dmeasfmt.cpp246 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, localeId, &status)); in createObject() local
254 unitsBundle.getAlias(), status)); in createObject()
/external/cronet/third_party/icu/source/i18n/
Dnumber_longnames.cpp190 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getGenderForBuiltin() local
213 … ures_getStringByKeyWithFallback(unitsBundle.getAlias(), key.data(), &resultLen, &localStatus); in getGenderForBuiltin()
355 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getInflectedMeasureData() local
369 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getInflectedMeasureData()
426 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getMeasureData() local
470 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
498 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), caseKey.data(), sink, localStatus); in getMeasureData()
507 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getMeasureData()
522 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_CURR, locale.getName(), &status)); in getCurrencyLongNameData() local
524 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), "CurrencyUnitPatterns", sink, status); in getCurrencyLongNameData()
[all …]
Dunits_data.cpp371 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in getAllConversionRates() local
373 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "convertUnits", sink, status); in getAllConversionRates()
387 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in UnitPreferences() local
389 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "unitPreferenceData", sink, status); in UnitPreferences()
Dmeasunit_extra.cpp357 LocalUResourceBundlePointer unitsBundle(ures_openDirect(nullptr, "units", &status)); in initUnitExtras() local
362 ures_getByKey(unitsBundle.getAlias(), CATEGORY_TABLE_NAME, nullptr, &status)); in initUnitExtras()
374 … ures_getAllItemsWithFallback(unitsBundle.getAlias(), CATEGORY_TABLE_NAME, categoriesSink, status); in initUnitExtras()
423 ures_getByKey(unitsBundle.getAlias(), "convertUnits", nullptr, &status)); in initUnitExtras()
447 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "convertUnits", identifierSink, status); in initUnitExtras()
Dmeasfmt.cpp246 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, localeId, &status)); in createObject() local
254 unitsBundle.getAlias(), status)); in createObject()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLongNameHandler.java129 …ICUResourceBundle unitsBundle = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUData.ICU_… in getGenderForBuiltin() local
146 return unitsBundle.getWithFallback(key.toString()).getString(); in getGenderForBuiltin()
278 ICUResourceBundle unitsBundle = in getInflectedMeasureData() local
292 unitsBundle.getAllItemsWithFallback(key.toString(), sink); in getInflectedMeasureData()
300 unitsBundle.getAllItemsWithFallback(key.toString(), sink); in getInflectedMeasureData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLongNameHandler.java127 …ICUResourceBundle unitsBundle = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUData.ICU_… in getGenderForBuiltin() local
144 return unitsBundle.getWithFallback(key.toString()).getString(); in getGenderForBuiltin()
276 ICUResourceBundle unitsBundle = in getInflectedMeasureData() local
290 unitsBundle.getAllItemsWithFallback(key.toString(), sink); in getInflectedMeasureData()
298 unitsBundle.getAllItemsWithFallback(key.toString(), sink); in getInflectedMeasureData()
/external/cronet/third_party/icu/source/test/intltest/
Dunits_test.cpp78 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", status)); in testUnitConstantFreshness() local
80 ures_getByKey(unitsBundle.getAlias(), "unitConstants", NULL, status)); in testUnitConstantFreshness()
/external/icu/icu4c/source/test/intltest/
Dunits_test.cpp78 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", status)); in testUnitConstantFreshness() local
80 ures_getByKey(unitsBundle.getAlias(), "unitConstants", NULL, status)); in testUnitConstantFreshness()