Searched refs:unitPrefs (Results 1 – 6 of 6) sorted by relevance
136 auto *unitPrefs = preferences.getInternalUnitPrefs(); in testGetPreferencesFor() local139 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() local153 if (unitPrefs.length() > 0) { in testGetPreferencesFor()155 unitPrefs[0]->unit.data()); in testGetPreferencesFor()157 unitPrefs[unitPrefs.length() - 1]->unit.data()); in testGetPreferencesFor()
76 const MaybeStackVector<UnitPreference> unitPrefs = in init() local78 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()
174 ResourceArray unitPrefs = value.getArray(status); in put() local176 int32_t prefLen = unitPrefs.getSize(); in put()197 for (int32_t i = 0; unitPrefs.getValue(i, value); i++) { in put()
172 ResourceArray unitPrefs = value.getArray(status); in put() local174 int32_t prefLen = unitPrefs.getSize(); in put()195 for (int32_t i = 0; unitPrefs.getValue(i, value); i++) { in put()