Lines Matching refs:IsOdd
67 bool IsOdd(int x) { return x % 2 != 0; } in IsOdd() function
603 absl::c_is_partitioned(std::vector<int>{1, 3, 5, 2, 4, 6}, IsOdd)); in TEST()
605 absl::c_is_partitioned(std::vector<int>{1, 2, 3, 4, 5, 6}, IsOdd)); in TEST()
607 absl::c_is_partitioned(std::vector<int>{2, 4, 6, 1, 3, 5}, IsOdd)); in TEST()
612 absl::c_partition(actual, IsOdd); in TEST()
614 return absl::c_is_partitioned(c, IsOdd); in TEST()
620 absl::c_stable_partition(actual, IsOdd); in TEST()
628 back_inserter(evens), IsOdd); in TEST()
637 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
807 absl::c_replace_if(actual, IsOdd, 0); in TEST()
873 absl::c_replace_copy_if(initial, back_inserter(actual), IsOdd, 0); in TEST()
912 IsOdd); in TEST()