Lines Matching refs:iters
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()
157 SetBenchmarkBytesProcessed(static_cast<int64>(iters)*nbytes); in Search()
239 void SearchBigFixed(int iters, int nbytes, SearchImpl* search) { in SearchBigFixed() argument
249 search(iters, regexp.c_str(), s, Prog::kUnanchored, true); in SearchBigFixed()
250 SetBenchmarkBytesProcessed(static_cast<int64>(iters)*nbytes); in SearchBigFixed()
266 void FindAndConsume(int iters, int nbytes) { in FindAndConsume() argument
273 for (int i = 0; i < iters; i++) { in FindAndConsume()
279 SetBenchmarkBytesProcessed(static_cast<int64>(iters)*nbytes); in FindAndConsume()
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()
291 SetBenchmarkBytesProcessed(static_cast<int64>(iters)*nbytes); in SearchSuccess()
346 void SearchDigits(int iters, SearchImpl* search) { in SearchDigits() argument
350 search(iters, "([0-9]+)-([0-9]+)-([0-9]+)", in SearchDigits()
352 SetBenchmarkItemsProcessed(iters); in SearchDigits()
373 void Parse3Digits(int iters, in Parse3Digits() argument
376 parse3(iters, "([0-9]+)-([0-9]+)-([0-9]+)", "650-253-0001"); in Parse3Digits()
377 SetBenchmarkItemsProcessed(iters); in Parse3Digits()
412 void Parse3DigitDs(int iters, in Parse3DigitDs() argument
415 parse3(iters, "(\\d+)-(\\d+)-(\\d+)", "650-253-0001"); in Parse3DigitDs()
416 SetBenchmarkItemsProcessed(iters); in Parse3DigitDs()
453 void Parse1Split(int iters, in Parse1Split() argument
456 parse1(iters, "[0-9]+-(.*)", "650-253-0001"); in Parse1Split()
457 SetBenchmarkItemsProcessed(iters); in Parse1Split()
490 void Parse1SplitHard(int iters, in Parse1SplitHard() argument
493 run(iters, "[0-9]+.(.*)", "650-253-0001"); in Parse1SplitHard()
494 SetBenchmarkItemsProcessed(iters); in Parse1SplitHard()
525 void Parse1SplitBig1(int iters, in Parse1SplitBig1() argument
531 run(iters, "[0-9]+.(.*)", s); in Parse1SplitBig1()
532 SetBenchmarkItemsProcessed(iters); in Parse1SplitBig1()
545 void Parse1SplitBig2(int iters, in Parse1SplitBig2() argument
551 run(iters, "[0-9]+.(.*)", s); in Parse1SplitBig2()
552 SetBenchmarkItemsProcessed(iters); in Parse1SplitBig2()
566 void ParseRegexp(int iters, const string& regexp) { in ParseRegexp() argument
567 for (int i = 0; i < iters; i++) { in ParseRegexp()
574 void SimplifyRegexp(int iters, const string& regexp) { in SimplifyRegexp() argument
575 for (int i = 0; i < iters; i++) { in SimplifyRegexp()
585 void NullWalkRegexp(int iters, const string& regexp) { in NullWalkRegexp() argument
588 for (int i = 0; i < iters; i++) { in NullWalkRegexp()
594 void SimplifyCompileRegexp(int iters, const string& regexp) { in SimplifyCompileRegexp() argument
595 for (int i = 0; i < iters; i++) { in SimplifyCompileRegexp()
608 void CompileRegexp(int iters, const string& regexp) { in CompileRegexp() argument
609 for (int i = 0; i < iters; i++) { in CompileRegexp()
619 void CompileToProg(int iters, const string& regexp) { in CompileToProg() argument
622 for (int i = 0; i < iters; i++) { in CompileToProg()
630 void CompileByteMap(int iters, const string& regexp) { in CompileByteMap() argument
635 for (int i = 0; i < iters; i++) { in CompileByteMap()
642 void CompilePCRE(int iters, const string& regexp) { in CompilePCRE() argument
643 for (int i = 0; i < iters; i++) { in CompilePCRE()
649 void CompileRE2(int iters, const string& regexp) { in CompileRE2() argument
650 for (int i = 0; i < iters; i++) { in CompileRE2()
656 void RunBuild(int iters, const string& regexp, void (*run)(int, const string&)) { in RunBuild() argument
657 run(iters, regexp); in RunBuild()
658 SetBenchmarkItemsProcessed(iters); in RunBuild()
692 void SearchPhone(int iters, int nbytes, ParseImpl* search) { in SearchPhone() argument
699 search(iters, "(\\d{3}-|\\(\\d{3}\\)\\s+)(\\d{3}-\\d{4})", s); in SearchPhone()
700 SetBenchmarkBytesProcessed(static_cast<int64>(iters)*nbytes); in SearchPhone()
801 void SearchDFA(int iters, const char* regexp, const StringPiece& text, in SearchDFA() argument
803 for (int i = 0; i < iters; i++) { in SearchDFA()
818 void SearchNFA(int iters, const char* regexp, const StringPiece& text, in SearchNFA() argument
820 for (int i = 0; i < iters; i++) { in SearchNFA()
832 void SearchOnePass(int iters, const char* regexp, const StringPiece& text, in SearchOnePass() argument
834 for (int i = 0; i < iters; i++) { in SearchOnePass()
847 void SearchBitState(int iters, const char* regexp, const StringPiece& text, in SearchBitState() argument
849 for (int i = 0; i < iters; i++) { in SearchBitState()
861 void SearchPCRE(int iters, const char* regexp, const StringPiece& text, in SearchPCRE() argument
863 for (int i = 0; i < iters; i++) { in SearchPCRE()
873 void SearchRE2(int iters, const char* regexp, const StringPiece& text, in SearchRE2() argument
875 for (int i = 0; i < iters; i++) { in SearchRE2()
889 void SearchCachedDFA(int iters, const char* regexp, const StringPiece& text, in SearchCachedDFA() argument
895 for (int i = 0; i < iters; i++) { in SearchCachedDFA()
906 void SearchCachedNFA(int iters, const char* regexp, const StringPiece& text, in SearchCachedNFA() argument
912 for (int i = 0; i < iters; i++) { in SearchCachedNFA()
920 void SearchCachedOnePass(int iters, const char* regexp, const StringPiece& text, in SearchCachedOnePass() argument
927 for (int i = 0; i < iters; i++) in SearchCachedOnePass()
934 void SearchCachedBitState(int iters, const char* regexp, const StringPiece& text, in SearchCachedBitState() argument
940 for (int i = 0; i < iters; i++) in SearchCachedBitState()
947 void SearchCachedPCRE(int iters, const char* regexp, const StringPiece& text, in SearchCachedPCRE() argument
951 for (int i = 0; i < iters; i++) { in SearchCachedPCRE()
959 void SearchCachedRE2(int iters, const char* regexp, const StringPiece& text, in SearchCachedRE2() argument
963 for (int i = 0; i < iters; i++) { in SearchCachedRE2()
975 void Parse3NFA(int iters, const char* regexp, const StringPiece& text) { in Parse3NFA() argument
976 for (int i = 0; i < iters; i++) { in Parse3NFA()
988 void Parse3OnePass(int iters, const char* regexp, const StringPiece& text) { in Parse3OnePass() argument
989 for (int i = 0; i < iters; i++) { in Parse3OnePass()
1002 void Parse3BitState(int iters, const char* regexp, const StringPiece& text) { in Parse3BitState() argument
1003 for (int i = 0; i < iters; i++) { in Parse3BitState()
1015 void Parse3Backtrack(int iters, const char* regexp, const StringPiece& text) { in Parse3Backtrack() argument
1016 for (int i = 0; i < iters; i++) { in Parse3Backtrack()
1028 void Parse3PCRE(int iters, const char* regexp, const StringPiece& text) { in Parse3PCRE() argument
1029 for (int i = 0; i < iters; i++) { in Parse3PCRE()
1037 void Parse3RE2(int iters, const char* regexp, const StringPiece& text) { in Parse3RE2() argument
1038 for (int i = 0; i < iters; i++) { in Parse3RE2()
1046 void Parse3CachedNFA(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedNFA() argument
1052 for (int i = 0; i < iters; i++) { in Parse3CachedNFA()
1059 void Parse3CachedOnePass(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedOnePass() argument
1066 for (int i = 0; i < iters; i++) in Parse3CachedOnePass()
1072 void Parse3CachedBitState(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedBitState() argument
1078 for (int i = 0; i < iters; i++) in Parse3CachedBitState()
1084 void Parse3CachedBacktrack(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedBacktrack() argument
1090 for (int i = 0; i < iters; i++) in Parse3CachedBacktrack()
1096 void Parse3CachedPCRE(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedPCRE() argument
1100 for (int i = 0; i < iters; i++) { in Parse3CachedPCRE()
1105 void Parse3CachedRE2(int iters, const char* regexp, const StringPiece& text) { in Parse3CachedRE2() argument
1109 for (int i = 0; i < iters; i++) { in Parse3CachedRE2()
1118 void Parse1NFA(int iters, const char* regexp, const StringPiece& text) { in Parse1NFA() argument
1119 for (int i = 0; i < iters; i++) { in Parse1NFA()
1131 void Parse1OnePass(int iters, const char* regexp, const StringPiece& text) { in Parse1OnePass() argument
1132 for (int i = 0; i < iters; i++) { in Parse1OnePass()
1145 void Parse1BitState(int iters, const char* regexp, const StringPiece& text) { in Parse1BitState() argument
1146 for (int i = 0; i < iters; i++) { in Parse1BitState()
1158 void Parse1PCRE(int iters, const char* regexp, const StringPiece& text) { in Parse1PCRE() argument
1159 for (int i = 0; i < iters; i++) { in Parse1PCRE()
1167 void Parse1RE2(int iters, const char* regexp, const StringPiece& text) { in Parse1RE2() argument
1168 for (int i = 0; i < iters; i++) { in Parse1RE2()
1176 void Parse1CachedNFA(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedNFA() argument
1182 for (int i = 0; i < iters; i++) { in Parse1CachedNFA()
1189 void Parse1CachedOnePass(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedOnePass() argument
1196 for (int i = 0; i < iters; i++) in Parse1CachedOnePass()
1202 void Parse1CachedBitState(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedBitState() argument
1208 for (int i = 0; i < iters; i++) in Parse1CachedBitState()
1214 void Parse1CachedBacktrack(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedBacktrack() argument
1220 for (int i = 0; i < iters; i++) in Parse1CachedBacktrack()
1226 void Parse1CachedPCRE(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedPCRE() argument
1230 for (int i = 0; i < iters; i++) { in Parse1CachedPCRE()
1235 void Parse1CachedRE2(int iters, const char* regexp, const StringPiece& text) { in Parse1CachedRE2() argument
1239 for (int i = 0; i < iters; i++) { in Parse1CachedRE2()
1244 void SearchParse2CachedPCRE(int iters, const char* regexp, in SearchParse2CachedPCRE() argument
1248 for (int i = 0; i < iters; i++) { in SearchParse2CachedPCRE()
1254 void SearchParse2CachedRE2(int iters, const char* regexp, in SearchParse2CachedRE2() argument
1258 for (int i = 0; i < iters; i++) { in SearchParse2CachedRE2()
1264 void SearchParse1CachedPCRE(int iters, const char* regexp, in SearchParse1CachedPCRE() argument
1268 for (int i = 0; i < iters; i++) { in SearchParse1CachedPCRE()
1274 void SearchParse1CachedRE2(int iters, const char* regexp, in SearchParse1CachedRE2() argument
1278 for (int i = 0; i < iters; i++) { in SearchParse1CachedRE2()