Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/i18n/
Dlocale.cc161 for (const Locale& supported_locale : supported_locales) { in IsLocaleSupported() local
162 if (!supported_locale.IsValid()) { in IsLocaleSupported()
166 supported_locale.Language().empty() || in IsLocaleSupported()
167 supported_locale.Language() == kAnyMatch || in IsLocaleSupported()
168 supported_locale.Language() == locale.Language(); in IsLocaleSupported()
169 const bool script_matches = supported_locale.Script().empty() || in IsLocaleSupported()
170 supported_locale.Script() == kAnyMatch || in IsLocaleSupported()
172 supported_locale.Script() == locale.Script(); in IsLocaleSupported()
173 const bool region_matches = supported_locale.Region().empty() || in IsLocaleSupported()
174 supported_locale.Region() == kAnyMatch || in IsLocaleSupported()
[all …]