Home | History | Annotate | Download | only in history

Lines Matching refs:match

87 // For testing, we'll compute the match positions manually instead of using
96 // to be more generic depending on how we deal with 'folding for match'
124 Snippet::MatchPositions::const_iterator match;
126 for (match = snippet.matches().begin();
127 match != snippet.matches().end(); ++match) {
128 star_snippet += snippet.text().substr(pos, match->first - pos);
130 star_snippet += snippet.text().substr(match->first,
131 match->second - match->first);
133 pos = match->second;
171 // the 2nd match added, the snippet goes over the size limit so that
172 // the snippet ends right before the 3rd match.