Lines Matching refs:regexp

42   const char* regexp = "(\\d+)-(\\d+)-(\\d+)";  in MemoryUsage()  local
46 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in MemoryUsage()
69 PCRE re(regexp, PCRE::UTF8); in MemoryUsage()
78 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage()
88 RE2 re(regexp); in MemoryUsage()
105 typedef void SearchImpl(int iters, const char* regexp, const StringPiece& text,
113 typedef void ParseImpl(int iters, const char* regexp, const StringPiece& text);
150 void Search(int iters, int nbytes, const char* regexp, SearchImpl* search) { in Search() argument
156 search(iters, regexp, s, Prog::kUnanchored, false); in Search()
243 string regexp = "^" + s + ".*$"; in SearchBigFixed() local
249 search(iters, regexp.c_str(), s, Prog::kUnanchored, true); in SearchBigFixed()
286 void SearchSuccess(int iters, int nbytes, const char* regexp, SearchImpl* search) { in SearchSuccess() argument
290 search(iters, regexp, s, Prog::kAnchored, true); in SearchSuccess()
566 void ParseRegexp(int iters, const string& regexp) { in ParseRegexp() argument
568 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in ParseRegexp()
574 void SimplifyRegexp(int iters, const string& regexp) { in SimplifyRegexp() argument
576 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyRegexp()
585 void NullWalkRegexp(int iters, const string& regexp) { in NullWalkRegexp() argument
586 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in NullWalkRegexp()
594 void SimplifyCompileRegexp(int iters, const string& regexp) { in SimplifyCompileRegexp() argument
596 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SimplifyCompileRegexp()
608 void CompileRegexp(int iters, const string& regexp) { in CompileRegexp() argument
610 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in CompileRegexp()
619 void CompileToProg(int iters, const string& regexp) { in CompileToProg() argument
620 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in CompileToProg()
630 void CompileByteMap(int iters, const string& regexp) { in CompileByteMap() argument
631 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in CompileByteMap()
642 void CompilePCRE(int iters, const string& regexp) { in CompilePCRE() argument
644 PCRE re(regexp, PCRE::UTF8); in CompilePCRE()
649 void CompileRE2(int iters, const string& regexp) { in CompileRE2() argument
651 RE2 re(regexp); in CompileRE2()
656 void RunBuild(int iters, const string& regexp, void (*run)(int, const string&)) { in RunBuild() argument
657 run(iters, regexp); in RunBuild()
801 void SearchDFA(int iters, const char* regexp, const StringPiece& text, in SearchDFA() argument
804 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SearchDFA()
818 void SearchNFA(int iters, const char* regexp, const StringPiece& text, in SearchNFA() argument
821 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SearchNFA()
832 void SearchOnePass(int iters, const char* regexp, const StringPiece& text, in SearchOnePass() argument
835 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SearchOnePass()
847 void SearchBitState(int iters, const char* regexp, const StringPiece& text, in SearchBitState() argument
850 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SearchBitState()
861 void SearchPCRE(int iters, const char* regexp, const StringPiece& text, in SearchPCRE() argument
864 PCRE re(regexp, PCRE::UTF8); in SearchPCRE()
873 void SearchRE2(int iters, const char* regexp, const StringPiece& text, in SearchRE2() argument
876 RE2 re(regexp); in SearchRE2()
889 void SearchCachedDFA(int iters, const char* regexp, const StringPiece& text, in SearchCachedDFA() argument
891 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SearchCachedDFA()
906 void SearchCachedNFA(int iters, const char* regexp, const StringPiece& text, in SearchCachedNFA() argument
908 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SearchCachedNFA()
920 void SearchCachedOnePass(int iters, const char* regexp, const StringPiece& text, in SearchCachedOnePass() argument
922 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SearchCachedOnePass()
934 void SearchCachedBitState(int iters, const char* regexp, const StringPiece& text, in SearchCachedBitState() argument
936 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in SearchCachedBitState()
947 void SearchCachedPCRE(int iters, const char* regexp, const StringPiece& text, in SearchCachedPCRE() argument
949 PCRE re(regexp, PCRE::UTF8); in SearchCachedPCRE()
959 void SearchCachedRE2(int iters, const char* regexp, const StringPiece& text, in SearchCachedRE2() argument
961 RE2 re(regexp); in SearchCachedRE2()
975 void Parse3NFA(int iters, const char* regexp, const StringPiece& text) { in Parse3NFA() argument
977 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse3NFA()
988 void Parse3OnePass(int iters, const char* regexp, const StringPiece& text) { in Parse3OnePass() argument
990 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse3OnePass()
1002 void Parse3BitState(int iters, const char* regexp, const StringPiece& text) { in Parse3BitState() argument
1004 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse3BitState()
1015 void Parse3Backtrack(int iters, const char* regexp, const StringPiece& text) { in Parse3Backtrack() argument
1017 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse3Backtrack()
1028 void Parse3PCRE(int iters, const char* regexp, const StringPiece& text) { in Parse3PCRE() argument
1030 PCRE re(regexp, PCRE::UTF8); in Parse3PCRE()
1037 void Parse3RE2(int iters, const char* regexp, const StringPiece& text) { in Parse3RE2() argument
1039 RE2 re(regexp); in Parse3RE2()
1046 void Parse3CachedNFA(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedNFA() argument
1047 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse3CachedNFA()
1059 void Parse3CachedOnePass(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedOnePass() argument
1060 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse3CachedOnePass()
1072 void Parse3CachedBitState(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedBitState() argument
1073 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse3CachedBitState()
1084 void Parse3CachedBacktrack(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedBacktrack() argument
1085 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse3CachedBacktrack()
1096 void Parse3CachedPCRE(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedPCRE() argument
1097 PCRE re(regexp, PCRE::UTF8); in Parse3CachedPCRE()
1105 void Parse3CachedRE2(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedRE2() argument
1106 RE2 re(regexp); in Parse3CachedRE2()
1118 void Parse1NFA(int iters, const char* regexp, const StringPiece& text) { in Parse1NFA() argument
1120 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse1NFA()
1131 void Parse1OnePass(int iters, const char* regexp, const StringPiece& text) { in Parse1OnePass() argument
1133 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse1OnePass()
1145 void Parse1BitState(int iters, const char* regexp, const StringPiece& text) { in Parse1BitState() argument
1147 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse1BitState()
1158 void Parse1PCRE(int iters, const char* regexp, const StringPiece& text) { in Parse1PCRE() argument
1160 PCRE re(regexp, PCRE::UTF8); in Parse1PCRE()
1167 void Parse1RE2(int iters, const char* regexp, const StringPiece& text) { in Parse1RE2() argument
1169 RE2 re(regexp); in Parse1RE2()
1176 void Parse1CachedNFA(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedNFA() argument
1177 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse1CachedNFA()
1189 void Parse1CachedOnePass(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedOnePass() argument
1190 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse1CachedOnePass()
1202 void Parse1CachedBitState(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedBitState() argument
1203 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse1CachedBitState()
1214 void Parse1CachedBacktrack(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedBacktrack() argument
1215 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in Parse1CachedBacktrack()
1226 void Parse1CachedPCRE(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedPCRE() argument
1227 PCRE re(regexp, PCRE::UTF8); in Parse1CachedPCRE()
1235 void Parse1CachedRE2(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedRE2() argument
1236 RE2 re(regexp); in Parse1CachedRE2()
1244 void SearchParse2CachedPCRE(int iters, const char* regexp, in SearchParse2CachedPCRE() argument
1246 PCRE re(regexp, PCRE::UTF8); in SearchParse2CachedPCRE()
1254 void SearchParse2CachedRE2(int iters, const char* regexp, in SearchParse2CachedRE2() argument
1256 RE2 re(regexp); in SearchParse2CachedRE2()
1264 void SearchParse1CachedPCRE(int iters, const char* regexp, in SearchParse1CachedPCRE() argument
1266 PCRE re(regexp, PCRE::UTF8); in SearchParse1CachedPCRE()
1274 void SearchParse1CachedRE2(int iters, const char* regexp, in SearchParse1CachedRE2() argument
1276 RE2 re(regexp); in SearchParse1CachedRE2()
1411 void FullMatchPCRE(int iter, int n, const char *regexp) { in FullMatchPCRE() argument
1417 PCRE re(regexp); in FullMatchPCRE()
1424 void FullMatchRE2(int iter, int n, const char *regexp) { in FullMatchRE2() argument
1430 RE2 re(regexp, RE2::Latin1); in FullMatchRE2()