/external/libcxxabi/test/ |
D | dynamic_cast3.cpp | 37 struct A3 struct 40 virtual ~A3() {} in ~A3() argument 42 A3* getA3() {return this;} in getA3() argument 49 A3 a3; in test() 56 assert(dynamic_cast<A3*>(a1.getA1()) == 0); in test() 57 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test() 58 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test() 90 struct A3 struct 94 virtual ~A3() {} in ~A3() argument 96 A3* getA3() {return this;} in getA3() argument [all …]
|
D | dynamic_cast5.cpp | 31 struct A3 struct 36 virtual ~A3() {} in ~A3() argument 40 A3* getA3() {return this;} in getA3() argument 44 : public A3, 50 t1::A1* getA1() {return A3::getA1();} in getA1() 51 A2* getA2() {return A3::getA2();} in getA2() 52 A3* getA3() {return A3::getA3();} in getA3() 58 public A3 65 A3* getA3() {return A4::getA3();} in getA3() 74 A3 a3; in test() [all …]
|
/external/chromium_org/base/ |
D | bind_internal_win.h | 138 template <typename R, typename A1, typename A2, typename A3> 139 class RunnableAdapter<R(__stdcall *)(A1, A2, A3)> { 141 typedef R (RunType)(A1, A2, A3); 143 explicit RunnableAdapter(R(__stdcall *function)(A1, A2, A3)) in RunnableAdapter() argument 149 typename CallbackParamTraits<A3>::ForwardType a3) { in Run() 154 R (__stdcall *function_)(A1, A2, A3); 158 template <typename R, typename A1, typename A2, typename A3> 159 class RunnableAdapter<R(__fastcall *)(A1, A2, A3)> { 161 typedef R (RunType)(A1, A2, A3); 163 explicit RunnableAdapter(R(__fastcall *function)(A1, A2, A3)) in RunnableAdapter() argument [all …]
|
D | callback_list.h | 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; 285 typename internal::CallbackParamTraits<A3>::ForwardType a3) { in Notify() 298 template <typename A1, typename A2, typename A3, typename A4> 299 class CallbackList<void(A1, A2, A3, A4)> 300 : public internal::CallbackListBase<Callback<void(A1, A2, A3, A4)> > { 302 typedef Callback<void(A1, A2, A3, A4)> CallbackType; 308 typename internal::CallbackParamTraits<A3>::ForwardType a3, in Notify() [all …]
|
D | callback.h | 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); 524 typename internal::CallbackParamTraits<A3>::ForwardType a3) const { in Run() 538 typename internal::CallbackParamTraits<A3>::ForwardType); 542 template <typename R, typename A1, typename A2, typename A3, typename A4> 543 class Callback<R(A1, A2, A3, A4)> : public internal::CallbackBase { 545 typedef R(RunType)(A1, A2, A3, A4); 571 typename internal::CallbackParamTraits<A3>::ForwardType a3, in Run() 587 typename internal::CallbackParamTraits<A3>::ForwardType, [all …]
|
D | bind_internal.h | 276 template <typename R, typename A1, typename A2, typename A3> 277 class RunnableAdapter<R(*)(A1, A2, A3)> { 279 typedef R (RunType)(A1, A2, A3); 281 explicit RunnableAdapter(R(*function)(A1, A2, A3)) in RunnableAdapter() argument 287 typename CallbackParamTraits<A3>::ForwardType a3) { in Run() 293 R (*function_)(A1, A2, A3); 297 template <typename R, typename T, typename A1, typename A2, typename A3> 298 class RunnableAdapter<R(T::*)(A1, A2, A3)> { 300 typedef R (RunType)(T*, A1, A2, A3); 303 explicit RunnableAdapter(R(T::*method)(A1, A2, A3)) in RunnableAdapter() argument [all …]
|
/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/chromium_org/testing/ |
D | gmock_mutant.h | 1218 typename A3> 1219 inline MutantFunctor<R, Tuple3<A1, A2, A3> > 1220 CreateFunctor(T* obj, R (U::*method)(A1, A2, A3)) { in CreateFunctor() argument 1221 MutantRunner<R, Tuple3<A1, A2, A3> >* t = in CreateFunctor() 1222 new Mutant<R, T, R (U::*)(A1, A2, A3), in CreateFunctor() 1223 Tuple0, Tuple3<A1, A2, A3> > in CreateFunctor() 1225 return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); in CreateFunctor() 1228 template <typename R, typename A1, typename A2, typename A3> 1229 inline MutantFunctor<R, Tuple3<A1, A2, A3> > 1230 CreateFunctor(R (*function)(A1, A2, A3)) { in CreateFunctor() argument [all …]
|
/external/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.cnstr/ |
D | allocs.pass.cpp | 78 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main() 80 A a(a4, A2<int>(5), A3<int>(6)); in main() 85 assert(A3<int>::copy_called == true); in main() 86 assert(A3<int>::move_called == false); in main() 89 std::scoped_allocator_adaptor<A2<int>, A3<int>>(A2<int>(5), A3<int>(6)))); in main() 95 A3<int>::copy_called = false; in main() 96 A3<int>::move_called = false; in main() 98 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main() 99 A a(A1<int>(4), A2<int>(5), A3<int>(6)); in main() 104 assert(A3<int>::copy_called == true); in main() [all …]
|
D | converting_move.pass.cpp | 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() 62 A3<int>::copy_called = false; in main() 63 A3<int>::move_called = false; in main() 69 assert(A3<int>::copy_called == false); in main() 70 assert(A3<int>::move_called == true); in main()
|
D | copy.pass.cpp | 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() 57 A3<int>::copy_called = false; in main() 58 A3<int>::move_called = false; in main() 64 assert(A3<int>::copy_called == true); in main() 65 assert(A3<int>::move_called == false); in main()
|
D | converting_copy.pass.cpp | 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() 59 A3<int>::copy_called = false; in main() 60 A3<int>::move_called = false; in main() 64 assert(A3<int>::copy_called == true); in main()
|
/external/chromium_org/media/base/ |
D | bind_to_current_loop.h | 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> 107 struct TrampolineHelper<void(A1, A2, A3, A4, A5)> { 110 const base::Callback<void(A1, A2, A3, A4, A5)>& cb, A1 a1, A2 a2, A3 a3, 120 template <typename A1, typename A2, typename A3, typename A4, typename A5, [all …]
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
D | callback_tracker_internal.h | 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, 96 A2 a2, A3 a3, A4 a4) { 107 template <typename A1, typename A2, typename A3, typename A4, typename A5> 108 struct InvokeAndInvalidateHelper<void(A1, A2, A3, A4, A5)> { [all …]
|
D | callback_helper.h | 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, 103 A3 a3) { 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, 113 A3 a3, A4 a4) { 120 template <typename A1, typename A2, typename A3, typename A4, typename A5> 121 struct RelayToTaskRunnerHelper<void(A1, A2, A3, A4, A5)> { [all …]
|
/external/libcxx/test/support/ |
D | allocators.h | 124 class A3 128 explicit A3(int id = 0) : id_(id) {} in id_() 142 A3(const A3& a) : id_(a.id()) {copy_called = true;} in A3() function 143 A3(A3&& a) : id_(a.id()) {move_called = true;} in A3() function 159 A3 select_on_container_copy_construction() const {return A3(-1);} in select_on_container_copy_construction() 162 template <class T> bool A3<T>::copy_called = false; 163 template <class T> bool A3<T>::move_called = false; 164 template <class T> bool A3<T>::constructed = false; 165 template <class T> bool A3<T>::destroy_called = false; 169 bool operator==(const A3<T>& x, const A3<U>& y) [all …]
|
/external/clang/INPUTS/ |
D | macro_pounder_obj.c | 9 #define A3 A2 A2 A2 A2 A2 A2 macro 10 #define A4 A3 A3 A3 A3 A3 A3
|
D | macro_pounder_fn.c | 9 #define A3(A, B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) macro 10 #define A4(A, B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B)
|
/external/llvm/unittests/Support/ |
D | ArrayRecyclerTest.cpp | 64 Object *A3 = DUT.allocate(Cap, Allocator); in TEST() local 65 A3[0].Num = 221; in TEST() 66 A3[7].Num = 217; in TEST() 72 EXPECT_EQ(221, A3[0].Num); in TEST() 73 EXPECT_EQ(217, A3[7].Num); in TEST() 80 EXPECT_EQ(221, A3[0].Num); in TEST() 81 EXPECT_EQ(217, A3[7].Num); in TEST() 89 DUT.deallocate(Cap, A3); in TEST() 94 EXPECT_EQ(A3, A3x); in TEST() 104 EXPECT_NE(A3, A4); in TEST()
|
/external/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/ |
D | destroy.pass.cpp | 51 typedef std::scoped_allocator_adaptor<A3<B>, A1<B>> A; in main() 57 assert(!A3<S>::constructed); in main() 58 assert(!A3<S>::destroy_called); in main() 61 assert(A3<S>::constructed); in main() 62 assert(!A3<S>::destroy_called); in main() 65 assert(A3<S>::constructed); in main() 66 assert(A3<S>::destroy_called); in main()
|
/external/chromium_org/sync/internal_api/public/util/ |
D | weak_handle.h | 174 template <typename U, typename A1, typename A2, typename A3> 176 void (U::*fn)(A1, A2, A3), 179 typename ParamTraits<A3>::ForwardType a3) const { 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), 191 typename ParamTraits<A3>::ForwardType a3, 195 Bind(&WeakHandleCore::template DoCall4<U, A1, A2, A3, A4>, 238 template <typename U, typename A1, typename A2, typename A3> 239 void DoCall3(void (U::*fn)(A1, A2, A3), [all …]
|
/external/opencv/cxcore/src/ |
D | cxjacobieigens.cpp | 116 float *A3, Apq = A1[q], App, Aqq, Aip, Aiq, Vpi, Vqi; in icvJacobiEigens_32f() local 137 A3 = A; in icvJacobiEigens_32f() 138 for( i = 0; i < p; i++, A3 += n ) in icvJacobiEigens_32f() 140 Aip = A3[p]; in icvJacobiEigens_32f() 141 Aiq = A3[q]; in icvJacobiEigens_32f() 144 A3[p] = (float) (Aip * c - Aiq * s); in icvJacobiEigens_32f() 145 A3[q] = (float) (Aiq * c + Aip * s); in icvJacobiEigens_32f() 149 for( ; i < q; i++, A3 += n ) in icvJacobiEigens_32f() 152 Aiq = A3[q]; in icvJacobiEigens_32f() 156 A3[q] = (float) (Aiq * c + Aip * s); in icvJacobiEigens_32f() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
D | base_screen_handler.h | 127 template<typename A1, typename A2, typename A3> 131 const A3& arg3) { in CallJS() 138 template<typename A1, typename A2, typename A3, typename A4> 142 const A3& arg3, in CallJS() 185 template<typename T, typename A1, typename A2, typename A3> 187 void (T::*method)(A1 arg1, A2 arg2, A3 arg3)) { in AddCallback() 188 base::Callback<void(A1, A2, A3)> callback = in AddCallback() 191 name, base::Bind(&CallbackWrapper3<A1, A2, A3>, callback)); in AddCallback() 194 template<typename T, typename A1, typename A2, typename A3, typename A4> 196 void (T::*method)(A1 arg1, A2 arg2, A3 arg3, A4 arg4)) { in AddCallback() [all …]
|
/external/chromium_org/mojo/public/cpp/bindings/ |
D | callback.h | 148 template <typename A1, typename A2, typename A3> 149 class Callback<void(A1, A2, A3)> { 156 typename internal::Callback_ParamTraits<A3>::ForwardType a3) const = 0; 172 typename internal::Callback_ParamTraits<A3>::ForwardType a3) const { in Run() 187 typename internal::Callback_ParamTraits<A3>::ForwardType a3) const in Run() 200 template <typename A1, typename A2, typename A3, typename A4> 201 class Callback<void(A1, A2, A3, A4)> { 208 typename internal::Callback_ParamTraits<A3>::ForwardType a3, 225 typename internal::Callback_ParamTraits<A3>::ForwardType a3, in Run() 242 typename internal::Callback_ParamTraits<A3>::ForwardType a3, in Run() [all …]
|
/external/libcxx/test/utilities/allocator.adaptor/scoped.adaptor.operators/ |
D | eq.pass.cpp | 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()
|