Searched refs:snippet_match (Results 1 – 1 of 1) sorted by relevance
379 SnippetMatchProto snippet_match; in RetrieveMatch() local415 snippet_match.set_exact_match_byte_position(start_itr.utf8_index()); in RetrieveMatch()416 snippet_match.set_exact_match_utf16_position(start_itr.utf16_index()); in RetrieveMatch()417 snippet_match.set_exact_match_byte_length(end_itr.utf8_index() - in RetrieveMatch()419 snippet_match.set_exact_match_utf16_length(end_itr.utf16_index() - in RetrieveMatch()456 snippet_match.set_window_byte_position(window_start.utf8_index()); in RetrieveMatch()457 snippet_match.set_window_utf16_position(window_start.utf16_index()); in RetrieveMatch()458 snippet_match.set_window_byte_length(window_end.utf8_index() - in RetrieveMatch()460 snippet_match.set_window_utf16_length(window_end.utf16_index() - in RetrieveMatch()467 return snippet_match; in RetrieveMatch()