Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser.h48 bool Parse(const std::string& input, int64 reference_time_ms_utc,
55 bool Parse(const UnicodeText& input, int64 reference_time_ms_utc,
81 const int64 reference_time_ms_utc, const std::string& reference_timezone,
88 int64 reference_time_ms_utc,
100 int64 reference_time_ms_utc,
109 int64 reference_time_ms_utc,
Dparser.cc114 const std::string& input, const int64 reference_time_ms_utc, in Parse() argument
119 reference_time_ms_utc, reference_timezone, locales, mode, in Parse()
125 const int64 reference_time_ms_utc, const std::string& reference_timezone, in FindSpansUsingLocales() argument
153 if (!ParseWithRule(rules_[rule_id], input, reference_time_ms_utc, in FindSpansUsingLocales()
164 const UnicodeText& input, const int64 reference_time_ms_utc, in Parse() argument
173 if (!FindSpansUsingLocales(requested_locales, input, reference_time_ms_utc, in Parse()
221 int64 reference_time_ms_utc, const std::string& reference_timezone, in HandleParseMatch() argument
237 if (!ExtractDatetime(rule, matcher, reference_time_ms_utc, reference_timezone, in HandleParseMatch()
263 const int64 reference_time_ms_utc, const std::string& reference_timezone, in ParseWithRule() argument
271 if (!HandleParseMatch(rule, *matcher, reference_time_ms_utc, in ParseWithRule()
[all …]
/external/libtextclassifier/annotator/
Dannotator.h77 int64 reference_time_ms_utc = 0; member
93 return this->reference_time_ms_utc == other.reference_time_ms_utc &&
106 int64 reference_time_ms_utc = 0; member
128 return this->reference_time_ms_utc == other.reference_time_ms_utc &&
430 int64 reference_time_ms_utc,
Dannotator_jni_common.cc82 options.reference_time_ms_utc = status_or_reference_time_ms_utc.second; in FromJavaOptionsInternal()
Dannotator.cc1444 if (!datetime_parser_->Parse(selection_text, options.reference_time_ms_utc, in DatetimeClassifyText()
1823 options.reference_time_ms_utc, options.reference_timezone, in Annotate()
2319 int64 reference_time_ms_utc, in DatetimeChunk() argument
2330 if (!datetime_parser_->Parse(context_unicode, reference_time_ms_utc, in DatetimeChunk()
Dannotator_jni.cc218 options->reference_time_ms_utc, context, selection_indices, in ClassificationResultWithIntentsToJObject()
/external/libtextclassifier/utils/calendar/
Dcalendar-javaicu.h71 int64 reference_time_ms_utc, in InterpretParseData() argument
77 if (!impl_.InterpretParseData(parse_data, reference_time_ms_utc, in InterpretParseData()
Dcalendar-common.h41 int64 reference_time_ms_utc,
73 const DateParseData& parse_data, int64 reference_time_ms_utc, in InterpretParseData() argument
77 reference_time_ms_utc)) in InterpretParseData()
/external/libtextclassifier/actions/
Dtypes.h125 int64 reference_time_ms_utc; member
Dactions-suggestions.cc981 if (message.reference_time_ms_utc != 0 && in SuggestActionsFromModel()
983 time_diff_secs = std::max(0.0f, (message.reference_time_ms_utc - in SuggestActionsFromModel()
987 if (message.reference_time_ms_utc != 0) { in SuggestActionsFromModel()
988 last_message_reference_time_ms_utc = message.reference_time_ms_utc; in SuggestActionsFromModel()
1015 options.reference_time_ms_utc = message.reference_time_ms_utc; in AnnotationOptionsForMessage()
Dlua-utils.cc344 lua_pushinteger(state, message.reference_time_ms_utc); in Item()
Dactions_jni.cc225 message.reference_time_ms_utc = status_or_reference_time.second; in FromJavaConversationMessage()
/external/libtextclassifier/utils/intents/
Dintent-generator.cc709 const int64 reference_time_ms_utc, in AnnotatorJniEnvironment() argument
714 reference_time_ms_utc_(reference_time_ms_utc), in AnnotatorJniEnvironment()
837 const int64 reference_time_ms_utc, const std::string& text, in GenerateIntents() argument
859 reference_time_ms_utc, annotations_entity_data_schema)); in GenerateIntents()
Dintent-generator.h78 const int64 reference_time_ms_utc,