Lines Matching refs:first
25 check(It first, It last, const T& value) in check()
27 for (; first != last; ++first) in check()
28 if (*first != value) in check()
35 operator()(Policy&& exec, Iterator first, Iterator last, const T& value) in operator ()()
37 fill(first, last, T(value + 1)); // initialize memory with different value in operator ()()
39 fill(exec, first, last, value); in operator ()()
40 EXPECT_TRUE(check(first, last, value), "fill wrong result"); in operator ()()
48 check(It first, Size n, const T& value) in check()
50 for (Size i = 0; i < n; ++i, ++first) in check()
51 if (*first != value) in check()
58 operator()(Policy&& exec, Iterator first, Size n, const T& value) in operator ()()
60 fill_n(first, n, T(value + 1)); // initialize memory with different value in operator ()()
62 const Iterator one_past_last = fill_n(exec, first, n, value); in operator ()()
63 const Iterator expected_return = std::next(first, n); in operator ()()
66 EXPECT_TRUE(check(first, n, value), "fill_n wrong result"); in operator ()()
69 const Iterator res = fill_n(exec, first, -1, value); in operator ()()
70 EXPECT_TRUE(res == first, "fill_n wrong result for n == -1"); in operator ()()