Lines Matching refs:prog

26   Prog* prog = re->CompileToProg(0);  in Test()  local
27 CHECK(prog); in Test()
28 CHECK(prog->IsOnePass()); in Test()
31 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Test()
36 delete prog; in Test()
53 Prog* prog = re->CompileToProg(0); in MemoryUsage() local
54 CHECK(prog); in MemoryUsage()
55 CHECK(prog->IsOnePass()); in MemoryUsage()
60 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in MemoryUsage()
62 delete prog; in MemoryUsage()
600 Prog* prog = sre->CompileToProg(0); in SimplifyCompileRegexp() local
601 CHECK(prog); in SimplifyCompileRegexp()
602 delete prog; in SimplifyCompileRegexp()
612 Prog* prog = re->CompileToProg(0); in CompileRegexp() local
613 CHECK(prog); in CompileRegexp()
614 delete prog; in CompileRegexp()
623 Prog* prog = re->CompileToProg(0); in CompileToProg() local
624 CHECK(prog); in CompileToProg()
625 delete prog; in CompileToProg()
633 Prog* prog = re->CompileToProg(0); in CompileByteMap() local
634 CHECK(prog); in CompileByteMap()
636 prog->ComputeByteMap(); in CompileByteMap()
638 delete prog; in CompileByteMap()
806 Prog* prog = re->CompileToProg(0); in SearchDFA() local
807 CHECK(prog); in SearchDFA()
809 CHECK_EQ(prog->SearchDFA(text, NULL, anchor, Prog::kFirstMatch, in SearchDFA()
813 delete prog; in SearchDFA()
823 Prog* prog = re->CompileToProg(0); in SearchNFA() local
824 CHECK(prog); in SearchNFA()
825 CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0), in SearchNFA()
827 delete prog; in SearchNFA()
837 Prog* prog = re->CompileToProg(0); in SearchOnePass() local
838 CHECK(prog); in SearchOnePass()
839 CHECK(prog->IsOnePass()); in SearchOnePass()
840 CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchOnePass()
842 delete prog; in SearchOnePass()
852 Prog* prog = re->CompileToProg(0); in SearchBitState() local
853 CHECK(prog); in SearchBitState()
854 CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchBitState()
856 delete prog; in SearchBitState()
893 Prog* prog = re->CompileToProg(1LL<<31); in SearchCachedDFA() local
894 CHECK(prog); in SearchCachedDFA()
897 CHECK_EQ(prog->SearchDFA(text, NULL, anchor, in SearchCachedDFA()
902 delete prog; in SearchCachedDFA()
910 Prog* prog = re->CompileToProg(0); in SearchCachedNFA() local
911 CHECK(prog); in SearchCachedNFA()
913 CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedNFA()
916 delete prog; in SearchCachedNFA()
924 Prog* prog = re->CompileToProg(0); in SearchCachedOnePass() local
925 CHECK(prog); in SearchCachedOnePass()
926 CHECK(prog->IsOnePass()); in SearchCachedOnePass()
928 CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedOnePass()
930 delete prog; in SearchCachedOnePass()
938 Prog* prog = re->CompileToProg(0); in SearchCachedBitState() local
939 CHECK(prog); in SearchCachedBitState()
941 CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedBitState()
943 delete prog; in SearchCachedBitState()
979 Prog* prog = re->CompileToProg(0); in Parse3NFA() local
980 CHECK(prog); in Parse3NFA()
982 CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3NFA()
983 delete prog; in Parse3NFA()
992 Prog* prog = re->CompileToProg(0); in Parse3OnePass() local
993 CHECK(prog); in Parse3OnePass()
994 CHECK(prog->IsOnePass()); in Parse3OnePass()
996 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3OnePass()
997 delete prog; in Parse3OnePass()
1006 Prog* prog = re->CompileToProg(0); in Parse3BitState() local
1007 CHECK(prog); in Parse3BitState()
1009 CHECK(prog->SearchBitState(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3BitState()
1010 delete prog; in Parse3BitState()
1019 Prog* prog = re->CompileToProg(0); in Parse3Backtrack() local
1020 CHECK(prog); in Parse3Backtrack()
1022 CHECK(prog->UnsafeSearchBacktrack(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3Backtrack()
1023 delete prog; in Parse3Backtrack()
1049 Prog* prog = re->CompileToProg(0); in Parse3CachedNFA() local
1050 CHECK(prog); in Parse3CachedNFA()
1053 CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3CachedNFA()
1055 delete prog; in Parse3CachedNFA()
1062 Prog* prog = re->CompileToProg(0); in Parse3CachedOnePass() local
1063 CHECK(prog); in Parse3CachedOnePass()
1064 CHECK(prog->IsOnePass()); in Parse3CachedOnePass()
1067 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3CachedOnePass()
1068 delete prog; in Parse3CachedOnePass()
1075 Prog* prog = re->CompileToProg(0); in Parse3CachedBitState() local
1076 CHECK(prog); in Parse3CachedBitState()
1079 CHECK(prog->SearchBitState(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3CachedBitState()
1080 delete prog; in Parse3CachedBitState()
1087 Prog* prog = re->CompileToProg(0); in Parse3CachedBacktrack() local
1088 CHECK(prog); in Parse3CachedBacktrack()
1091 CHECK(prog->UnsafeSearchBacktrack(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3CachedBacktrack()
1092 delete prog; in Parse3CachedBacktrack()
1122 Prog* prog = re->CompileToProg(0); in Parse1NFA() local
1123 CHECK(prog); in Parse1NFA()
1125 CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 2)); in Parse1NFA()
1126 delete prog; in Parse1NFA()
1135 Prog* prog = re->CompileToProg(0); in Parse1OnePass() local
1136 CHECK(prog); in Parse1OnePass()
1137 CHECK(prog->IsOnePass()); in Parse1OnePass()
1139 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); in Parse1OnePass()
1140 delete prog; in Parse1OnePass()
1149 Prog* prog = re->CompileToProg(0); in Parse1BitState() local
1150 CHECK(prog); in Parse1BitState()
1152 CHECK(prog->SearchBitState(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); in Parse1BitState()
1153 delete prog; in Parse1BitState()
1179 Prog* prog = re->CompileToProg(0); in Parse1CachedNFA() local
1180 CHECK(prog); in Parse1CachedNFA()
1183 CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 2)); in Parse1CachedNFA()
1185 delete prog; in Parse1CachedNFA()
1192 Prog* prog = re->CompileToProg(0); in Parse1CachedOnePass() local
1193 CHECK(prog); in Parse1CachedOnePass()
1194 CHECK(prog->IsOnePass()); in Parse1CachedOnePass()
1197 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); in Parse1CachedOnePass()
1198 delete prog; in Parse1CachedOnePass()
1205 Prog* prog = re->CompileToProg(0); in Parse1CachedBitState() local
1206 CHECK(prog); in Parse1CachedBitState()
1209 CHECK(prog->SearchBitState(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); in Parse1CachedBitState()
1210 delete prog; in Parse1CachedBitState()
1217 Prog* prog = re->CompileToProg(0); in Parse1CachedBacktrack() local
1218 CHECK(prog); in Parse1CachedBacktrack()
1221 CHECK(prog->UnsafeSearchBacktrack(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); in Parse1CachedBacktrack()
1222 delete prog; in Parse1CachedBacktrack()