Lines Matching refs:max
27 const char* max; member
107 string min, max; in TEST() local
114 CHECK(prog->PossibleMatchRange(&min, &max, t.maxlen)) in TEST()
119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST()
122 EXPECT_EQ(t.max, max) << t.regexp; in TEST()
129 string min, max; in TEST() local
132 EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0)); in TEST()
138 PossibleMatchRange(&min, &max, 10)) in TEST()
139 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
141 PossibleMatchRange(&min, &max, 10)) in TEST()
142 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
144 PossibleMatchRange(&min, &max, 10)) in TEST()
145 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
147 PossibleMatchRange(&min, &max, 10)) in TEST()
148 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
150 PossibleMatchRange(&min, &max, 10)) in TEST()
151 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
153 PossibleMatchRange(&min, &max, 10)) in TEST()
154 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
157 EXPECT_FALSE(RE2("*hello").PossibleMatchRange(&min, &max, 10)) in TEST()
158 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
202 string min, max; in HandleRegexp() local
203 if(!re.PossibleMatchRange(&min, &max, 10)) { in HandleRegexp()
218 CHECK_GE(s, min) << " regexp: " << regexp << " max: " << max; in HandleRegexp()
219 CHECK_LE(s, max) << " regexp: " << regexp << " min: " << min; in HandleRegexp()