Home
last modified time | relevance | path

Searched refs:a1 (Results 1 – 25 of 245) sorted by relevance

12345678910

/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/list.special/
Dswap.pass.cpp22 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/
Dswap.pass.cpp22 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/
Dcshift.pass.cpp23 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 …]
Dshift.pass.cpp23 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 …]
Dmax.pass.cpp23 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()
Dmin.pass.cpp23 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()
Dapply_value.pass.cpp26 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()
Dapply_cref.pass.cpp26 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()
Dsize.pass.cpp23 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/
Deq.pass.cpp36 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/
Drel_ops.pass.cpp39 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/
Dswap.pass.cpp63 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/
Dselect_on_container_copy_construction.pass.cpp28 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/
Derase_iter_iter.pass.cpp20 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/
Derase_iter_iter.pass.cpp19 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/
Derase_iter_iter.pass.cpp19 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/
Dor_valarray_value.pass.cpp25 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()
Dand_valarray_value.pass.cpp25 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/
Dconverting_copy.pass.cpp31 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()
Dcopy.pass.cpp28 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/
Dmove_alloc.pass.cpp32 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()
Dmove_assign.pass.cpp32 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/
Dmove_assign.pass.cpp32 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()
Dmove_alloc.pass.cpp32 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/
Dmove_alloc.pass.cpp33 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()

12345678910