Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 25 of 231) sorted by relevance

12345678910

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.special/
Dswap.pass.cpp24 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
26 std::list<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
28 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
33 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
35 std::list<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
37 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
43 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
45 std::list<int> c2(a2, a2); in main()
53 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
55 std::list<int> c2(a2, a2); in main()
[all …]
Ddb_swap_1.pass.cpp30 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
32 std::list<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
45 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
47 std::list<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.special/
Dswap.pass.cpp25 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
27 std::vector<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
31 assert(c1 == std::vector<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
38 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
40 std::vector<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
44 assert(c1 == std::vector<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
52 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
54 std::vector<int> c2(a2, a2); in main()
66 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
68 std::vector<int> c2(a2, a2); in main()
[all …]
Ddb_swap_1.pass.cpp29 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
31 std::vector<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
43 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
45 std::vector<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
Ddynamic_cast3.cpp48 A2 a2; in test() local
51 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
54 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
57 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
102 A2 a2; in test() local
105 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
110 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
115 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
153 A2 a2; in test() local
156 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
[all …]
/ndk/sources/cxx-stl/gabi++/tests/
Ddynamic_cast3.cpp48 A2 a2; in test() local
51 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
54 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
57 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
102 A2 a2; in test() local
105 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
110 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
115 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
153 A2 a2; in test() local
156 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/
Dswap.pass.cpp66 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
69 std::deque<int, A> c2(a2, a2+sizeof(a2)/sizeof(a2[0]), A(2)); in main()
71 assert((c1 == std::deque<int, A>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
78 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
81 std::deque<int, A> c2(a2, a2+sizeof(a2)/sizeof(a2[0]), A(2)); in main()
83 assert((c1 == std::deque<int, A>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
99 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
102 std::deque<int, A> c2(a2, a2+sizeof(a2)/sizeof(a2[0]), A()); in main()
104 assert((c1 == std::deque<int, A>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/
Dreverse.pass.cpp23 int a2[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; in main() local
26 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
31 int a2[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; in main() local
34 assert((c1 == std::list<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
Dsort.pass.cpp23 int a2[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; in main() local
26 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
31 int a2[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; in main() local
34 assert((c1 == std::list<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
Dsort_comp.pass.cpp24 int a2[] = {11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0}; in main() local
27 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
32 int a2[] = {11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0}; in main() local
35 assert((c1 == std::list<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
Dmerge.pass.cpp23 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
26 std::list<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
33 int a2[] = {0, 2, 4, 5, 6, 8, 11}; in main() local
36 std::list<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
Dmerge_comp.pass.cpp24 int a2[] = {11, 8, 6, 5, 4, 2, 0}; in main() local
27 std::list<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
34 int a2[] = {11, 8, 6, 5, 4, 2, 0}; in main() local
37 std::list<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/scoped.adaptor.operators/
Deq.pass.cpp37 A a2 = a1; in main() local
38 assert(a2 == a1); in main()
39 assert(!(a2 != a1)); in main()
44 A a2 = a1; in main() local
45 assert(a2 == a1); in main()
46 assert(!(a2 != a1)); in main()
51 A a2 = a1; in main() local
52 assert(a2 == a1); in main()
53 assert(!(a2 != a1)); in main()
58 A a2(A1<int>(4), A2<int>(5), A3<int>(5)); in main()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/bind/
Dbind_template.hpp58 template<class A1, class A2> result_type operator()(A1 & a1, A2 & a2) in operator ()() argument
60 list2<A1 &, A2 &> a(a1, a2); in operator ()()
64 template<class A1, class A2> result_type operator()(A1 & a1, A2 & a2) const in operator ()()
66 list2<A1 &, A2 &> a(a1, a2); in operator ()()
73 template<class A1, class A2> result_type operator()(A1 const & a1, A2 & a2) in operator ()() argument
75 list2<A1 const &, A2 &> a(a1, a2); in operator ()()
79 template<class A1, class A2> result_type operator()(A1 const & a1, A2 & a2) const in operator ()()
81 list2<A1 const &, A2 &> a(a1, a2); in operator ()()
86 template<class A1, class A2> result_type operator()(A1 & a1, A2 const & a2) in operator ()() argument
88 list2<A1 &, A2 const &> a(a1, a2); in operator ()()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/operators/
Drel_ops.pass.cpp40 A a2(2); in main() local
42 assert(a1 != a2); in main()
43 assert(a1 < a2); in main()
44 assert(a2 > a1); in main()
46 assert(a1 <= a2); in main()
47 assert(a2 >= a2); in main()
48 assert(a2 >= a1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/set.cons/
Dmove_assign.pass.cpp46 V a2[] = in main() local
58 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
85 V a2[] = in main() local
97 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
124 V a2[] = in main() local
136 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
164 V a2[] = in main() local
176 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/multiset.cons/
Dmove_assign.pass.cpp46 V a2[] = in main() local
58 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
85 V a2[] = in main() local
97 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
124 V a2[] = in main() local
136 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
165 V a2[] = in main() local
177 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.comparison/
Dand_value_valarray.pass.cpp25 T a2[] = {1, 2, 3, 4, 0}; in main() local
27 const unsigned N = sizeof(a2)/sizeof(a2[0]); in main()
28 std::valarray<T> v2(a2, N); in main()
36 T a2[] = {1, 2, 3, 4, 0}; in main() local
38 const unsigned N = sizeof(a2)/sizeof(a2[0]); in main()
39 std::valarray<T> v2(a2, N); in main()
Dor_value_valarray.pass.cpp25 T a2[] = {1, 2, 3, 4, 0}; in main() local
27 const unsigned N = sizeof(a2)/sizeof(a2[0]); in main()
28 std::valarray<T> v2(a2, N); in main()
36 T a2[] = {1, 2, 3, 4, 0}; in main() local
38 const unsigned N = sizeof(a2)/sizeof(a2[0]); in main()
39 std::valarray<T> v2(a2, N); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.cons/
Dmove_assign.pass.cpp47 V a2[] = in main() local
59 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
87 V a2[] = in main() local
99 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
127 V a2[] = in main() local
139 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
168 V a2[] = in main() local
180 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A()); in main()
Dmove_alloc.pass.cpp47 V a2[] = in main() local
59 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
86 V a2[] = in main() local
98 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
125 V a2[] = in main() local
137 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
165 V a2[] = in main() local
177 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.cons/
Dmove_assign.pass.cpp47 V a2[] = in main() local
59 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
87 V a2[] = in main() local
99 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
127 V a2[] = in main() local
139 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
168 V a2[] = in main() local
180 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A()); in main()
Dmove_alloc.pass.cpp47 V a2[] = in main() local
59 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
86 V a2[] = in main() local
98 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
125 V a2[] = in main() local
137 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A(7)); in main()
165 V a2[] = in main() local
177 M m2(I(a2), I(a2+sizeof(a2)/sizeof(a2[0])), C(5), A()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.valarray/valarray.members/
Dshift.pass.cpp24 T a2[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local
30 assert(v2[i] == a2[i]); in main()
35 T a2[] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 0}; in main() local
41 assert(v2[i] == a2[i]); in main()
46 T a2[] = {10, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in main() local
52 assert(v2[i] == a2[i]); in main()
57 T a2[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in main() local
63 assert(v2[i] == a2[i]); in main()
68 T a2[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in main() local
74 assert(v2[i] == a2[i]); in main()
[all …]
Dcshift.pass.cpp24 T a2[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local
30 assert(v2[i] == a2[i]); in main()
35 T a2[] = {4, 5, 6, 7, 8, 9, 10, 1, 2, 3}; in main() local
41 assert(v2[i] == a2[i]); in main()
46 T a2[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in main() local
52 assert(v2[i] == a2[i]); in main()
57 T a2[] = {8, 9, 10, 1, 2, 3, 4, 5, 6, 7}; in main() local
63 assert(v2[i] == a2[i]); in main()
68 T a2[] = {8, 9, 10, 1, 2, 3, 4, 5, 6, 7}; in main() local
74 assert(v2[i] == a2[i]); in main()
[all …]

12345678910