Lines Matching refs:find_first_not_of
285 ASSERT_EQ(a.find_first_not_of(b), 3U);
286 ASSERT_EQ(a.find_first_not_of(c), 0U);
287 ASSERT_EQ(b.find_first_not_of(a), StringPiece::npos);
288 ASSERT_EQ(c.find_first_not_of(a), StringPiece::npos);
289 ASSERT_EQ(f.find_first_not_of(a), 0U);
290 ASSERT_EQ(a.find_first_not_of(f), 0U);
291 ASSERT_EQ(a.find_first_not_of(d), 0U);
292 ASSERT_EQ(a.find_first_not_of(e), 0U);
294 ASSERT_EQ(d.find_first_not_of(a), StringPiece::npos);
295 ASSERT_EQ(e.find_first_not_of(a), StringPiece::npos);
296 ASSERT_EQ(d.find_first_not_of(d), StringPiece::npos);
297 ASSERT_EQ(e.find_first_not_of(d), StringPiece::npos);
298 ASSERT_EQ(d.find_first_not_of(e), StringPiece::npos);
299 ASSERT_EQ(e.find_first_not_of(e), StringPiece::npos);
302 ASSERT_EQ(h.find_first_not_of('='), StringPiece::npos);
303 ASSERT_EQ(h.find_first_not_of('=', 3), StringPiece::npos);
304 ASSERT_EQ(h.find_first_not_of('\0'), 0U);
305 ASSERT_EQ(g.find_first_not_of('x'), 2U);
306 ASSERT_EQ(f.find_first_not_of('\0'), 0U);
307 ASSERT_EQ(f.find_first_not_of('\0', 3), 4U);
308 ASSERT_EQ(f.find_first_not_of('\0', 2), 2U);
310 ASSERT_EQ(d.find_first_not_of('x'), StringPiece::npos);
311 ASSERT_EQ(e.find_first_not_of('x'), StringPiece::npos);
312 ASSERT_EQ(d.find_first_not_of('\0'), StringPiece::npos);
313 ASSERT_EQ(e.find_first_not_of('\0'), StringPiece::npos);