Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.sort/is.sorted/
Dis_sorted.pass.cpp29 assert(std::is_sorted(Iter(a), Iter(a))); in test()
30 assert(std::is_sorted(Iter(a), Iter(a+sa))); in test()
36 assert(std::is_sorted(Iter(a), Iter(a+sa))); in test()
41 assert(std::is_sorted(Iter(a), Iter(a+sa))); in test()
46 assert(!std::is_sorted(Iter(a), Iter(a+sa))); in test()
51 assert(std::is_sorted(Iter(a), Iter(a+sa))); in test()
57 assert(std::is_sorted(Iter(a), Iter(a+sa))); in test()
62 assert(std::is_sorted(Iter(a), Iter(a+sa))); in test()
67 assert(!std::is_sorted(Iter(a), Iter(a+sa))); in test()
72 assert(std::is_sorted(Iter(a), Iter(a+sa))); in test()
[all …]
Dis_sorted_comp.pass.cpp30 assert(std::is_sorted(Iter(a), Iter(a))); in test()
31 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
37 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
42 assert(!std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
47 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
52 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
58 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
63 assert(!std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
68 assert(!std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
73 assert(!std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.sort/stable.sort/
Dstable_sort.pass.cpp34 assert(std::is_sorted(save, save+len)); in test_sort_helper()
90 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
94 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
97 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
101 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
105 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
110 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
Dstable_sort_comp.pass.cpp64 assert(std::is_sorted(v.begin(), v.end())); in test()
77 assert(std::is_sorted(v.begin(), v.end(), indirect_less())); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.sort/sort/
Dsort.pass.cpp34 assert(std::is_sorted(save, save+len)); in test_sort_helper()
90 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
94 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
97 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
101 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
105 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
110 assert(std::is_sorted(array, array+N)); in test_larger_sorts()
Dsort_comp.pass.cpp42 assert(std::is_sorted(v.begin(), v.end())); in main()
51 assert(std::is_sorted(v.begin(), v.end(), indirect_less())); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/
Dsort_heap_comp.pass.cpp40 assert(std::is_sorted(ia, ia+N, std::greater<int>())); in test()
62 assert(std::is_sorted(ia, ia+N, indirect_less())); in main()
Dsort_heap.pass.cpp28 assert(std::is_sorted(ia, ia+N)); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.merge/
Dinplace_merge_comp.pass.cpp51 assert(std::is_sorted(ia, ia+N, std::greater<int>())); in test_one()
107 assert(std::is_sorted(ia, ia+N, indirect_less())); in main()
Dinplace_merge.pass.cpp39 assert(std::is_sorted(ia, ia+N)); in test_one()
Dmerge_comp.pass.cpp47 assert(std::is_sorted(ic, ic+2*N, std::greater<int>())); in test()
69 assert(std::is_sorted(ic, ic+2*N, std::greater<int>())); in test()
Dmerge.pass.cpp42 assert(std::is_sorted(ic, ic+2*N)); in test()
64 assert(std::is_sorted(ic, ic+2*N)); in test()
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_list.h401 _STLP_DEBUG_CHECK(_STLP_STD::is_sorted(begin()._M_iterator, end()._M_iterator)) in merge()
402 _STLP_DEBUG_CHECK(_STLP_STD::is_sorted(__x.begin()._M_iterator, __x.end()._M_iterator)) in merge()
467 _STLP_DEBUG_CHECK(_STLP_STD::is_sorted(_M_non_dbg_impl.begin(), _M_non_dbg_impl.end(), __comp)) in merge()
468 _STLP_DEBUG_CHECK(_STLP_STD::is_sorted(__x.begin()._M_iterator, __x.end()._M_iterator, __comp)) in merge()
D_slist.h534 _STLP_DEBUG_CHECK( /* _STLP_STD:: */ is_sorted(_M_non_dbg_impl.begin(), _M_non_dbg_impl.end())) in merge()
535 _STLP_DEBUG_CHECK( /* _STLP_STD:: */ is_sorted(__x.begin()._M_iterator, __x.end()._M_iterator)) in merge()
587 …_STLP_DEBUG_CHECK( /* _STLP_STD:: */ is_sorted(_M_non_dbg_impl.begin(), _M_non_dbg_impl.end(), __o… in merge()
588 …_STLP_DEBUG_CHECK( /* _STLP_STD:: */ is_sorted(__x.begin()._M_iterator, __x.end()._M_iterator, __o… in merge()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_algo.h722 inline bool is_sorted(_ForwardIter __first, _ForwardIter __last) { in is_sorted() function
728 inline bool is_sorted(_ForwardIter __first, _ForwardIter __last, in is_sorted() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dalgorithm320 is_sorted(ForwardIterator first, ForwardIterator last);
324 is_sorted(ForwardIterator first, ForwardIterator last, Compare comp);
3562 // is_sorted
3567 is_sorted(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp)
3575 is_sorted(_ForwardIterator __first, _ForwardIterator __last)
3577 …return _VSTD::is_sorted(__first, __last, __less<typename iterator_traits<_ForwardIterator>::value_…
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk272 $(call gen-test, algorithms/alg.sorting/alg.sort/is.sorted/is_sorted)
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk281 $(call gen-test, algorithms/alg.sorting/alg.sort/is.sorted/is_sorted)