Searched refs:supported_locales (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/utils/i18n/ |
D | locale_test.cc | 72 std::vector<Locale> supported_locales = {Locale::FromBCP47("en")}; in TEST() local 74 EXPECT_TRUE(Locale::IsAnyLocaleSupported(locales, supported_locales, in TEST() 80 std::vector<Locale> supported_locales = {Locale::FromBCP47("en"), in TEST() local 83 EXPECT_FALSE(Locale::IsAnyLocaleSupported(locales, supported_locales, in TEST() 89 std::vector<Locale> supported_locales = {Locale::FromBCP47("*")}; in TEST() local 91 EXPECT_TRUE(Locale::IsAnyLocaleSupported(locales, supported_locales, in TEST() 96 std::vector<Locale> supported_locales = {Locale::FromBCP47("en")}; in TEST() local 98 EXPECT_TRUE(Locale::IsAnyLocaleSupported({}, supported_locales, in TEST()
|
D | locale.cc | 123 const std::vector<Locale>& supported_locales, in IsLocaleSupported() argument 131 for (const Locale& supported_locale : supported_locales) { in IsLocaleSupported() 155 const std::vector<Locale>& supported_locales, in IsAnyLocaleSupported() argument 160 if (supported_locales.empty()) { in IsAnyLocaleSupported() 164 if (IsLocaleSupported(locale, supported_locales, default_value)) { in IsAnyLocaleSupported()
|
D | locale.h | 56 const std::vector<Locale>& supported_locales, 68 const std::vector<Locale>& supported_locales,
|
/external/v8/src/objects/ |
D | intl-objects.cc | 2384 std::vector<std::string> supported_locales; in SupportedLocales() local 2414 supported_locales = in SupportedLocales() 2421 supported_locales = in SupportedLocales() 2436 CreateReadOnlyArray(isolate, supported_locales); in SupportedLocales()
|