Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser.h52 std::vector<DatetimeParseResultSpan>* results) const;
59 std::vector<DatetimeParseResultSpan>* results) const;
85 std::vector<DatetimeParseResultSpan>* found_spans) const;
92 std::vector<DatetimeParseResultSpan>* result) const;
112 std::vector<DatetimeParseResultSpan>* result) const;
Dparser.cc117 std::vector<DatetimeParseResultSpan>* results) const { in Parse()
129 std::vector<DatetimeParseResultSpan>* found_spans) const { in FindSpansUsingLocales()
167 std::vector<DatetimeParseResultSpan>* results) const { in Parse()
168 std::vector<DatetimeParseResultSpan> found_spans; in Parse()
180 std::vector<std::pair<DatetimeParseResultSpan, int>> indexed_found_spans; in Parse()
189 [](const std::pair<DatetimeParseResultSpan, int>& a, in Parse()
190 const std::pair<DatetimeParseResultSpan, int>& b) { in Parse() argument
223 std::vector<DatetimeParseResultSpan>* result) const { in HandleParseMatch()
235 DatetimeParseResultSpan parse_result; in HandleParseMatch()
265 bool anchor_start_end, std::vector<DatetimeParseResultSpan>* result) const { in ParseWithRule()
Dparser_test.cc69 std::vector<DatetimeParseResultSpan> results; in HasNoResult()
102 std::vector<DatetimeParseResultSpan> results; in ParsesCorrectly()
120 std::vector<DatetimeParseResultSpan> filtered_results; in ParsesCorrectly()
121 for (const DatetimeParseResultSpan& result : results) { in ParsesCorrectly()
128 std::vector<DatetimeParseResultSpan> expected{ in ParsesCorrectly()
502 std::vector<DatetimeParseResultSpan> results; in HasResult()
/external/libtextclassifier/annotator/
Dtypes.h190 struct DatetimeParseResultSpan { struct
196 bool operator==(const DatetimeParseResultSpan& other) const { argument
207 const DatetimeParseResultSpan& value);
Dtypes-test-util.h38 TC3_DECLARE_PRINT_OPERATOR(DatetimeParseResultSpan)
Dtypes.cc42 const DatetimeParseResultSpan& value) { in operator <<()
Dannotator.cc1443 std::vector<DatetimeParseResultSpan> datetime_spans; in DatetimeClassifyText()
1452 for (const DatetimeParseResultSpan& datetime_span : datetime_spans) { in DatetimeClassifyText()
2329 std::vector<DatetimeParseResultSpan> datetime_spans; in DatetimeChunk()
2336 for (const DatetimeParseResultSpan& datetime_span : datetime_spans) { in DatetimeChunk()