/external/libcxxabi/test/ |
D | dynamic_cast3.pass.cpp | 36 struct A2 struct 39 virtual ~A2() {} in ~A2() argument 41 A2* getA2() {return this;} in getA2() argument 55 A2 a2; in test() 60 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test() 61 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test() 62 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test() 89 struct A2 struct 92 virtual ~A2() {} in ~A2() argument 94 A2* getA2() {return this;} in getA2() argument [all …]
|
D | dynamic_cast5.pass.cpp | 30 struct A2 struct 33 virtual ~A2() {} in ~A2() argument 35 A2* getA2() {return this;} in getA2() argument 40 private A2 46 A2* getA2() {return A2::getA2();} in getA2() 52 public A2 58 A2* getA2() {return A3::getA2();} in getA2() 71 A2* getA2() {return A4::getA2();} in getA2() 80 A2 a2; in test() 100 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test() [all …]
|
/external/clang/test/Analysis/ |
D | NewDeleteLeaks-PR19102.cpp | 14 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/googletest/googlemock/include/gmock/internal/ |
D | gmock-generated-internal-utils.h | 81 template <typename A1, typename A2> 82 struct MatcherTuple< ::testing::tuple<A1, A2> > { 83 typedef ::testing::tuple<Matcher<A1>, Matcher<A2> > type; 86 template <typename A1, typename A2, typename A3> 87 struct MatcherTuple< ::testing::tuple<A1, A2, A3> > { 88 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type; 91 template <typename A1, typename A2, typename A3, typename A4> 92 struct MatcherTuple< ::testing::tuple<A1, A2, A3, A4> > { 93 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, 97 template <typename A1, typename A2, typename A3, typename A4, typename A5> [all …]
|
/external/v8/testing/gmock/include/gmock/internal/ |
D | gmock-generated-internal-utils.h | 81 template <typename A1, typename A2> 82 struct MatcherTuple< ::testing::tuple<A1, A2> > { 83 typedef ::testing::tuple<Matcher<A1>, Matcher<A2> > type; 86 template <typename A1, typename A2, typename A3> 87 struct MatcherTuple< ::testing::tuple<A1, A2, A3> > { 88 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type; 91 template <typename A1, typename A2, typename A3, typename A4> 92 struct MatcherTuple< ::testing::tuple<A1, A2, A3, A4> > { 93 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, 97 template <typename A1, typename A2, typename A3, typename A4, typename A5> [all …]
|
/external/google-breakpad/src/testing/include/gmock/internal/ |
D | gmock-generated-internal-utils.h | 81 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/ |
D | allocs.pass.cpp | 48 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 …]
|
D | converting_move.pass.cpp | 40 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 …]
|
D | converting_copy.pass.cpp | 39 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 …]
|
D | copy.pass.cpp | 37 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 …]
|
/external/llvm/test/CodeGen/Hexagon/intrinsics/ |
D | alu32_alu.ll | 8 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 …]
|
D | xtype_alu.ll | 9 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/ |
D | allocate_size_hint.pass.cpp | 34 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 …]
|
D | inner_allocator.pass.cpp | 33 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/v8/testing/gmock/include/gmock/ |
D | gmock-generated-nice-strict.h | 96 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 …]
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-generated-nice-strict.h | 96 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 …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | i32-to-float.ll | 3 ; 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/libcxx/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/ |
D | copy_assign.pass.cpp | 39 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main() 40 A 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() 49 assert(A2<int>::copy_called == true); in main() 50 assert(A2<int>::move_called == false); in main() 54 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main() 55 A a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main() 59 A2<int>::copy_called = false; in main() 60 A2<int>::move_called = false; in main() [all …]
|
D | move_assign.pass.cpp | 39 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main() 40 A 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() 49 assert(A2<int>::copy_called == false); in main() 50 assert(A2<int>::move_called == true); in main() 54 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main() 55 A a1(A1<int>(4), A2<int>(5), A3<int>(6)); in main() 59 A2<int>::copy_called = false; in main() 60 A2<int>::move_called = false; in main() [all …]
|
/external/google-breakpad/src/testing/include/gmock/ |
D | gmock-generated-nice-strict.h | 84 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 …]
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
D | MatrixExponential.h | 70 const MatrixType A2 = A * A; in matrix_exp_pade3() local 71 const MatrixType tmp = b[3] * A2 + b[1] * MatrixType::Identity(A.rows(), A.cols()); in matrix_exp_pade3() 73 V = b[2] * A2 + b[0] * MatrixType::Identity(A.rows(), A.cols()); in matrix_exp_pade3() 87 const MatrixType A2 = A * A; in matrix_exp_pade5() local 88 const MatrixType A4 = A2 * A2; in matrix_exp_pade5() 89 const MatrixType tmp = b[5] * A4 + b[3] * A2 + b[1] * MatrixType::Identity(A.rows(), A.cols()); in matrix_exp_pade5() 91 V = b[4] * A4 + b[2] * A2 + b[0] * MatrixType::Identity(A.rows(), A.cols()); in matrix_exp_pade5() 105 const MatrixType A2 = A * A; in matrix_exp_pade7() local 106 const MatrixType A4 = A2 * A2; in matrix_exp_pade7() 107 const MatrixType A6 = A4 * A2; in matrix_exp_pade7() [all …]
|
/external/libbrillo/brillo/glib/ |
D | dbus.h | 201 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/ |
D | construct.pass.cpp | 71 struct A2 struct 74 A2(char c, int i) in A2() argument 82 int A2::count = 0; 103 A2::count = 0; in main() 105 std::aligned_storage<sizeof(A2)>::type a2; in main() 106 assert(A2::count == 0); in main() 107 std::allocator_traits<A<int> >::construct(a, (A2*)&a2, 'd', 5); in main() 108 assert(A2::count == 1); in main() 134 A2::count = 0; in main() 137 std::aligned_storage<sizeof(A2)>::type a2; in main() [all …]
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Context.h | 88 template<typename A1, typename A2> 92 Command2(void (APIENTRY *function)(A1, A2), A1 arg1, A2 arg2) in Command2() argument 104 void (APIENTRY *function)(A1, A2); 106 A2 argument2; 109 template<typename A1, typename A2, typename A3> 113 Command3(void (APIENTRY *function)(A1, A2, A3), A1 arg1, A2 arg2, A3 arg3) in Command3() argument 126 void (APIENTRY *function)(A1, A2, A3); 128 A2 argument2; 132 template<typename A1, typename A2, typename A3, typename A4> 136 Command4(void (APIENTRY *function)(A1, A2, A3, A4), A1 arg1, A2 arg2, A3 arg3, A4 arg4) in Command4() argument [all …]
|
/external/libcxx/test/support/ |
D | allocators.h | 80 class A2 84 explicit A2(int id = 0) TEST_NOEXCEPT : id_(id) {} in id_() 99 A2(const A2& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A2() function 100 A2(A2&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A2() function 101 A2& operator=(const A2& a) TEST_NOEXCEPT { id_ = a.id(); copy_called = true; return *this;} 102 A2& operator=(A2&& a) TEST_NOEXCEPT { id_ = a.id(); move_called = true; return *this;} 111 template <class T> bool A2<T>::copy_called = false; 112 template <class T> bool A2<T>::move_called = false; 113 template <class T> bool A2<T>::allocate_called = false; 117 bool operator==(const A2<T>& x, const A2<U>& y) [all …]
|