Lines Matching refs:StringPiece
85 StringPiece submatch[kMaxSubmatch];
92 static string FormatCapture(const StringPiece& text, const StringPiece& s) {
101 static bool NonASCII(const StringPiece& text) {
161 TestInstance::TestInstance(const StringPiece& regexp_str, Prog::MatchKind kind,
280 const StringPiece& orig_text,
281 const StringPiece& orig_context,
293 StringPiece text = orig_text;
294 StringPiece context = orig_context;
438 // turn that into StringPiece(NULL) but in fact it uses
439 // StringPiece(text.begin() - 1, 0). Oops.
474 bool TestInstance::RunCase(const StringPiece& text, const StringPiece& context,
553 const StringPiece& text, const StringPiece& context,
582 Tester::Tester(const StringPiece& regexp) {
599 bool Tester::TestCase(const StringPiece& text, const StringPiece& context,
612 bool Tester::TestInput(const StringPiece& text) {
615 StringPiece sp;
626 bool Tester::TestInputInContext(const StringPiece& text,
627 const StringPiece& context) {
634 bool TestRegexpOnText(const StringPiece& regexp,
635 const StringPiece& text) {