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()
165 num_locales; /* Number of locales */ in main() local183 num_locales = CFArrayGetCount(locales); in main()190 printf("%d locales are available:\n", (int)num_locales); in main()192 for (j = 0; j < num_locales; j ++) in main()
564 int32_t num_locales = 0; in CollatorAvailableLocales() local566 icu::Collator::getAvailableLocales(num_locales); in CollatorAvailableLocales()568 for (int32_t i = 0; i < num_locales; ++i) { in CollatorAvailableLocales()