Home
last modified time | relevance | path

Searched refs:unitPrefs (Results 1 – 6 of 6) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Dunits_data_test.cpp136 auto *unitPrefs = preferences.getInternalUnitPrefs(); in testGetPreferencesFor() local
139 assertTrue(UnicodeString("Preferences count: ") + unitPrefs->length() + " > 250", in testGetPreferencesFor()
140 unitPrefs->length() > 250); in testGetPreferencesFor()
148 auto unitPrefs = preferences.getPreferencesFor(t.category, t.usage, locale, status); in testGetPreferencesFor() local
153 if (unitPrefs.length() > 0) { in testGetPreferencesFor()
155 unitPrefs[0]->unit.data()); in testGetPreferencesFor()
157 unitPrefs[unitPrefs.length() - 1]->unit.data()); in testGetPreferencesFor()
/third_party/node/deps/icu-small/source/i18n/
Dunits_router.cpp76 const MaybeStackVector<UnitPreference> unitPrefs = in init() local
78 for (int32_t i = 0, n = unitPrefs.length(); i < n; ++i) { in init()
79 U_ASSERT(unitPrefs[i] != nullptr); in init()
80 const auto preference = unitPrefs[i]; in init()
Dunits_data.cpp174 ResourceArray unitPrefs = value.getArray(status); in put() local
176 int32_t prefLen = unitPrefs.getSize(); in put()
197 for (int32_t i = 0; unitPrefs.getValue(i, value); i++) { in put()
/third_party/icu/icu4c/source/i18n/
Dunits_router.cpp76 const MaybeStackVector<UnitPreference> unitPrefs = in init() local
78 for (int32_t i = 0, n = unitPrefs.length(); i < n; ++i) { in init()
79 U_ASSERT(unitPrefs[i] != nullptr); in init()
80 const auto preference = unitPrefs[i]; in init()
Dunits_data.cpp174 ResourceArray unitPrefs = value.getArray(status); in put() local
176 int32_t prefLen = unitPrefs.getSize(); in put()
197 for (int32_t i = 0; unitPrefs.getValue(i, value); i++) { in put()
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_data.cpp172 ResourceArray unitPrefs = value.getArray(status); in put() local
174 int32_t prefLen = unitPrefs.getSize(); in put()
195 for (int32_t i = 0; unitPrefs.getValue(i, value); i++) { in put()