Home
last modified time | relevance | path

Searched refs:num_locales (Results 1 – 3 of 3) sorted by relevance

/third_party/icu/icu4c/source/test/fuzzer/
Dfuzzer_utils.h18 int32_t num_locales = 0; in GetRandomLocale() local
19 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()
/third_party/skia/third_party/externals/icu/fuzzers/
Dfuzzer_utils.h32 int32_t num_locales = 0; in GetRandomLocale() local
33 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()
/third_party/node/deps/v8/src/objects/
Djs-collator.cc557 int32_t num_locales = 0; in CollatorAvailableLocales() local
559 icu::Collator::getAvailableLocales(num_locales); in CollatorAvailableLocales()
561 for (int32_t i = 0; i < num_locales; ++i) { in CollatorAvailableLocales()