Lines Matching refs:PCRE
11 #include "util/pcre.h"
69 PCRE re(regexp, PCRE::UTF8);
71 PCRE::FullMatch(text, re);
78 PCRE* re = new PCRE(regexp, PCRE::UTF8);
79 fprintf(stderr, "PCRE*: %7lld bytes (peak=%lld)\n", mc.HeapGrowth(), mc.PeakHeapGrowth());
80 PCRE::FullMatch(text, *re);
81 fprintf(stderr, "PCRE*: %7lld bytes (peak=%lld)\n", mc.HeapGrowth(), mc.PeakHeapGrowth());
94 fprintf(stderr, "sizeof: PCRE=%d RE2=%d Prog=%d Inst=%d\n",
95 static_cast<int>(sizeof(PCRE)),
644 PCRE re(regexp, PCRE::UTF8);
864 PCRE re(regexp, PCRE::UTF8);
867 CHECK_EQ(PCRE::FullMatch(text, re), expect_match);
869 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match);
949 PCRE re(regexp, PCRE::UTF8);
953 CHECK_EQ(PCRE::FullMatch(text, re), expect_match);
955 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match);
1030 PCRE re(regexp, PCRE::UTF8);
1033 CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3));
1097 PCRE re(regexp, PCRE::UTF8);
1101 CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3));
1160 PCRE re(regexp, PCRE::UTF8);
1163 CHECK(PCRE::FullMatch(text, re, &sp1));
1227 PCRE re(regexp, PCRE::UTF8);
1231 CHECK(PCRE::FullMatch(text, re, &sp1));
1246 PCRE re(regexp, PCRE::UTF8);
1250 CHECK(PCRE::PartialMatch(text, re, &sp1, &sp2));
1266 PCRE re(regexp, PCRE::UTF8);
1270 CHECK(PCRE::PartialMatch(text, re, &sp1));
1285 PCRE re("");
1287 PCRE::PartialMatch("", re);
1303 PCRE re("abcdefg");
1305 PCRE::PartialMatch("abcdefg", re);
1326 PCRE re("(?-s)^(?:GET|POST) +([^ ]+) HTTP");
1328 PCRE::PartialMatch(http_text, re, &a);
1350 PCRE re("(?-s)^(?:GET|POST) +([^ ]+) HTTP");
1352 PCRE::PartialMatch(http_text, re, &a);
1371 PCRE re("(?-s)^(.+)");
1373 PCRE::PartialMatch(http_text, re, &a);
1392 PCRE re("(?-s)^([ -~]+)");
1394 PCRE::PartialMatch(http_text, re, &a);
1417 PCRE re(regexp);
1420 CHECK(PCRE::FullMatch(s, re));