Searched refs:DatetimeParseResultSpan (Results 1 – 11 of 11) sorted by relevance
119 StatusOr<std::vector<DatetimeParseResultSpan>> RegexDatetimeParser::Parse( in Parse()129 StatusOr<std::vector<DatetimeParseResultSpan>>136 std::vector<DatetimeParseResultSpan> found_spans; in FindSpansUsingLocales()160 const std::vector<DatetimeParseResultSpan>& found_spans_per_rule, in FindSpansUsingLocales()172 StatusOr<std::vector<DatetimeParseResultSpan>> RegexDatetimeParser::Parse( in Parse()181 const std::vector<DatetimeParseResultSpan>& found_spans, in Parse()186 std::vector<std::pair<DatetimeParseResultSpan, int>> indexed_found_spans; in Parse()195 [](const std::pair<DatetimeParseResultSpan, int>& a, in Parse()196 const std::pair<DatetimeParseResultSpan, int>& b) { in Parse() argument206 std::vector<DatetimeParseResultSpan> results; in Parse()[all …]
52 StatusOr<std::vector<DatetimeParseResultSpan>> Parse(59 StatusOr<std::vector<DatetimeParseResultSpan>> Parse(77 StatusOr<std::vector<DatetimeParseResultSpan>> FindSpansUsingLocales(84 StatusOr<std::vector<DatetimeParseResultSpan>> ParseWithRule(100 StatusOr<std::vector<DatetimeParseResultSpan>> HandleParseMatch(
42 StatusOr<std::vector<DatetimeParseResultSpan>> GrammarDatetimeParser::Parse( in Parse()52 StatusOr<std::vector<DatetimeParseResultSpan>> GrammarDatetimeParser::Parse( in Parse()57 std::vector<DatetimeParseResultSpan> results; in Parse()104 DatetimeParseResultSpan datetime_parse_result_span; in Parse()
42 virtual StatusOr<std::vector<DatetimeParseResultSpan>> Parse(49 virtual StatusOr<std::vector<DatetimeParseResultSpan>> Parse(
46 StatusOr<std::vector<DatetimeParseResultSpan>> Parse(53 StatusOr<std::vector<DatetimeParseResultSpan>> Parse(
1342 StatusOr<std::vector<DatetimeParseResultSpan>> results = parser_->Parse( in HasResult()
36 StatusOr<std::vector<DatetimeParseResultSpan>> results_status = in HasNoResult()69 StatusOr<std::vector<DatetimeParseResultSpan>> results_status = in ParsesCorrectly()90 std::vector<DatetimeParseResultSpan> filtered_results; in ParsesCorrectly()91 for (const DatetimeParseResultSpan& result : results_status.ValueOrDie()) { in ParsesCorrectly()96 std::vector<DatetimeParseResultSpan> expected{ in ParsesCorrectly()
39 TC3_DECLARE_PRINT_OPERATOR(DatetimeParseResultSpan)
380 struct DatetimeParseResultSpan { struct386 DatetimeParseResultSpan() in DatetimeParseResultSpan() argument391 DatetimeParseResultSpan(const CodepointSpan& span, in DatetimeParseResultSpan() function400 bool operator==(const DatetimeParseResultSpan& other) const {411 const DatetimeParseResultSpan& value);
137 const DatetimeParseResultSpan& value) { in operator <<()
1686 StatusOr<std::vector<DatetimeParseResultSpan>> result_status = in DatetimeClassifyText()1697 for (const DatetimeParseResultSpan& datetime_span : in DatetimeClassifyText()3146 StatusOr<std::vector<DatetimeParseResultSpan>> result_status = in DatetimeChunk()3155 for (const DatetimeParseResultSpan& datetime_span : in DatetimeChunk()