H A D | regexp_benchmark.cc | 105 typedef void SearchImpl(int iters, const char* regexp, const StringPiece& text, 113 typedef void ParseImpl(int iters, const char* regexp, const StringPiece& text); 149 // the text for regexp iters times. 150 void Search(int iters, int nbytes, const char* regexp, SearchImpl* search) { argument 156 search(iters, regexp, s, Prog::kUnanchored, false); 157 SetBenchmarkBytesProcessed(static_cast<int64>(iters)*nbytes); 239 void SearchBigFixed(int iters, int nbytes, SearchImpl* search) { argument 249 search(iters, regexp.c_str(), s, Prog::kUnanchored, true); 250 SetBenchmarkBytesProcessed(static_cast<int64>(iters)*nbytes); 266 void FindAndConsume(int iters, in argument 286 SearchSuccess(int iters, int nbytes, const char* regexp, SearchImpl* search) argument 346 SearchDigits(int iters, SearchImpl* search) argument 373 Parse3Digits(int iters, void (*parse3)(int, const char*, const StringPiece&)) argument 412 Parse3DigitDs(int iters, void (*parse3)(int, const char*, const StringPiece&)) argument 453 Parse1Split(int iters, void (*parse1)(int, const char*, const StringPiece&)) argument 490 Parse1SplitHard(int iters, void (*run)(int, const char*, const StringPiece&)) argument 525 Parse1SplitBig1(int iters, void (*run)(int, const char*, const StringPiece&)) argument 545 Parse1SplitBig2(int iters, void (*run)(int, const char*, const StringPiece&)) argument 566 ParseRegexp(int iters, const string& regexp) argument 574 SimplifyRegexp(int iters, const string& regexp) argument 585 NullWalkRegexp(int iters, const string& regexp) argument 594 SimplifyCompileRegexp(int iters, const string& regexp) argument 608 CompileRegexp(int iters, const string& regexp) argument 619 CompileToProg(int iters, const string& regexp) argument 630 CompileByteMap(int iters, const string& regexp) argument 642 CompilePCRE(int iters, const string& regexp) argument 649 CompileRE2(int iters, const string& regexp) argument 656 RunBuild(int iters, const string& regexp, void (*run)(int, const string&)) argument 692 SearchPhone(int iters, int nbytes, ParseImpl* search) argument 801 SearchDFA(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 818 SearchNFA(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 832 SearchOnePass(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 847 SearchBitState(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 861 SearchPCRE(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 873 SearchRE2(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 889 SearchCachedDFA(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 906 SearchCachedNFA(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 920 SearchCachedOnePass(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 934 SearchCachedBitState(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 947 SearchCachedPCRE(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 959 SearchCachedRE2(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument 975 Parse3NFA(int iters, const char* regexp, const StringPiece& text) argument 988 Parse3OnePass(int iters, const char* regexp, const StringPiece& text) argument 1002 Parse3BitState(int iters, const char* regexp, const StringPiece& text) argument 1015 Parse3Backtrack(int iters, const char* regexp, const StringPiece& text) argument 1028 Parse3PCRE(int iters, const char* regexp, const StringPiece& text) argument 1037 Parse3RE2(int iters, const char* regexp, const StringPiece& text) argument 1046 Parse3CachedNFA(int iters, const char* regexp, const StringPiece& text) argument 1059 Parse3CachedOnePass(int iters, const char* regexp, const StringPiece& text) argument 1072 Parse3CachedBitState(int iters, const char* regexp, const StringPiece& text) argument 1084 Parse3CachedBacktrack(int iters, const char* regexp, const StringPiece& text) argument 1096 Parse3CachedPCRE(int iters, const char* regexp, const StringPiece& text) argument 1105 Parse3CachedRE2(int iters, const char* regexp, const StringPiece& text) argument 1118 Parse1NFA(int iters, const char* regexp, const StringPiece& text) argument 1131 Parse1OnePass(int iters, const char* regexp, const StringPiece& text) argument 1145 Parse1BitState(int iters, const char* regexp, const StringPiece& text) argument 1158 Parse1PCRE(int iters, const char* regexp, const StringPiece& text) argument 1167 Parse1RE2(int iters, const char* regexp, const StringPiece& text) argument 1176 Parse1CachedNFA(int iters, const char* regexp, const StringPiece& text) argument 1189 Parse1CachedOnePass(int iters, const char* regexp, const StringPiece& text) argument 1202 Parse1CachedBitState(int iters, const char* regexp, const StringPiece& text) argument 1214 Parse1CachedBacktrack(int iters, const char* regexp, const StringPiece& text) argument 1226 Parse1CachedPCRE(int iters, const char* regexp, const StringPiece& text) argument 1235 Parse1CachedRE2(int iters, const char* regexp, const StringPiece& text) argument 1244 SearchParse2CachedPCRE(int iters, const char* regexp, const StringPiece& text) argument 1254 SearchParse2CachedRE2(int iters, const char* regexp, const StringPiece& text) argument 1264 SearchParse1CachedPCRE(int iters, const char* regexp, const StringPiece& text) argument 1274 SearchParse1CachedRE2(int iters, const char* regexp, const StringPiece& text) argument [all...] |