Searched refs:num_locales (Results 1 – 3 of 3) sorted by relevance
18 int32_t num_locales = 0; in GetRandomLocale() local19 const icu::Locale* locales = icu::Locale::getAvailableLocales(num_locales); in GetRandomLocale()20 assert(num_locales > 0); in GetRandomLocale()21 return locales[rnd % num_locales]; in GetRandomLocale()
32 int32_t num_locales = 0; in GetRandomLocale() local33 const icu::Locale* locales = icu::Locale::getAvailableLocales(num_locales); in GetRandomLocale()34 assert(num_locales > 0); in GetRandomLocale()35 return locales[(*rng)() % num_locales]; in GetRandomLocale()
557 int32_t num_locales = 0; in CollatorAvailableLocales() local559 icu::Collator::getAvailableLocales(num_locales); in CollatorAvailableLocales()561 for (int32_t i = 0; i < num_locales; ++i) { in CollatorAvailableLocales()