• Home
  • Raw
  • Download

Lines Matching refs:start_idx

247   size_t start_idx;  in TEST_F()  local
249 std::tie(start_idx, count) = engine()->GetSelection(); in TEST_F()
250 EXPECT_EQ(0U, start_idx); in TEST_F()
422 size_t start_idx; in TEST_F() local
425 std::tie(start_idx, count) = engine()->BoundsForWordAt(100); in TEST_F()
426 EXPECT_EQ(0U, start_idx); in TEST_F()
428 engine()->SetSelection(start_idx, count); in TEST_F()
433 std::tie(start_idx, count) = engine()->BoundsForWordAt(0); in TEST_F()
434 EXPECT_EQ(0U, start_idx); in TEST_F()
436 engine()->SetSelection(start_idx, count); in TEST_F()
441 std::tie(start_idx, count) = engine()->BoundsForWordAt(100); in TEST_F()
442 EXPECT_EQ(0U, start_idx); in TEST_F()
444 engine()->SetSelection(start_idx, count); in TEST_F()
447 std::tie(start_idx, count) = engine()->BoundsForWordAt(0); in TEST_F()
448 EXPECT_EQ(0U, start_idx); in TEST_F()
450 engine()->SetSelection(start_idx, count); in TEST_F()
453 std::tie(start_idx, count) = engine()->BoundsForWordAt(1); in TEST_F()
454 EXPECT_EQ(0U, start_idx); in TEST_F()
456 engine()->SetSelection(start_idx, count); in TEST_F()
459 std::tie(start_idx, count) = engine()->BoundsForWordAt(4); in TEST_F()
460 EXPECT_EQ(0U, start_idx); in TEST_F()
462 engine()->SetSelection(start_idx, count); in TEST_F()
466 std::tie(start_idx, count) = engine()->BoundsForWordAt(5); in TEST_F()
467 EXPECT_EQ(5U, start_idx); in TEST_F()
469 engine()->SetSelection(start_idx, count); in TEST_F()
472 std::tie(start_idx, count) = engine()->BoundsForWordAt(6); in TEST_F()
473 EXPECT_EQ(6U, start_idx); in TEST_F()
475 engine()->SetSelection(start_idx, count); in TEST_F()
480 std::tie(start_idx, count) = engine()->BoundsForWordAt(5); in TEST_F()
481 engine()->SetSelection(start_idx, count); in TEST_F()
486 std::tie(start_idx, count) = engine()->BoundsForWordAt(5); in TEST_F()
487 engine()->SetSelection(start_idx, count); in TEST_F()
492 std::tie(start_idx, count) = engine()->BoundsForWordAt(5); in TEST_F()
493 engine()->SetSelection(start_idx, count); in TEST_F()
498 std::tie(start_idx, count) = engine()->BoundsForWordAt(0); in TEST_F()
499 engine()->SetSelection(start_idx, count); in TEST_F()
504 std::tie(start_idx, count) = engine()->BoundsForWordAt(5); in TEST_F()
505 engine()->SetSelection(start_idx, count); in TEST_F()
510 std::tie(start_idx, count) = engine()->BoundsForWordAt(6); in TEST_F()
511 engine()->SetSelection(start_idx, count); in TEST_F()
516 std::tie(start_idx, count) = engine()->BoundsForWordAt(0); in TEST_F()
517 engine()->SetSelection(start_idx, count); in TEST_F()
520 std::tie(start_idx, count) = engine()->BoundsForWordAt(1); in TEST_F()
521 engine()->SetSelection(start_idx, count); in TEST_F()
524 std::tie(start_idx, count) = engine()->BoundsForWordAt(7); in TEST_F()
525 engine()->SetSelection(start_idx, count); in TEST_F()
528 std::tie(start_idx, count) = engine()->BoundsForWordAt(11); in TEST_F()
529 engine()->SetSelection(start_idx, count); in TEST_F()
567 std::tie(start_idx, count) = engine()->BoundsForWordAt(idx); in TEST_F()
568 engine()->SetSelection(start_idx, count); in TEST_F()
618 size_t start_idx = engine()->GetIndexAtStartOfLine(8U); in TEST_F() local
620 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()
658 start_idx = engine()->GetIndexAtStartOfLine(7U); in TEST_F()
660 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()
689 start_idx = engine()->GetIndexAtStartOfLine(7U); in TEST_F()
691 engine()->SetSelection(start_idx, end_idx - start_idx); in TEST_F()