Searched refs:snippet_match (Results 1 – 1 of 1) sorted by relevance
370 SnippetMatchProto snippet_match; in RetrieveMatch() local406 snippet_match.set_exact_match_byte_position(start_itr.utf8_index()); in RetrieveMatch()407 snippet_match.set_exact_match_utf16_position(start_itr.utf16_index()); in RetrieveMatch()408 snippet_match.set_exact_match_byte_length(end_itr.utf8_index() - in RetrieveMatch()410 snippet_match.set_exact_match_utf16_length(end_itr.utf16_index() - in RetrieveMatch()447 snippet_match.set_window_byte_position(window_start.utf8_index()); in RetrieveMatch()448 snippet_match.set_window_utf16_position(window_start.utf16_index()); in RetrieveMatch()449 snippet_match.set_window_byte_length(window_end.utf8_index() - in RetrieveMatch()451 snippet_match.set_window_utf16_length(window_end.utf16_index() - in RetrieveMatch()458 return snippet_match; in RetrieveMatch()