Searched refs:ARRAY_RANGE (Results 1 – 2 of 2) sorted by relevance
20 #define ARRAY_RANGE(array) (array), ((array) + UPRV_LENGTHOF(array)) macro129 setSupportedLocales(ARRAY_RANGE(locales)).build(errorCode); in testBasics()154 Locale::RangeIterator<Locale *> iter(ARRAY_RANGE(locales)); in testBasics()172 ARRAY_RANGE(pointers), [](const Locale *p) -> const Locale & { return *p; }). in testBasics()267 setSupportedLocales(ARRAY_RANGE(locales)). in testSupportedDefault()291 setSupportedLocales(ARRAY_RANGE(locales)). in testUnsupportedDefault()314 setSupportedLocales(ARRAY_RANGE(locales)). in testNoDefault()338 setSupportedLocales(ARRAY_RANGE(supported)). in testDemotion()340 Locale::RangeIterator<Locale *> desiredIter(ARRAY_RANGE(desired)); in testDemotion()347 setSupportedLocales(ARRAY_RANGE(supported)). in testDemotion()[all …]
6333 #define ARRAY_RANGE(array) (array), ((array) + UPRV_LENGTHOF(array)) macro6338 Locale::RangeIterator<Locale *> iter(ARRAY_RANGE(locales)); in TestRangeIterator()6365 ARRAY_RANGE(pointers), [](const Locale *p) -> const Locale & { return *p; }); in TestPointerConvertingIterator()6404 Locale::ConvertingIterator<const char **, LocaleFromTag> iter(ARRAY_RANGE(tags), converter); in TestTagConvertingIterator()6431 ARRAY_RANGE(tags), [&](const char *tag) -> const Locale & { return locale = Locale(tag); }); in TestCapturingTagConvertingIterator()