/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.special/ |
D | swap.pass.cpp | 23 int a1[] = {1, 3, 7, 9, 10}; in main() local 25 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 29 assert(c2 == std::list<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main() 32 int a1[] = {1, 3, 7, 9, 10}; in main() local 34 std::list<int> c1(a1, a1); in main() 42 int a1[] = {1, 3, 7, 9, 10}; in main() local 44 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 49 assert(c2 == std::list<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main() 52 int a1[] = {1, 3, 7, 9, 10}; in main() local 54 std::list<int> c1(a1, a1); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.special/ |
D | swap.pass.cpp | 24 int a1[] = {1, 3, 7, 9, 10}; in main() local 26 std::vector<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 32 assert(c2 == std::vector<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main() 37 int a1[] = {1, 3, 7, 9, 10}; in main() local 39 std::vector<int> c1(a1, a1); in main() 51 int a1[] = {1, 3, 7, 9, 10}; in main() local 53 std::vector<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 60 assert(c2 == std::vector<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main() 65 int a1[] = {1, 3, 7, 9, 10}; in main() local 67 std::vector<int> c1(a1, a1); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.members/ |
D | shift.pass.cpp | 23 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 25 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 26 std::valarray<T> v1(a1, N1); in main() 34 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 36 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 37 std::valarray<T> v1(a1, N1); in main() 45 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 47 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 48 std::valarray<T> v1(a1, N1); in main() 56 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local [all …]
|
D | cshift.pass.cpp | 23 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 25 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 26 std::valarray<T> v1(a1, N1); in main() 34 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 36 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 37 std::valarray<T> v1(a1, N1); in main() 45 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 47 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 48 std::valarray<T> v1(a1, N1); in main() 56 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/scoped.adaptor.operators/ |
D | eq.pass.cpp | 36 A a1(A1<int>(3)); in main() 37 A a2 = a1; in main() 38 assert(a2 == a1); in main() 39 assert(!(a2 != a1)); in main() 43 A a1(A1<int>(4), A2<int>(5)); in main() 44 A a2 = a1; in main() 45 assert(a2 == a1); in main() 46 assert(!(a2 != a1)); in main() 50 A a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main() 51 A a2 = a1; in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/ |
D | swap.pass.cpp | 65 int a1[] = {1, 3, 7, 9, 10}; in main() local 68 std::deque<int, A> c1(a1, a1+sizeof(a1)/sizeof(a1[0]), A(1)); in main() 73 assert((c2 == std::deque<int, A>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main() 77 int a1[] = {1, 3, 7, 9, 10}; in main() local 80 std::deque<int, A> c1(a1, a1+sizeof(a1)/sizeof(a1[0]), A(1)); in main() 85 assert((c2 == std::deque<int, A>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main() 98 int a1[] = {1, 3, 7, 9, 10}; in main() local 101 std::deque<int, A> c1(a1, a1+sizeof(a1)/sizeof(a1[0]), A()); in main() 106 assert((c2 == std::deque<int, A>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/ |
D | unique.pass.cpp | 22 int a1[] = {2, 1, 1, 4, 4, 4, 4, 3, 3}; in main() local 24 std::list<int> c(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 30 int a1[] = {2, 1, 1, 4, 4, 4, 4, 3, 3}; in main() local 32 std::list<int, min_allocator<int>> c(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
|
D | sort.pass.cpp | 22 int a1[] = {4, 8, 1, 0, 5, 7, 2, 3, 6, 11, 10, 9}; in main() local 24 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 30 int a1[] = {4, 8, 1, 0, 5, 7, 2, 3, 6, 11, 10, 9}; in main() local 32 std::list<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
|
D | reverse.pass.cpp | 22 int a1[] = {11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0}; in main() local 24 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 30 int a1[] = {11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0}; in main() local 32 std::list<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
|
D | unique_pred.pass.cpp | 27 int a1[] = {2, 1, 1, 4, 4, 4, 4, 3, 3}; in main() local 29 std::list<int> c(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 35 int a1[] = {2, 1, 1, 4, 4, 4, 4, 3, 3}; in main() local 37 std::list<int, min_allocator<int>> c(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
|
D | sort_comp.pass.cpp | 23 int a1[] = {4, 8, 1, 0, 5, 7, 2, 3, 6, 11, 10, 9}; in main() local 25 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 31 int a1[] = {4, 8, 1, 0, 5, 7, 2, 3, 6, 11, 10, 9}; in main() local 33 std::list<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
|
D | merge.pass.cpp | 22 int a1[] = {1, 3, 7, 9, 10}; in main() local 25 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 32 int a1[] = {1, 3, 7, 9, 10}; in main() local 35 std::list<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
|
D | merge_comp.pass.cpp | 23 int a1[] = {10, 9, 7, 3, 1}; in main() local 26 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 33 int a1[] = {10, 9, 7, 3, 1}; in main() local 36 std::list<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/ |
D | erase_iter_iter.pass.cpp | 22 bool a1[] = {1, 0, 1}; in main() local 24 std::vector<bool> l1(a1, a1+3); in main() 31 std::vector<bool> l1(a1, a1+3); in main() 36 assert(l1 == std::vector<bool>(a1+1, a1+3)); in main() 39 std::vector<bool> l1(a1, a1+3); in main() 44 assert(l1 == std::vector<bool>(a1+2, a1+3)); in main() 47 std::vector<bool> l1(a1, a1+3); in main() 55 std::vector<bool, min_allocator<bool>> l1(a1, a1+3); in main() 62 std::vector<bool, min_allocator<bool>> l1(a1, a1+3); in main() 67 assert((l1 == std::vector<bool, min_allocator<bool>>(a1+1, a1+3))); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/ |
D | erase_iter_iter.pass.cpp | 21 int a1[] = {1, 2, 3}; in main() local 23 std::list<int> l1(a1, a1+3); in main() 30 std::list<int> l1(a1, a1+3); in main() 35 assert(l1 == std::list<int>(a1+1, a1+3)); in main() 38 std::list<int> l1(a1, a1+3); in main() 43 assert(l1 == std::list<int>(a1+2, a1+3)); in main() 46 std::list<int> l1(a1, a1+3); in main() 54 std::list<int, min_allocator<int>> l1(a1, a1+3); in main() 61 std::list<int, min_allocator<int>> l1(a1, a1+3); in main() 66 assert((l1 == std::list<int, min_allocator<int>>(a1+1, a1+3))); in main() [all …]
|
D | erase_iter_db2.pass.cpp | 28 int a1[] = {1, 2, 3}; in main() local 29 std::list<int> l1(a1, a1+3); in main() 30 std::list<int> l2(a1, a1+3); in main() 37 int a1[] = {1, 2, 3}; in main() local 38 std::list<int, min_allocator<int>> l1(a1, a1+3); in main() 39 std::list<int, min_allocator<int>> l2(a1, a1+3); in main()
|
D | erase_iter_iter_db2.pass.cpp | 28 int a1[] = {1, 2, 3}; in main() local 29 std::list<int> l1(a1, a1+3); in main() 30 std::list<int> l2(a1, a1+3); in main() 36 int a1[] = {1, 2, 3}; in main() local 37 std::list<int, min_allocator<int>> l1(a1, a1+3); in main() 38 std::list<int, min_allocator<int>> l2(a1, a1+3); in main()
|
D | erase_iter_iter_db3.pass.cpp | 28 int a1[] = {1, 2, 3}; in main() local 29 std::list<int> l1(a1, a1+3); in main() 30 std::list<int> l2(a1, a1+3); in main() 36 int a1[] = {1, 2, 3}; in main() local 37 std::list<int, min_allocator<int>> l1(a1, a1+3); in main() 38 std::list<int, min_allocator<int>> l2(a1, a1+3); in main()
|
D | erase_iter_iter_db1.pass.cpp | 28 int a1[] = {1, 2, 3}; in main() local 29 std::list<int> l1(a1, a1+3); in main() 30 std::list<int> l2(a1, a1+3); in main() 36 int a1[] = {1, 2, 3}; in main() local 37 std::list<int, min_allocator<int>> l1(a1, a1+3); in main() 38 std::list<int, min_allocator<int>> l2(a1, a1+3); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/operators/ |
D | rel_ops.pass.cpp | 39 A a1(1); in main() local 41 assert(a1 == a1); in main() 42 assert(a1 != a2); in main() 43 assert(a1 < a2); in main() 44 assert(a2 > a1); in main() 45 assert(a1 <= a1); in main() 46 assert(a1 <= a2); in main() 48 assert(a2 >= a1); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.modifiers/ |
D | erase_iter_db2.pass.cpp | 28 int a1[] = {1, 2, 3}; in main() local 29 std::vector<int> l1(a1, a1+3); in main() 30 std::vector<int> l2(a1, a1+3); in main() 37 int a1[] = {1, 2, 3}; in main() local 38 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main() 39 std::vector<int, min_allocator<int>> l2(a1, a1+3); in main()
|
D | erase_iter_iter_db1.pass.cpp | 28 int a1[] = {1, 2, 3}; in main() local 29 std::vector<int> l1(a1, a1+3); in main() 30 std::vector<int> l2(a1, a1+3); in main() 36 int a1[] = {1, 2, 3}; in main() local 37 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main() 38 std::vector<int, min_allocator<int>> l2(a1, a1+3); in main()
|
D | erase_iter_iter_db2.pass.cpp | 28 int a1[] = {1, 2, 3}; in main() local 29 std::vector<int> l1(a1, a1+3); in main() 30 std::vector<int> l2(a1, a1+3); in main() 36 int a1[] = {1, 2, 3}; in main() local 37 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main() 38 std::vector<int, min_allocator<int>> l2(a1, a1+3); in main()
|
D | erase_iter_iter_db3.pass.cpp | 28 int a1[] = {1, 2, 3}; in main() local 29 std::vector<int> l1(a1, a1+3); in main() 30 std::vector<int> l2(a1, a1+3); in main() 36 int a1[] = {1, 2, 3}; in main() local 37 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main() 38 std::vector<int, min_allocator<int>> l2(a1, a1+3); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/ |
D | select_on_container_copy_construction.pass.cpp | 28 A a1(A1<int>(3)); in main() 29 assert(a1.outer_allocator().id() == 3); in main() 30 A a2 = std::allocator_traits<A>::select_on_container_copy_construction(a1); in main() 36 A a1(A3<int>(3)); in main() 37 assert(a1.outer_allocator().id() == 3); in main() 38 A a2 = std::allocator_traits<A>::select_on_container_copy_construction(a1); in main() 44 A a1(A1<int>(1), A2<int>(2), A3<int>(3)); in main() 45 assert(a1.outer_allocator().id() == 1); in main() 46 assert(a1.inner_allocator().outer_allocator().id() == 2); in main() 47 assert(a1.inner_allocator().inner_allocator().outer_allocator().id() == 3); in main() [all …]
|