• Home
  • Raw
  • Download

Lines Matching refs:Piece

198   typedef BasicStringPiece<TypeParam> Piece;  in TYPED_TEST()  typedef
211 Piece e; in TYPED_TEST()
215 Piece f(temp); in TYPED_TEST()
234 ASSERT_EQ(Piece::npos, TypeParam::npos); in TYPED_TEST()
237 ASSERT_EQ(a.find(b, 1), Piece::npos); in TYPED_TEST()
240 ASSERT_EQ(a.find(c, Piece::npos), Piece::npos); in TYPED_TEST()
241 ASSERT_EQ(b.find(c), Piece::npos); in TYPED_TEST()
242 ASSERT_EQ(b.find(c, Piece::npos), Piece::npos); in TYPED_TEST()
248 Piece g(not_found); in TYPED_TEST()
249 ASSERT_EQ(a.find(g), Piece::npos); in TYPED_TEST()
251 ASSERT_EQ(d.find(b), Piece::npos); in TYPED_TEST()
252 ASSERT_EQ(e.find(b), Piece::npos); in TYPED_TEST()
253 ASSERT_EQ(d.find(b, 4), Piece::npos); in TYPED_TEST()
254 ASSERT_EQ(e.find(b, 7), Piece::npos); in TYPED_TEST()
269 ASSERT_EQ(a.find('$'), Piece::npos); in TYPED_TEST()
270 ASSERT_EQ(a.find('\0'), Piece::npos); in TYPED_TEST()
277 ASSERT_EQ(a.find('b', 5), Piece::npos); in TYPED_TEST()
279 ASSERT_EQ(d.find('\0'), Piece::npos); in TYPED_TEST()
280 ASSERT_EQ(e.find('\0'), Piece::npos); in TYPED_TEST()
281 ASSERT_EQ(d.find('\0', 4), Piece::npos); in TYPED_TEST()
282 ASSERT_EQ(e.find('\0', 7), Piece::npos); in TYPED_TEST()
283 ASSERT_EQ(d.find('x'), Piece::npos); in TYPED_TEST()
284 ASSERT_EQ(e.find('x'), Piece::npos); in TYPED_TEST()
285 ASSERT_EQ(d.find('x', 4), Piece::npos); in TYPED_TEST()
286 ASSERT_EQ(e.find('x', 7), Piece::npos); 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()
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()
318 ASSERT_EQ(g.rfind('q'), Piece::npos); in TYPED_TEST()
321 ASSERT_EQ(g.rfind('o', 3), Piece::npos); 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()
334 ASSERT_EQ(3U, Piece(one_two_three_four).find_first_of(comma_colon)); in TYPED_TEST()
339 ASSERT_EQ(a.find_first_of(b, 3), Piece::npos); in TYPED_TEST()
344 ASSERT_EQ(a.find_first_of(c, 26), Piece::npos); in TYPED_TEST()
347 ASSERT_EQ(a.find_first_of(f), Piece::npos); in TYPED_TEST()
348 ASSERT_EQ(f.find_first_of(a), Piece::npos); in TYPED_TEST()
350 ASSERT_EQ(a.find_first_of(d), Piece::npos); in TYPED_TEST()
351 ASSERT_EQ(a.find_first_of(e), Piece::npos); in TYPED_TEST()
352 ASSERT_EQ(d.find_first_of(b), Piece::npos); in TYPED_TEST()
353 ASSERT_EQ(e.find_first_of(b), Piece::npos); in TYPED_TEST()
354 ASSERT_EQ(d.find_first_of(d), Piece::npos); in TYPED_TEST()
355 ASSERT_EQ(e.find_first_of(d), Piece::npos); in TYPED_TEST()
356 ASSERT_EQ(d.find_first_of(e), Piece::npos); in TYPED_TEST()
357 ASSERT_EQ(e.find_first_of(e), Piece::npos); in TYPED_TEST()
361 ASSERT_EQ(b.find_first_not_of(a), Piece::npos); in TYPED_TEST()
362 ASSERT_EQ(c.find_first_not_of(a), Piece::npos); in TYPED_TEST()
368 ASSERT_EQ(d.find_first_not_of(a), Piece::npos); in TYPED_TEST()
369 ASSERT_EQ(e.find_first_not_of(a), Piece::npos); in TYPED_TEST()
370 ASSERT_EQ(d.find_first_not_of(d), Piece::npos); in TYPED_TEST()
371 ASSERT_EQ(e.find_first_not_of(d), Piece::npos); in TYPED_TEST()
372 ASSERT_EQ(d.find_first_not_of(e), Piece::npos); in TYPED_TEST()
373 ASSERT_EQ(e.find_first_not_of(e), Piece::npos); in TYPED_TEST()
376 Piece h(equals); in TYPED_TEST()
377 ASSERT_EQ(h.find_first_not_of('='), Piece::npos); in TYPED_TEST()
378 ASSERT_EQ(h.find_first_not_of('=', 3), Piece::npos); in TYPED_TEST()
385 ASSERT_EQ(d.find_first_not_of('x'), Piece::npos); in TYPED_TEST()
386 ASSERT_EQ(e.find_first_not_of('x'), Piece::npos); in TYPED_TEST()
387 ASSERT_EQ(d.find_first_not_of('\0'), Piece::npos); in TYPED_TEST()
388 ASSERT_EQ(e.find_first_not_of('\0'), Piece::npos); in TYPED_TEST()
392 Piece i(fifty_six); in TYPED_TEST()
393 ASSERT_EQ(h.find_last_of(a), Piece::npos); in TYPED_TEST()
403 ASSERT_EQ(a.find_last_of('b', 0), Piece::npos); in TYPED_TEST()
405 ASSERT_EQ(a.find_last_of('z', 24), Piece::npos); in TYPED_TEST()
408 ASSERT_EQ(f.find_last_of(a, 4), Piece::npos); in TYPED_TEST()
410 ASSERT_EQ(f.find_last_of(d), Piece::npos); in TYPED_TEST()
411 ASSERT_EQ(f.find_last_of(e), Piece::npos); in TYPED_TEST()
412 ASSERT_EQ(f.find_last_of(d, 4), Piece::npos); in TYPED_TEST()
413 ASSERT_EQ(f.find_last_of(e, 4), Piece::npos); in TYPED_TEST()
414 ASSERT_EQ(d.find_last_of(d), Piece::npos); in TYPED_TEST()
415 ASSERT_EQ(d.find_last_of(e), Piece::npos); in TYPED_TEST()
416 ASSERT_EQ(e.find_last_of(d), Piece::npos); in TYPED_TEST()
417 ASSERT_EQ(e.find_last_of(e), Piece::npos); in TYPED_TEST()
418 ASSERT_EQ(d.find_last_of(f), Piece::npos); in TYPED_TEST()
419 ASSERT_EQ(e.find_last_of(f), Piece::npos); in TYPED_TEST()
420 ASSERT_EQ(d.find_last_of(d, 4), Piece::npos); in TYPED_TEST()
421 ASSERT_EQ(d.find_last_of(e, 4), Piece::npos); in TYPED_TEST()
422 ASSERT_EQ(e.find_last_of(d, 4), Piece::npos); in TYPED_TEST()
423 ASSERT_EQ(e.find_last_of(e, 4), Piece::npos); in TYPED_TEST()
424 ASSERT_EQ(d.find_last_of(f, 4), Piece::npos); in TYPED_TEST()
425 ASSERT_EQ(e.find_last_of(f, 4), Piece::npos); in TYPED_TEST()
429 ASSERT_EQ(b.find_last_not_of(a), Piece::npos); in TYPED_TEST()
430 ASSERT_EQ(b.find_last_not_of(b), Piece::npos); in TYPED_TEST()
434 ASSERT_EQ(a.find_last_not_of(b, 2), Piece::npos); in TYPED_TEST()
440 ASSERT_EQ(d.find_last_not_of(d), Piece::npos); in TYPED_TEST()
441 ASSERT_EQ(d.find_last_not_of(e), Piece::npos); in TYPED_TEST()
442 ASSERT_EQ(e.find_last_not_of(d), Piece::npos); in TYPED_TEST()
443 ASSERT_EQ(e.find_last_not_of(e), Piece::npos); in TYPED_TEST()
444 ASSERT_EQ(d.find_last_not_of(f), Piece::npos); in TYPED_TEST()
445 ASSERT_EQ(e.find_last_not_of(f), Piece::npos); in TYPED_TEST()
446 ASSERT_EQ(d.find_last_not_of(d, 4), Piece::npos); in TYPED_TEST()
447 ASSERT_EQ(d.find_last_not_of(e, 4), Piece::npos); in TYPED_TEST()
448 ASSERT_EQ(e.find_last_not_of(d, 4), Piece::npos); in TYPED_TEST()
449 ASSERT_EQ(e.find_last_not_of(e, 4), Piece::npos); in TYPED_TEST()
450 ASSERT_EQ(d.find_last_not_of(f, 4), Piece::npos); in TYPED_TEST()
451 ASSERT_EQ(e.find_last_not_of(f, 4), Piece::npos); in TYPED_TEST()
454 ASSERT_EQ(h.find_last_not_of('='), Piece::npos); in TYPED_TEST()
457 ASSERT_EQ(h.find_last_not_of('=', 2), Piece::npos); in TYPED_TEST()
460 ASSERT_EQ(d.find_last_not_of('x'), Piece::npos); in TYPED_TEST()
461 ASSERT_EQ(e.find_last_not_of('x'), Piece::npos); in TYPED_TEST()
462 ASSERT_EQ(d.find_last_not_of('\0'), Piece::npos); in TYPED_TEST()
463 ASSERT_EQ(e.find_last_not_of('\0'), Piece::npos); in TYPED_TEST()