/external/libcxxabi/test/ |
D | dynamic_cast3.cpp | 29 struct A2 struct 32 virtual ~A2() {} in ~A2() argument 34 A2* getA2() {return this;} in getA2() argument 48 A2 a2; in test() 53 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test() 54 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test() 55 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test() 82 struct A2 struct 85 virtual ~A2() {} in ~A2() argument 87 A2* getA2() {return this;} in getA2() argument [all …]
|
D | dynamic_cast5.cpp | 23 struct A2 struct 26 virtual ~A2() {} in ~A2() argument 28 A2* getA2() {return this;} in getA2() argument 33 private A2 39 A2* getA2() {return A2::getA2();} in getA2() 45 public A2 51 A2* getA2() {return A3::getA2();} in getA2() 64 A2* getA2() {return A4::getA2();} in getA2() 73 A2 a2; in test() 93 assert(dynamic_cast<A2*>(a1.getA1()) == 0); in test() [all …]
|
/external/libcxx/test/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 …]
|
D | default.pass.cpp | 35 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/chromium_org/base/ |
D | bind_internal_win.h | 100 template <typename R, typename A1, typename A2> 101 class RunnableAdapter<R(__stdcall *)(A1, A2)> { 103 typedef R (RunType)(A1, A2); 105 explicit RunnableAdapter(R(__stdcall *function)(A1, A2)) in RunnableAdapter() argument 110 typename CallbackParamTraits<A2>::ForwardType a2) { in Run() 115 R (__stdcall *function_)(A1, A2); 119 template <typename R, typename A1, typename A2> 120 class RunnableAdapter<R(__fastcall *)(A1, A2)> { 122 typedef R (RunType)(A1, A2); 124 explicit RunnableAdapter(R(__fastcall *function)(A1, A2)) in RunnableAdapter() argument [all …]
|
D | callback_list.h | 253 template <typename A1, typename A2> 254 class CallbackList<void(A1, A2)> 255 : public internal::CallbackListBase<Callback<void(A1, A2)> > { 257 typedef Callback<void(A1, A2)> CallbackType; 262 typename internal::CallbackParamTraits<A2>::ForwardType a2) { in Notify() 275 template <typename A1, typename A2, typename A3> 276 class CallbackList<void(A1, A2, A3)> 277 : public internal::CallbackListBase<Callback<void(A1, A2, A3)> > { 279 typedef Callback<void(A1, A2, A3)> CallbackType; 284 typename internal::CallbackParamTraits<A2>::ForwardType a2, in Notify() [all …]
|
D | callback.h | 451 template <typename R, typename A1, typename A2> 452 class Callback<R(A1, A2)> : public internal::CallbackBase { 454 typedef R(RunType)(A1, A2); 479 typename internal::CallbackParamTraits<A2>::ForwardType a2) const { in Run() 491 typename internal::CallbackParamTraits<A2>::ForwardType); 495 template <typename R, typename A1, typename A2, typename A3> 496 class Callback<R(A1, A2, A3)> : public internal::CallbackBase { 498 typedef R(RunType)(A1, A2, A3); 523 typename internal::CallbackParamTraits<A2>::ForwardType a2, in Run() 537 typename internal::CallbackParamTraits<A2>::ForwardType, [all …]
|
/external/chromium_org/testing/ |
D | gmock_mutant.h | 1151 template <typename R, typename T, typename U, typename A1, typename A2> 1152 inline MutantFunctor<R, Tuple2<A1, A2> > 1153 CreateFunctor(T* obj, R (U::*method)(A1, A2)) { in CreateFunctor() argument 1154 MutantRunner<R, Tuple2<A1, A2> >* t = in CreateFunctor() 1155 new Mutant<R, T, R (U::*)(A1, A2), in CreateFunctor() 1156 Tuple0, Tuple2<A1, A2> > in CreateFunctor() 1158 return MutantFunctor<R, Tuple2<A1, A2> >(t); in CreateFunctor() 1161 template <typename R, typename A1, typename A2> 1162 inline MutantFunctor<R, Tuple2<A1, A2> > 1163 CreateFunctor(R (*function)(A1, A2)) { in CreateFunctor() argument [all …]
|
/external/libcxx/test/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/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
D | callback.h | 28 template <typename R, typename A1, typename A2, typename A3, typename A4> 32 virtual R Run(A1 a1, A2 a2, A3 a3, A4 a4) = 0; 35 template <typename R, typename A1, typename A2, typename A3, typename A4> 36 class FunctionCallback4 : public ResultCallback4<R, A1, A2, A3, A4> { 38 typedef R (FunctionType)(A1, A2, A3, A4); 43 virtual R Run(A1 a1, A2 a2, A3 a3, A4 a4) { in Run() 51 template <typename T, typename R, typename A1, typename A2, typename A3, 53 class ConstMethodCallback4 : public ResultCallback4<R, A1, A2, A3, A4> { 55 typedef R (T::*MethodType)(A1, A2, A3, A4) const; 62 virtual R Run(A1 a1, A2 a2, A3 a3, A4 a4) { in Run() [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/chromium_org/media/base/ |
D | bind_to_current_loop.h | 70 template <typename A1, typename A2> 71 struct TrampolineHelper<void(A1, A2)> { 74 const base::Callback<void(A1, A2)>& cb, A1 a1, A2 a2) { 81 template <typename A1, typename A2, typename A3> 82 struct TrampolineHelper<void(A1, A2, A3)> { 85 const base::Callback<void(A1, A2, A3)>& cb, A1 a1, A2 a2, A3 a3) { 93 template <typename A1, typename A2, typename A3, typename A4> 94 struct TrampolineHelper<void(A1, A2, A3, A4)> { 97 const base::Callback<void(A1, A2, A3, A4)>& cb, A1 a1, A2 a2, A3 a3, 106 template <typename A1, typename A2, typename A3, typename A4, typename A5> [all …]
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
D | MatrixExponential.h | 208 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/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
D | callback_tracker_internal.h | 66 template <typename A1, typename A2> 67 struct InvokeAndInvalidateHelper<void(A1, A2)> { 69 const base::Callback<void(A1, A2)>& callback, A1 a1, A2 a2) { 78 template <typename A1, typename A2, typename A3> 79 struct InvokeAndInvalidateHelper<void(A1, A2, A3)> { 81 const base::Callback<void(A1, A2, A3)>& callback, A1 a1, 82 A2 a2, A3 a3) { 92 template <typename A1, typename A2, typename A3, typename A4> 93 struct InvokeAndInvalidateHelper<void(A1, A2, A3, A4)> { 95 const base::Callback<void(A1, A2, A3, A4)>& callback, A1 a1, [all …]
|
D | callback_helper.h | 91 template <typename A1, typename A2> 92 struct RelayToTaskRunnerHelper<void(A1, A2)> { 93 static void Run(CallbackHolder<void(A1, A2)>* holder, A1 a1, A2 a2) { 100 template <typename A1, typename A2, typename A3> 101 struct RelayToTaskRunnerHelper<void(A1, A2, A3)> { 102 static void Run(CallbackHolder<void(A1, A2, A3)>* holder, A1 a1, A2 a2, 110 template <typename A1, typename A2, typename A3, typename A4> 111 struct RelayToTaskRunnerHelper<void(A1, A2, A3, A4)> { 112 static void Run(CallbackHolder<void(A1, A2, A3, A4)>* holder, A1 a1, A2 a2, 120 template <typename A1, typename A2, typename A3, typename A4, typename A5> [all …]
|
/external/chromium_org/sync/internal_api/public/util/ |
D | weak_handle.h | 163 template <typename U, typename A1, typename A2> 165 void (U::*fn)(A1, A2), 167 typename ParamTraits<A2>::ForwardType a2) const { 170 Bind(&WeakHandleCore::template DoCall2<U, A1, A2>, 174 template <typename U, typename A1, typename A2, typename A3> 176 void (U::*fn)(A1, A2, A3), 178 typename ParamTraits<A2>::ForwardType a2, 182 Bind(&WeakHandleCore::template DoCall3<U, A1, A2, A3>, 186 template <typename U, typename A1, typename A2, typename A3, typename A4> 188 void (U::*fn)(A1, A2, A3, A4), [all …]
|
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/ |
D | construct.pass.cpp | 69 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/utilities/allocator.adaptor/ |
D | types.pass.cpp | 69 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/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
D | base_screen_handler.h | 121 template<typename A1, typename A2> 122 void CallJS(const std::string& method, const A1& arg1, const A2& arg2) { in CallJS() 127 template<typename A1, typename A2, typename A3> 130 const A2& arg2, in CallJS() 138 template<typename A1, typename A2, typename A3, typename A4> 141 const A2& arg2, in CallJS() 176 template<typename T, typename A1, typename A2> 178 void (T::*method)(A1 arg1, A2 arg2)) { in AddCallback() 179 base::Callback<void(A1, A2)> callback = in AddCallback() 182 name, base::Bind(&CallbackWrapper2<A1, A2>, callback)); in AddCallback() [all …]
|
/external/clang/INPUTS/ |
D | macro_pounder_obj.c | 8 #define A2 A1 A1 A1 A1 A1 A1 macro 9 #define A3 A2 A2 A2 A2 A2 A2
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | Functional.h | 394 template<typename R, typename A1, typename A2> 395 class FunctionImpl<R(A1, A2)> : public FunctionImplBase { 397 virtual R operator()(A1 a1, A2 a2) = 0; 400 template<typename R, typename A1, typename A2, typename A3> 401 class FunctionImpl<R(A1, A2, A3)> : public FunctionImplBase { 403 virtual R operator()(A1 a1, A2 a2, A3 a3) = 0; 406 template<typename R, typename A1, typename A2, typename A3, typename A4> 407 class FunctionImpl<R(A1, A2, A3, A4)> : public FunctionImplBase { 409 virtual R operator()(A1 a1, A2 a2, A3 a3, A4 a4) = 0; 412 template<typename R, typename A1, typename A2, typename A3, typename A4, typename A5> [all …]
|