Lines Matching refs:end
23 CHECK(std::all_of(j_array.begin(), j_array.end(), [](const json & value)
27 CHECK(std::all_of(j_object.begin(), j_object.end(), [](const json & value)
35 CHECK(std::any_of(j_array.begin(), j_array.end(), [](const json & value)
39 CHECK(std::any_of(j_object.begin(), j_object.end(), [](const json & value)
47 CHECK(std::none_of(j_array.begin(), j_array.end(), [](const json & value)
51 CHECK(std::none_of(j_object.begin(), j_object.end(), [](const json & value)
84 std::for_each(j_array.begin(), j_array.end(), add17);
92 CHECK(std::count(j_array.begin(), j_array.end(), json(true)) == 1);
97 CHECK(std::count_if(j_array.begin(), j_array.end(), [](const json & value)
101 CHECK(std::count_if(j_array.begin(), j_array.end(), [](const json&)
110 auto res = std::mismatch(j_array.begin(), j_array.end(), j_array2.begin());
119 CHECK(std::equal(j_array.begin(), j_array.end(), j_array.begin()));
120 CHECK(std::equal(j_object.begin(), j_object.end(), j_object.begin()));
121 CHECK(!std::equal(j_array.begin(), j_array.end(), j_object.begin()));
128 CHECK(!std::equal(j_array.begin(), j_array.end(), j_array2.begin()));
129 CHECK(std::equal(j_array.begin(), j_array.end(), j_array2.begin(),
139 auto it = std::find(j_array.begin(), j_array.end(), json(false));
145 auto it = std::find_if(j_array.begin(), j_array.end(),
155 auto it = std::find_if_not(j_array.begin(), j_array.end(),
165 CHECK(std::adjacent_find(j_array.begin(), j_array.end()) == j_array.end());
166 CHECK(std::adjacent_find(j_array.begin(), j_array.end(),
178 std::reverse(j_array.begin(), j_array.end());
184 std::rotate(j_array.begin(), j_array.begin() + 1, j_array.end());
190 auto it = std::partition(j_array.begin(), j_array.end(), [](const json & v)
206 std::sort(j.begin(), j.end());
213 std::sort(j.begin(), j.end(), [](const json & a, const json & b)
223 CHECK_THROWS_WITH_AS(std::sort(j.begin(), j.end()), "[json.exception.invalid_iterator.209] cannot use offsets with object iterators", json::invalid_iterator&);
230 std::partial_sort(j.begin(), j.begin() + 4, j.end());
244 std::merge(j1.begin(), j1.end(), j2.begin(), j2.end(), std::back_inserter(j3));
255 std::set_difference(j1.begin(), j1.end(), j2.begin(), j2.end(), std::back_inserter(j3));
265 std::set_intersection(j1.begin(), j1.end(), j2.begin(), j2.end(), std::back_inserter(j3));
275 std::set_union(j1.begin(), j1.end(), j2.begin(), j2.end(), std::back_inserter(j3));
285 std::set_symmetric_difference(j1.begin(), j1.end(), j2.begin(), j2.end(), std::back_inserter(j3));
292 std::make_heap(j_array.begin(), j_array.end());
293 CHECK(std::is_heap(j_array.begin(), j_array.end()));
294 std::sort_heap(j_array.begin(), j_array.end());