• Home
  • Raw
  • Download

Lines Matching refs:rfind

288   ASSERT_EQ(a.rfind(b), 0U);  in TYPED_TEST()
289 ASSERT_EQ(a.rfind(b, 1), 0U); in TYPED_TEST()
290 ASSERT_EQ(a.rfind(c), 23U); in TYPED_TEST()
291 ASSERT_EQ(a.rfind(c, 22U), Piece::npos); in TYPED_TEST()
292 ASSERT_EQ(a.rfind(c, 1U), Piece::npos); in TYPED_TEST()
293 ASSERT_EQ(a.rfind(c, 0U), Piece::npos); in TYPED_TEST()
294 ASSERT_EQ(b.rfind(c), Piece::npos); in TYPED_TEST()
295 ASSERT_EQ(b.rfind(c, 0U), Piece::npos); in TYPED_TEST()
296 ASSERT_EQ(a.rfind(d), static_cast<size_t>(a.as_string().rfind(TypeParam()))); in TYPED_TEST()
297 ASSERT_EQ(a.rfind(e), a.as_string().rfind(TypeParam())); in TYPED_TEST()
298 ASSERT_EQ(a.rfind(d), static_cast<size_t>(TypeParam(a).rfind(TypeParam()))); in TYPED_TEST()
299 ASSERT_EQ(a.rfind(e), TypeParam(a).rfind(TypeParam())); in TYPED_TEST()
300 ASSERT_EQ(a.rfind(d, 12), 12U); in TYPED_TEST()
301 ASSERT_EQ(a.rfind(e, 17), 17U); in TYPED_TEST()
302 ASSERT_EQ(a.rfind(g), Piece::npos); in TYPED_TEST()
303 ASSERT_EQ(d.rfind(b), Piece::npos); in TYPED_TEST()
304 ASSERT_EQ(e.rfind(b), Piece::npos); in TYPED_TEST()
305 ASSERT_EQ(d.rfind(b, 4), Piece::npos); in TYPED_TEST()
306 ASSERT_EQ(e.rfind(b, 7), Piece::npos); in TYPED_TEST()
308 ASSERT_EQ(d.rfind(d, 4), std::string().rfind(std::string())); in TYPED_TEST()
309 ASSERT_EQ(e.rfind(d, 7), std::string().rfind(std::string())); in TYPED_TEST()
310 ASSERT_EQ(d.rfind(e, 4), std::string().rfind(std::string())); in TYPED_TEST()
311 ASSERT_EQ(e.rfind(e, 7), std::string().rfind(std::string())); in TYPED_TEST()
312 ASSERT_EQ(d.rfind(d), std::string().rfind(std::string())); in TYPED_TEST()
313 ASSERT_EQ(e.rfind(d), std::string().rfind(std::string())); in TYPED_TEST()
314 ASSERT_EQ(d.rfind(e), std::string().rfind(std::string())); in TYPED_TEST()
315 ASSERT_EQ(e.rfind(e), std::string().rfind(std::string())); in TYPED_TEST()
317 ASSERT_EQ(g.rfind('o'), 8U); in TYPED_TEST()
318 ASSERT_EQ(g.rfind('q'), Piece::npos); in TYPED_TEST()
319 ASSERT_EQ(g.rfind('o', 8), 8U); in TYPED_TEST()
320 ASSERT_EQ(g.rfind('o', 7), 4U); in TYPED_TEST()
321 ASSERT_EQ(g.rfind('o', 3), Piece::npos); in TYPED_TEST()
322 ASSERT_EQ(f.rfind('\0'), 3U); in TYPED_TEST()
323 ASSERT_EQ(f.rfind('\0', 12), 3U); in TYPED_TEST()
324 ASSERT_EQ(f.rfind('3'), 2U); in TYPED_TEST()
325 ASSERT_EQ(f.rfind('5'), 5U); in TYPED_TEST()
327 ASSERT_EQ(d.rfind('o'), Piece::npos); in TYPED_TEST()
328 ASSERT_EQ(e.rfind('o'), Piece::npos); in TYPED_TEST()
329 ASSERT_EQ(d.rfind('o', 4), Piece::npos); in TYPED_TEST()
330 ASSERT_EQ(e.rfind('o', 7), Piece::npos); in TYPED_TEST()