Lines Matching refs:reps
265 int reps; in TEST() local
269 reps = absl::StrReplaceAll({{"", ""}, {"x", ""}, {"", "y"}, {"x", "y"}}, &s); in TEST()
270 EXPECT_EQ(reps, 0); in TEST()
275 reps = absl::StrReplaceAll({{"", ""}, {"", "y"}, {"x", ""}}, &s); in TEST()
276 EXPECT_EQ(reps, 0); in TEST()
281 reps = absl::StrReplaceAll({{"a", "x"}, {"b", "y"}, {"c", "z"}}, &s); in TEST()
282 EXPECT_EQ(reps, 3); in TEST()
285 reps = absl::StrReplaceAll({{"z", "x"}, {"x", "y"}, {"y", "z"}}, &s); in TEST()
286 EXPECT_EQ(reps, 3); in TEST()
291 reps = absl::StrReplaceAll({{"a", "x"}, {"ab", "xy"}, {"abc", "xyz"}}, &s); in TEST()
292 EXPECT_EQ(reps, 1); in TEST()
297 reps = absl::StrReplaceAll( in TEST()
299 EXPECT_EQ(reps, 1); in TEST()
304 reps = absl::StrReplaceAll( in TEST()
306 EXPECT_EQ(reps, 1); in TEST()
311 reps = absl::StrReplaceAll({{"a", "xxx"}, {"b", "XXXX"}}, &s); in TEST()
312 EXPECT_EQ(reps, 5); in TEST()
317 reps = absl::StrReplaceAll({{"aa", "x"}, {"a", "X"}}, &s); in TEST()
318 EXPECT_EQ(reps, 2); in TEST()
321 reps = absl::StrReplaceAll({{"a", "X"}, {"aa", "x"}}, &s); in TEST()
322 EXPECT_EQ(reps, 2); in TEST()
327 reps = absl::StrReplaceAll( in TEST()
339 EXPECT_EQ(reps, 8); in TEST()