Lines Matching refs:Snippet
20 bool PairFirstLessThan(const Snippet::MatchPosition& a,
21 const Snippet::MatchPosition& b) {
28 Snippet::MatchPositions* match_positions) {
30 Snippet::MatchPosition& pair((*match_positions)[offset]);
44 Snippet::MatchPositions* match_positions) {
47 Snippet::MatchPosition pair(start, end);
54 Snippet::MatchPositions::iterator i =
163 void Snippet::ExtractMatchPositions(const std::string& offsets_str,
186 void Snippet::ConvertMatchPositionsToWide(
188 Snippet::MatchPositions* match_positions) {
194 for (Snippet::MatchPositions::iterator i = match_positions->begin();
203 Snippet::Snippet() {
206 Snippet::~Snippet() {
209 void Snippet::ComputeSnippet(const MatchPositions& match_positions,
294 void Snippet::Swap(Snippet* other) {