Lines Matching defs:status
205 RegexpStatus status;
210 re[i] = Regexp::Parse(tests[i].regexp, f, &status);
212 << status.Text();
383 RegexpStatus status;
388 Regexp* re = Regexp::Parse(tests[i].regexp, f, &status);
389 CHECK(re != NULL) << " " << tests[i].regexp << " " << status.Text();
403 Regexp* nre = Regexp::Parse(t, Regexp::MatchNL | Regexp::PerlX, &status);
404 CHECK(nre != NULL) << " reparse " << t << " " << status.Text();
419 RegexpStatus status;
422 re = Regexp::Parse("test(?P<name", Regexp::LikePerl, &status);
424 EXPECT_EQ(status.code(), kRegexpBadNamedCapture);
425 EXPECT_EQ(status.error_arg(), "(?P<name");
427 re = Regexp::Parse("test(?P<space bar>z)", Regexp::LikePerl, &status);
429 EXPECT_EQ(status.code(), kRegexpBadNamedCapture);
430 EXPECT_EQ(status.error_arg(), "(?P<space bar>");