Lines Matching full:stringpiece
120 // them as they match. This requires use of the "StringPiece" type,
125 // StringPiece input(contents); // Wrap a StringPiece around it
162 #include "re2/stringpiece.h"
260 // StringPiece (StringPiece is mutated to point to matched piece)
280 bool operator ()(const StringPiece& text, const PCRE& re, // 3..16 args
304 bool operator ()(const StringPiece& text, const PCRE& re, // 3..16 args
329 bool operator ()(StringPiece* input, const PCRE& pattern, // 3..16 args
355 bool operator ()(StringPiece* input, const PCRE& pattern,
391 const StringPiece
405 const StringPiece& rewrite);
413 static bool Extract(const StringPiece &text,
415 const StringPiece &rewrite,
431 bool CheckRewriteString(const StringPiece& rewrite, string* error) const;
440 static string QuoteMeta(const StringPiece& unquoted);
453 bool DoMatch(const StringPiece& text,
477 int TryMatch(const StringPiece& text,
487 const StringPiece &rewrite,
488 const StringPiece &text,
493 bool DoMatchImpl(const StringPiece& text,
604 MAKE_PARSER(StringPiece, parse_stringpiece);