• Home
  • Raw
  • Download

Lines Matching refs:initial

553   const std::vector<int> initial = {1, 2, 3, 4, 5};  in TEST()  local
555 auto ends = absl::c_partition_copy(initial, back_inserter(odds), in TEST()
564 const std::vector<int> initial = {1, 3, 5, 2, 4}; in TEST() local
565 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
570 const std::vector<int> initial = {4, -1, -2, -3, 5}; in TEST() local
574 std::list<int> test_list(initial.begin(), initial.end()); in TEST()
578 std::vector<int> test_vector = initial; in TEST()
584 const std::list<int> initial = {4, 5}; in TEST() local
588 std::list<int> test_list = initial; in TEST()
594 const std::vector<int> initial = {4, 5}; in TEST() local
598 std::list<int> test_list(initial.begin(), initial.end()); in TEST()
602 std::vector<int> test_vector = initial; in TEST()
608 const std::vector<int> initial = {1, 2, 3, 4, 5}; in TEST() local
611 absl::c_copy_n(initial, 2, back_inserter(actual)); in TEST()
696 const std::vector<int> initial = {1, 2, 3, 1, 4, 5}; in TEST() local
699 std::vector<int> test_vector = initial; in TEST()
703 std::list<int> test_list(initial.begin(), initial.end()); in TEST()
717 const std::vector<int> initial = {1, 2, 3, 1, 4, 5}; in TEST() local
721 absl::c_replace_copy(initial, back_inserter(actual), 1, 4); in TEST()
776 const std::vector<int> initial = {1, 2, 3, 4, 5}; in TEST() local
780 absl::c_replace_copy_if(initial, back_inserter(actual), IsOdd, 0); in TEST()
862 std::vector<int> initial = {1, 2, 3, 4}; in TEST() local
865 absl::c_rotate_copy(initial, initial.begin() + 2, back_inserter(actual)); in TEST()
885 const std::vector<int> initial = {5, 3, 42, 0}; in TEST() local
887 absl::c_partial_sort_copy(initial, actual); in TEST()
889 absl::c_partial_sort_copy(initial, actual, std::greater<int>()); in TEST()
1016 std::vector<int> initial = {1, 2, 3, 4}; in TEST() local
1017 std::vector<int> permuted = initial; in TEST()
1020 EXPECT_TRUE(absl::c_is_permutation(initial, permuted)); in TEST()
1021 EXPECT_TRUE(absl::c_is_permutation(initial, permuted, std::equal_to<int>())); in TEST()
1023 std::vector<int> permuted2 = initial; in TEST()
1028 EXPECT_EQ(initial, permuted); in TEST()