Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/i18n/
Dlocale-list.cc25 std::string reference_locale; in ParseFrom() local
28 reference_locale = split_locales[0].ToString(); in ParseFrom()
30 reference_locale = ""; in ParseFrom()
41 return LocaleList(locales, split_locales, reference_locale); in ParseFrom()
Dlocale-list.h44 const StringPiece& reference_locale) in LocaleList() argument
47 reference_locale_(reference_locale.ToString()) {} in LocaleList()
/external/libtextclassifier/native/annotator/datetime/
Dregex-parser.h81 bool anchor_start_end, const std::string& reference_locale,
87 const std::string& reference_locale, const int locale_id,
95 const std::string& reference_locale, int locale_id,
103 const std::string& reference_locale, int locale_id) const;
Dregex-parser.cc134 const std::string& reference_locale, in FindSpansUsingLocales() argument
162 reference_timezone, reference_locale, locale_id, in FindSpansUsingLocales()
232 const std::string& reference_locale, in HandleParseMatch() argument
251 reference_locale, locale_id, &alternatives, in HandleParseMatch()
279 const std::string& reference_locale, in ParseWithRule() argument
289 reference_timezone, reference_locale, locale_id); in ParseWithRule()
296 reference_timezone, reference_locale, locale_id)); in ParseWithRule()
359 const std::string& reference_locale, int locale_id, in ExtractDatetime() argument
391 reference_locale, prefer_future_for_unspecified_date_, in ExtractDatetime()
Ddatetime-grounder.h38 const std::string& reference_locale,
Ddatetime-grounder.cc218 const std::string& reference_locale, in Ground() argument
245 reference_locale, /*prefer_future_for_unspecified_date=*/true, in Ground()
/external/libtextclassifier/native/utils/calendar/
Dcalendar-javaicu.h74 const std::string& reference_locale, in InterpretParseData() argument
80 reference_timezone, reference_locale, in InterpretParseData()
Dcalendar-common.h43 const std::string& reference_locale,
93 const std::string& reference_timezone, const std::string& reference_locale, in InterpretParseData() argument
96 TC3_CALENDAR_CHECK(calendar->Initialize(reference_timezone, reference_locale, in InterpretParseData()