Home
last modified time | relevance | path

Searched refs:sort_iter (Results 1 – 1 of 1) sorted by relevance

/external/libcxx/fuzzing/
Dfuzzing.cpp299 const auto sort_iter = working.begin() + sort_point; in partial_sort() local
300 std::partial_sort(working.begin(), sort_iter, working.end()); in partial_sort()
302 if (sort_iter != working.end()) in partial_sort()
304 const uint8_t nth = *std::min_element(sort_iter, working.end()); in partial_sort()
305 if (!std::all_of(working.begin(), sort_iter, [=](uint8_t v) { return v <= nth; })) in partial_sort()
307 if (!std::all_of(sort_iter, working.end(), [=](uint8_t v) { return v >= nth; })) in partial_sort()
310 if (!std::is_sorted(working.begin(), sort_iter)) return 3; in partial_sort()