Home | History | Annotate | Download | only in strings

Lines Matching refs:find_first_not_of

347   ASSERT_EQ(a.find_first_not_of(b), 3U);
348 ASSERT_EQ(a.find_first_not_of(c), 0U);
349 ASSERT_EQ(b.find_first_not_of(a), StringPiece::npos);
350 ASSERT_EQ(c.find_first_not_of(a), StringPiece::npos);
351 ASSERT_EQ(f.find_first_not_of(a), 0U);
352 ASSERT_EQ(a.find_first_not_of(f), 0U);
353 ASSERT_EQ(a.find_first_not_of(d), 0U);
354 ASSERT_EQ(a.find_first_not_of(e), 0U);
356 ASSERT_EQ(d.find_first_not_of(a), StringPiece::npos);
357 ASSERT_EQ(e.find_first_not_of(a), StringPiece::npos);
358 ASSERT_EQ(d.find_first_not_of(d), StringPiece::npos);
359 ASSERT_EQ(e.find_first_not_of(d), StringPiece::npos);
360 ASSERT_EQ(d.find_first_not_of(e), StringPiece::npos);
361 ASSERT_EQ(e.find_first_not_of(e), StringPiece::npos);
364 ASSERT_EQ(h.find_first_not_of('='), StringPiece::npos);
365 ASSERT_EQ(h.find_first_not_of('=', 3), StringPiece::npos);
366 ASSERT_EQ(h.find_first_not_of('\0'), 0U);
367 ASSERT_EQ(g.find_first_not_of('x'), 2U);
368 ASSERT_EQ(f.find_first_not_of('\0'), 0U);
369 ASSERT_EQ(f.find_first_not_of('\0', 3), 4U);
370 ASSERT_EQ(f.find_first_not_of('\0', 2), 2U);
372 ASSERT_EQ(d.find_first_not_of('x'), StringPiece::npos);
373 ASSERT_EQ(e.find_first_not_of('x'), StringPiece::npos);
374 ASSERT_EQ(d.find_first_not_of('\0'), StringPiece::npos);
375 ASSERT_EQ(e.find_first_not_of('\0'), StringPiece::npos);