Lines Matching refs:Locale
30 class Locale {
34 static Locale FromBCP47(const std::string& locale_tag);
37 static Locale FromLanguageTag(const LanguageTag* language_tag);
40 static Locale Invalid() { in Invalid()
41 Locale locale(/*language=*/"", /*script=*/"", /*region=*/""); in Invalid()
59 static bool IsAnyLocaleSupported(const std::vector<Locale>& locales,
60 const std::vector<Locale>& supported_locales,
63 bool operator==(const Locale& locale) const;
64 bool operator!=(const Locale& locale) const;
65 bool operator<(const Locale& locale) const;
68 Locale(const std::string& language, const std::string& script, in Locale() function
75 static bool IsLocaleSupported(const Locale& locale,
76 const std::vector<Locale>& supported_locales,
87 const Locale& locale);
90 bool ParseLocales(StringPiece locales_list, std::vector<Locale>* locales);