Home
last modified time | relevance | path

Searched refs:A2 (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/external/libcxxabi/test/
Ddynamic_cast3.pass.cpp30 struct A2 struct
33 virtual ~A2() {} in ~A2() argument
35 A2* getA2() {return this;} in getA2() argument
49 A2 a2; in test()
54 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
55 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
56 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
83 struct A2 struct
86 virtual ~A2() {} in ~A2() argument
88 A2* getA2() {return this;} in getA2() argument
[all …]
Ddynamic_cast5.pass.cpp24 struct A2 struct
27 virtual ~A2() {} in ~A2() argument
29 A2* getA2() {return this;} in getA2() argument
34 private A2
40 A2* getA2() {return A2::getA2();} in getA2()
46 public A2
52 A2* getA2() {return A3::getA2();} in getA2()
65 A2* getA2() {return A4::getA2();} in getA2()
74 A2 a2; in test()
94 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test()
[all …]
/external/clang/test/Analysis/
DNewDeleteLeaks-PR19102.cpp14 class A2 { class
16 A2();
17 A2(S);
18 A2(int*);
19 A2(S*);
20 A2(S&, int);
21 A2(int, S**);
28 new A2; // expected-warning@+1 {{Potential memory leak}} in test()
32 new A2(s); // expected-warning@+1 {{Potential memory leak}} in test()
33 new A2(&(s.i)); // expected-warning@+1 {{Potential memory leak}} in test()
[all …]
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-generated-internal-utils.h81 template <typename A1, typename A2>
82 struct MatcherTuple< ::std::tr1::tuple<A1, A2> > {
83 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type;
86 template <typename A1, typename A2, typename A3>
87 struct MatcherTuple< ::std::tr1::tuple<A1, A2, A3> > {
88 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type;
91 template <typename A1, typename A2, typename A3, typename A4>
92 struct MatcherTuple< ::std::tr1::tuple<A1, A2, A3, A4> > {
93 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>,
97 template <typename A1, typename A2, typename A3, typename A4, typename A5>
[all …]
/external/gmock/include/gmock/internal/
Dgmock-generated-internal-utils.h81 template <typename A1, typename A2>
82 struct MatcherTuple< ::std::tr1::tuple<A1, A2> > {
83 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type;
86 template <typename A1, typename A2, typename A3>
87 struct MatcherTuple< ::std::tr1::tuple<A1, A2, A3> > {
88 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type;
91 template <typename A1, typename A2, typename A3, typename A4>
92 struct MatcherTuple< ::std::tr1::tuple<A1, A2, A3, A4> > {
93 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>,
97 template <typename A1, typename A2, typename A3, typename A4, typename A5>
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/
Dallocs.pass.cpp48 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
50 A a(a4, A2<int>(5)); in main()
53 assert(A2<int>::copy_called == true); in main()
54 assert(A2<int>::move_called == false); in main()
56 assert(a.inner_allocator() == std::scoped_allocator_adaptor<A2<int>>(A2<int>(5))); in main()
60 A2<int>::copy_called = false; in main()
61 A2<int>::move_called = false; in main()
63 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
64 A a(A1<int>(4), A2<int>(5)); in main()
67 assert(A2<int>::copy_called == true); in main()
[all …]
Dconverting_move.pass.cpp40 typedef std::scoped_allocator_adaptor<A1<double>, A2<int>> B; in main()
41 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
42 B a1(A1<int>(4), A2<int>(5)); in main()
45 A2<int>::copy_called = false; in main()
46 A2<int>::move_called = false; in main()
50 assert(A2<int>::copy_called == false); in main()
51 assert(A2<int>::move_called == true); in main()
55 typedef std::scoped_allocator_adaptor<A1<double>, A2<int>, A3<int>> B; in main()
56 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
57 B a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main()
[all …]
Dcopy.pass.cpp37 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
38 A a1(A1<int>(4), A2<int>(5)); in main()
41 A2<int>::copy_called = false; in main()
42 A2<int>::move_called = false; in main()
46 assert(A2<int>::copy_called == true); in main()
47 assert(A2<int>::move_called == false); in main()
51 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
52 A a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main()
55 A2<int>::copy_called = false; in main()
56 A2<int>::move_called = false; in main()
[all …]
Dconverting_copy.pass.cpp39 typedef std::scoped_allocator_adaptor<A1<double>, A2<int>> B; in main()
40 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
41 B a1(A1<int>(4), A2<int>(5)); in main()
44 A2<int>::copy_called = false; in main()
45 A2<int>::move_called = false; in main()
48 assert(A2<int>::copy_called == true); in main()
52 typedef std::scoped_allocator_adaptor<A1<double>, A2<int>, A3<int>> B; in main()
53 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
54 B a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main()
57 A2<int>::copy_called = false; in main()
[all …]
Ddefault.pass.cpp35 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
38 assert(a.inner_allocator() == std::scoped_allocator_adaptor<A2<int>>()); in main()
41 assert(A2<int>::copy_called == false); in main()
42 assert(A2<int>::move_called == false); in main()
45 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
48 assert((a.inner_allocator() == std::scoped_allocator_adaptor<A2<int>, A3<int>>())); in main()
51 assert(A2<int>::copy_called == false); in main()
52 assert(A2<int>::move_called == false); in main()
/external/llvm/test/CodeGen/Hexagon/intrinsics/
Dalu32_alu.ll8 declare i32 @llvm.hexagon.A2.addi(i32, i32)
10 %z = call i32 @llvm.hexagon.A2.addi(i32 %a, i32 0)
15 declare i32 @llvm.hexagon.A2.add(i32, i32)
17 %z = call i32 @llvm.hexagon.A2.add(i32 %a, i32 %b)
22 declare i32 @llvm.hexagon.A2.addsat(i32, i32)
24 %z = call i32 @llvm.hexagon.A2.addsat(i32 %a, i32 %b)
30 declare i32 @llvm.hexagon.A2.and(i32, i32)
32 %z = call i32 @llvm.hexagon.A2.and(i32 %a, i32 %b)
37 declare i32 @llvm.hexagon.A2.or(i32, i32)
39 %z = call i32 @llvm.hexagon.A2.or(i32 %a, i32 %b)
[all …]
Dxtype_alu.ll9 declare i64 @llvm.hexagon.A2.absp(i64)
11 %z = call i64 @llvm.hexagon.A2.absp(i64 %a)
17 declare i32 @llvm.hexagon.A2.abs(i32)
19 %z = call i32 @llvm.hexagon.A2.abs(i32 %a)
24 declare i32 @llvm.hexagon.A2.abssat(i32)
26 %z = call i32 @llvm.hexagon.A2.abssat(i32 %a)
75 declare i64 @llvm.hexagon.A2.addp(i64, i64)
77 %z = call i64 @llvm.hexagon.A2.addp(i64 %a, i64 %b)
82 declare i64 @llvm.hexagon.A2.addpsat(i64, i64)
84 %z = call i64 @llvm.hexagon.A2.addpsat(i64 %a, i64 %b)
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
Dallocate_size_hint.pass.cpp34 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
41 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
49 typedef std::scoped_allocator_adaptor<A2<int>> A; in main()
51 A2<int>::allocate_called = false; in main()
53 assert(A2<int>::allocate_called == true); in main()
56 typedef std::scoped_allocator_adaptor<A2<int>, A2<int>> A; in main()
58 A2<int>::allocate_called = false; in main()
60 assert(A2<int>::allocate_called == true); in main()
63 typedef std::scoped_allocator_adaptor<A2<int>, A2<int>, A3<int>> A; in main()
65 A2<int>::allocate_called = false; in main()
[all …]
Dinner_allocator.pass.cpp33 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
34 A a(A1<int>(5), A2<int>(6)); in main()
35 assert(a.inner_allocator() == std::scoped_allocator_adaptor<A2<int>>(A2<int>(6))); in main()
38 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
39 A a(A1<int>(5), A2<int>(6), A3<int>(8)); in main()
41 std::scoped_allocator_adaptor<A2<int>, A3<int>>(A2<int>(6), A3<int>(8)))); in main()
/external/gmock/include/gmock/
Dgmock-generated-nice-strict.h96 template <typename A1, typename A2>
97 NiceMock(const A1& a1, const A2& a2) : MockClass(a1, a2) { in NiceMock()
102 template <typename A1, typename A2, typename A3>
103 NiceMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) { in NiceMock()
108 template <typename A1, typename A2, typename A3, typename A4>
109 NiceMock(const A1& a1, const A2& a2, const A3& a3, in NiceMock()
115 template <typename A1, typename A2, typename A3, typename A4, typename A5>
116 NiceMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in NiceMock()
122 template <typename A1, typename A2, typename A3, typename A4, typename A5,
124 NiceMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in NiceMock()
[all …]
Dgmock-generated-function-mockers.h101 template <typename R, typename A1, typename A2>
102 class FunctionMocker<R(A1, A2)> : public
103 internal::FunctionMockerBase<R(A1, A2)> {
105 typedef R F(A1, A2);
108 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2) { in With()
113 R Invoke(A1 a1, A2 a2) { in Invoke()
122 template <typename R, typename A1, typename A2, typename A3>
123 class FunctionMocker<R(A1, A2, A3)> : public
124 internal::FunctionMockerBase<R(A1, A2, A3)> {
126 typedef R F(A1, A2, A3);
[all …]
/external/llvm/test/CodeGen/PowerPC/
Di32-to-float.ll3 ; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=a2 | FileCheck -check-prefix=CHECK-A2 %s
28 ; CHECK-A2: @foo
29 ; CHECK-A2: stw 3,
30 ; CHECK-A2: lfiwax [[REG:[0-9]+]],
31 ; CHECK-A2: fcfids 1, [[REG]]
32 ; CHECK-A2: blr
59 ; CHECK-A2: @goo
60 ; CHECK-A2: stw 3,
61 ; CHECK-A2: lfiwax [[REG:[0-9]+]],
62 ; CHECK-A2: fcfid 1, [[REG]]
[all …]
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixExponential.h208 MatrixType A2 = A * A; in pade5() local
209 m_tmp1.noalias() = A2 * A2; in pade5()
210 m_tmp2 = b[5]*m_tmp1 + b[3]*A2 + b[1]*m_Id; in pade5()
212 m_V = b[4]*m_tmp1 + b[2]*A2 + b[0]*m_Id; in pade5()
219 MatrixType A2 = A * A; in pade7() local
220 MatrixType A4 = A2 * A2; in pade7()
221 m_tmp1.noalias() = A4 * A2; in pade7()
222 m_tmp2 = b[7]*m_tmp1 + b[5]*A4 + b[3]*A2 + b[1]*m_Id; in pade7()
224 m_V = b[6]*m_tmp1 + b[4]*A4 + b[2]*A2 + b[0]*m_Id; in pade7()
232 MatrixType A2 = A * A; in pade9() local
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-nice-strict.h84 template <typename A1, typename A2>
85 NiceMock(const A1& a1, const A2& a2) : MockClass(a1, a2) { in NiceMock()
90 template <typename A1, typename A2, typename A3>
91 NiceMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) { in NiceMock()
96 template <typename A1, typename A2, typename A3, typename A4>
97 NiceMock(const A1& a1, const A2& a2, const A3& a3, in NiceMock()
103 template <typename A1, typename A2, typename A3, typename A4, typename A5>
104 NiceMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in NiceMock()
110 template <typename A1, typename A2, typename A3, typename A4, typename A5,
112 NiceMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in NiceMock()
[all …]
Dgmock-generated-function-mockers.h101 template <typename R, typename A1, typename A2>
102 class FunctionMocker<R(A1, A2)> : public
103 internal::FunctionMockerBase<R(A1, A2)> {
105 typedef R F(A1, A2);
108 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2) { in With()
113 R Invoke(A1 a1, A2 a2) { in Invoke()
122 template <typename R, typename A1, typename A2, typename A3>
123 class FunctionMocker<R(A1, A2, A3)> : public
124 internal::FunctionMockerBase<R(A1, A2, A3)> {
126 typedef R F(A1, A2, A3);
[all …]
/external/libbrillo/brillo/glib/
Ddbus.h201 template<typename A1, typename A2>
202 class MonitorConnection<void(A1, A2)> {
206 void (*monitor)(void*, A1, A2), in MonitorConnection() argument
210 static void Run(::DBusGProxy*, A1 x, A2 y, MonitorConnection* self) { in Run()
219 void (*monitor_)(void*, A1, A2);
223 template<typename A1, typename A2, typename A3>
224 class MonitorConnection<void(A1, A2, A3)> {
228 void (*monitor)(void*, A1, A2, A3), in MonitorConnection() argument
232 static void Run(::DBusGProxy*, A1 x, A2 y, A3 z, MonitorConnection* self) { in Run()
241 void (*monitor_)(void*, A1, A2, A3);
[all …]
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/
Dconstruct.pass.cpp69 struct A2 struct
72 A2(char c, int i) in A2() argument
80 int A2::count = 0;
101 A2::count = 0; in main()
103 std::aligned_storage<sizeof(A2)>::type a2; in main()
104 assert(A2::count == 0); in main()
105 std::allocator_traits<A<int> >::construct(a, (A2*)&a2, 'd', 5); in main()
106 assert(A2::count == 1); in main()
132 A2::count = 0; in main()
135 std::aligned_storage<sizeof(A2)>::type a2; in main()
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/
Dtypes.pass.cpp69 A2<int>, in main()
70 std::scoped_allocator_adaptor<A2<int>, A1<int>> in main()
74 std::scoped_allocator_adaptor<A2<int>, A1<int>>::outer_allocator_type, in main()
75 A2<int>>::value), ""); in main()
78 std::scoped_allocator_adaptor<A2<int>, A1<int>>::size_type, in main()
82 std::scoped_allocator_adaptor<A2<int>, A1<int>>::difference_type, in main()
86 std::scoped_allocator_adaptor<A2<int>, A1<int>>::pointer, in main()
90 std::scoped_allocator_adaptor<A2<int>, A1<int>>::const_pointer, in main()
94 std::scoped_allocator_adaptor<A2<int>, A1<int>>::void_pointer, in main()
98 std::scoped_allocator_adaptor<A2<int>, A1<int>>::const_void_pointer, in main()
/external/clang/INPUTS/
Dmacro_pounder_obj.c8 #define A2 A1 A1 A1 A1 A1 A1 macro
9 #define A3 A2 A2 A2 A2 A2 A2
/external/libcxx/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/
Deq.pass.cpp42 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
43 A a1(A1<int>(4), A2<int>(5)); in main()
49 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
50 A a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main()
56 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
57 A a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main()
58 A a2(A1<int>(4), A2<int>(5), A3<int>(5)); in main()

12345678910>>...21