Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_longnames.cpp92 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getMeasureData() local
105 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, status); in getMeasureData()
113 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_CURR, locale.getName(), &status)); in getCurrencyLongNameData() local
115 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "CurrencyUnitPatterns", sink, status); in getCurrencyLongNameData()
138 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getPerUnitFormat() local
149 …const UChar* ptr = ures_getStringByKeyWithFallback(unitsBundle.getAlias(), key.data(), &len, &stat… in getPerUnitFormat()
Dmeasfmt.cpp503 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, localeId, &status)); in createObject() local
511 unitsBundle.getAlias(), in createObject()
517 unitsBundle.getAlias(), status)); in createObject()
/third_party/skia/third_party/externals/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()
359 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getInflectedMeasureData() local
373 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getInflectedMeasureData()
384 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, status); in getInflectedMeasureData()
441 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getMeasureData() local
465 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
493 ures_getAllItemsWithFallback(unitsBundle.getAlias(), caseKey.data(), sink, localStatus); in getMeasureData()
502 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getMeasureData()
515 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, status); in getMeasureData()
[all …]
Dunits_data.cpp369 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in getAllConversionRates() local
371 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "convertUnits", sink, status); in getAllConversionRates()
385 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in UnitPreferences() local
387 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "unitPreferenceData", sink, status); in UnitPreferences()
Dmeasunit_extra.cpp361 LocalUResourceBundlePointer unitsBundle(ures_openDirect(nullptr, "units", &status)); in initUnitExtras() local
366 ures_getByKey(unitsBundle.getAlias(), CATEGORY_TABLE_NAME, nullptr, &status)); in initUnitExtras()
378 … ures_getAllItemsWithFallback(unitsBundle.getAlias(), CATEGORY_TABLE_NAME, categoriesSink, status); in initUnitExtras()
427 ures_getByKey(unitsBundle.getAlias(), "convertUnits", nullptr, &status)); in initUnitExtras()
451 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()
/third_party/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()
359 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getInflectedMeasureData() local
373 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getInflectedMeasureData()
384 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, status); in getInflectedMeasureData()
441 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_UNIT, locale.getName(), &status)); in getMeasureData() local
465 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
493 ures_getAllItemsWithFallback(unitsBundle.getAlias(), caseKey.data(), sink, localStatus); in getMeasureData()
502 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getMeasureData()
515 ures_getAllItemsWithFallback(unitsBundle.getAlias(), key.data(), sink, status); in getMeasureData()
[all …]
Dunits_data.cpp369 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in getAllConversionRates() local
371 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "convertUnits", sink, status); in getAllConversionRates()
385 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in UnitPreferences() local
387 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "unitPreferenceData", sink, status); in UnitPreferences()
Dmeasunit_extra.cpp361 LocalUResourceBundlePointer unitsBundle(ures_openDirect(nullptr, "units", &status)); in initUnitExtras() local
366 ures_getByKey(unitsBundle.getAlias(), CATEGORY_TABLE_NAME, nullptr, &status)); in initUnitExtras()
378 … ures_getAllItemsWithFallback(unitsBundle.getAlias(), CATEGORY_TABLE_NAME, categoriesSink, status); in initUnitExtras()
427 ures_getByKey(unitsBundle.getAlias(), "convertUnits", nullptr, &status)); in initUnitExtras()
451 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()
/third_party/node/deps/icu-small/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
450 ures_getByKeyWithFallback(unitsBundle.getAlias(), genderKey.data(), fillIn.getAlias(), in getMeasureData()
478 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), caseKey.data(), sink, localStatus); in getMeasureData()
487 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), key.data(), sink, localStatus); in getMeasureData()
502 LocalUResourceBundlePointer unitsBundle(ures_open(U_ICUDATA_CURR, locale.getName(), &status)); in getCurrencyLongNameData() local
504 ures_getAllChildrenWithFallback(unitsBundle.getAlias(), "CurrencyUnitPatterns", sink, status); in getCurrencyLongNameData()
[all …]
Dunits_data.cpp369 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in getAllConversionRates() local
371 ures_getAllItemsWithFallback(unitsBundle.getAlias(), "convertUnits", sink, status); in getAllConversionRates()
385 LocalUResourceBundlePointer unitsBundle(ures_openDirect(NULL, "units", &status)); in UnitPreferences() local
387 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()
/third_party/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()
303 unitsBundle.getAllItemsWithFallback(key.toString(), sink); in getInflectedMeasureData()
/third_party/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()