/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/list.special/ |
D | swap.pass.cpp | 22 int a1[] = {1, 3, 7, 9, 10}; in main() local 24 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 28 assert(c2 == std::list<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main() 31 int a1[] = {1, 3, 7, 9, 10}; in main() local 33 std::list<int> c1(a1, a1); in main() 41 int a1[] = {1, 3, 7, 9, 10}; in main() local 43 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 48 assert(c2 == std::list<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main() 51 int a1[] = {1, 3, 7, 9, 10}; in main() local 53 std::list<int> c1(a1, a1); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector/vector.special/ |
D | swap.pass.cpp | 22 int a1[] = {1, 3, 7, 9, 10}; in main() local 24 std::vector<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 28 assert(c2 == std::vector<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main() 31 int a1[] = {1, 3, 7, 9, 10}; in main() local 33 std::vector<int> c1(a1, a1); in main() 41 int a1[] = {1, 3, 7, 9, 10}; in main() local 43 std::vector<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 48 assert(c2 == std::vector<int>(a1, a1+sizeof(a1)/sizeof(a1[0]))); in main() 51 int a1[] = {1, 3, 7, 9, 10}; in main() local 53 std::vector<int> c1(a1, a1); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/numarray/template.valarray/valarray.members/ |
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 …]
|
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 | max.pass.cpp | 23 T a1[] = {1.5, 2.5, -3, 4, -5.5}; in main() local 24 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 25 std::valarray<T> v1(a1, N1); in main() 35 T a1[] = {1.5, 2.5, -3, 4, -5.5}; in main() local 36 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 37 std::valarray<T> v1(a1, N1); in main()
|
D | min.pass.cpp | 23 T a1[] = {1.5, 2.5, -3, 4, 5.5}; in main() local 24 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 25 std::valarray<T> v1(a1, N1); in main() 35 T a1[] = {1.5, 2.5, -3, 4, 5.5}; in main() local 36 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 37 std::valarray<T> v1(a1, N1); in main()
|
D | apply_value.pass.cpp | 26 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 28 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 29 std::valarray<T> v1(a1, N1); in main() 42 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 44 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 45 std::valarray<T> v1(a1, N1); in main()
|
D | apply_cref.pass.cpp | 26 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 28 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 29 std::valarray<T> v1(a1, N1); in main() 42 T a1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local 44 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 45 std::valarray<T> v1(a1, N1); in main()
|
D | size.pass.cpp | 23 T a1[] = {1, 2, 3, 4, 5}; in main() local 24 const unsigned N1 = sizeof(a1)/sizeof(a1[0]); in main() 25 std::valarray<T> v1(a1, N1); in main() 30 T a1[] = {1, 2, 3, 4, 5}; in main() local 32 std::valarray<T> v1(a1, N1); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/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++/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++/test/containers/sequences/deque/deque.special/ |
D | swap.pass.cpp | 63 int a1[] = {1, 3, 7, 9, 10}; in main() local 66 std::deque<int, A> c1(a1, a1+sizeof(a1)/sizeof(a1[0]), A(1)); in main() 71 assert((c2 == std::deque<int, A>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main() 75 int a1[] = {1, 3, 7, 9, 10}; in main() local 78 std::deque<int, A> c1(a1, a1+sizeof(a1)/sizeof(a1[0]), A(1)); in main() 83 assert((c2 == std::deque<int, A>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/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 …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector.bool/ |
D | erase_iter_iter.pass.cpp | 20 bool a1[] = {1, 0, 1}; in main() local 22 std::vector<bool> l1(a1, a1+3); in main() 29 std::vector<bool> l1(a1, a1+3); in main() 34 assert(l1 == std::vector<bool>(a1+1, a1+3)); in main() 37 std::vector<bool> l1(a1, a1+3); in main() 42 assert(l1 == std::vector<bool>(a1+2, a1+3)); in main() 45 std::vector<bool> l1(a1, a1+3); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/list.modifiers/ |
D | erase_iter_iter.pass.cpp | 19 int a1[] = {1, 2, 3}; in main() local 21 std::list<int> l1(a1, a1+3); in main() 28 std::list<int> l1(a1, a1+3); in main() 33 assert(l1 == std::list<int>(a1+1, a1+3)); in main() 36 std::list<int> l1(a1, a1+3); in main() 41 assert(l1 == std::list<int>(a1+2, a1+3)); in main() 44 std::list<int> l1(a1, a1+3); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector/vector.modifiers/ |
D | erase_iter_iter.pass.cpp | 19 int a1[] = {1, 2, 3}; in main() local 21 std::vector<int> l1(a1, a1+3); in main() 28 std::vector<int> l1(a1, a1+3); in main() 33 assert(l1 == std::vector<int>(a1+1, a1+3)); in main() 36 std::vector<int> l1(a1, a1+3); in main() 41 assert(l1 == std::vector<int>(a1+2, a1+3)); in main() 44 std::vector<int> l1(a1, a1+3); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/numarray/valarray.nonmembers/valarray.comparison/ |
D | or_valarray_value.pass.cpp | 25 T a1[] = {1, 2, 3, 4, 0}; in main() local 27 const unsigned N = sizeof(a1)/sizeof(a1[0]); in main() 28 std::valarray<T> v1(a1, N); in main() 36 T a1[] = {1, 2, 3, 4, 0}; in main() local 38 const unsigned N = sizeof(a1)/sizeof(a1[0]); in main() 39 std::valarray<T> v1(a1, N); in main()
|
D | and_valarray_value.pass.cpp | 25 T a1[] = {1, 2, 3, 4, 0}; in main() local 27 const unsigned N = sizeof(a1)/sizeof(a1[0]); in main() 28 std::valarray<T> v1(a1, N); in main() 36 T a1[] = {1, 2, 3, 4, 0}; in main() local 38 const unsigned N = sizeof(a1)/sizeof(a1[0]); in main() 39 std::valarray<T> v1(a1, N); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/allocator.adaptor/allocator.adaptor.cnstr/ |
D | converting_copy.pass.cpp | 31 B a1(A1<int>(3)); in main() 34 A a2 = a1; in main() 36 assert(a2 == a1); in main() 41 B a1(A1<int>(4), A2<int>(5)); in main() 46 A a2 = a1; in main() 49 assert(a2 == a1); in main() 54 B a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main() 61 A a2 = a1; in main() 65 assert(a2 == a1); in main()
|
D | copy.pass.cpp | 28 A a1(A1<int>(3)); in main() 31 A a2 = a1; in main() 34 assert(a2 == a1); in main() 38 A a1(A1<int>(4), A2<int>(5)); in main() 43 A a2 = a1; in main() 48 assert(a2 == a1); in main() 52 A a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main() 59 A a2 = a1; in main() 66 assert(a2 == a1); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multiset/multiset.cons/ |
D | move_alloc.pass.cpp | 32 V a1[] = in main() local 44 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 70 V a1[] = in main() local 82 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 108 V a1[] = in main() local 120 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main()
|
D | move_assign.pass.cpp | 32 V a1[] = in main() local 44 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 71 V a1[] = in main() local 83 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 110 V a1[] = in main() local 122 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/set/set.cons/ |
D | move_assign.pass.cpp | 32 V a1[] = in main() local 44 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 71 V a1[] = in main() local 83 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 110 V a1[] = in main() local 122 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main()
|
D | move_alloc.pass.cpp | 32 V a1[] = in main() local 44 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 70 V a1[] = in main() local 82 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 108 V a1[] = in main() local 120 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multimap/multimap.cons/ |
D | move_alloc.pass.cpp | 33 V a1[] = in main() local 45 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 72 V a1[] = in main() local 84 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main() 111 V a1[] = in main() local 123 M m1(I(a1), I(a1+sizeof(a1)/sizeof(a1[0])), C(5), A(7)); in main()
|