Home
last modified time | relevance | path

Searched refs:A1 (Results 1 – 25 of 701) sorted by relevance

12345678910>>...29

/external/libcxxabi/test/
Ddynamic_cast3.pass.cpp28 struct A1 struct
31 virtual ~A1() {} in ~A1() argument
33 A1* getA1() {return this;} in getA1() argument
54 A1 a1; in test()
57 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
58 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
59 assert(dynamic_cast<A1*>(a3.getA3()) == 0); in test()
81 struct A1 struct
84 virtual ~A1() {} in ~A1() argument
86 A1* getA1() {return this;} in getA1() argument
[all …]
Ddynamic_cast5.pass.cpp22 struct A1 struct
25 virtual ~A1() {} in ~A1() argument
27 A1* getA1() {return this;} in getA1() argument
39 : public virtual A1,
45 A1* getA1() {return A1::getA1();} in getA1()
57 t1::A1* getA1() {return A3::getA1();} in getA1()
70 t1::A1* getA1() {return A4::getA1();} in getA1()
79 A1 a1; in test()
85 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
86 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.cnstr/
Dallocs.pass.cpp29 typedef std::scoped_allocator_adaptor<A1<int>> A; in main()
30 A1<int> a3(3); in main()
32 assert(a.outer_allocator() == A1<int>(3)); in main()
34 assert(A1<int>::copy_called == true); in main()
35 assert(A1<int>::move_called == false); in main()
37 A1<int>::copy_called = false; in main()
39 typedef std::scoped_allocator_adaptor<A1<int>> A; in main()
40 A a(A1<int>(3)); in main()
41 assert(a.outer_allocator() == A1<int>(3)); in main()
43 assert(A1<int>::copy_called == false); in main()
[all …]
Dconverting_move.pass.cpp29 typedef std::scoped_allocator_adaptor<A1<double>> B; in main()
30 typedef std::scoped_allocator_adaptor<A1<int>> A; in main()
31 B a1(A1<int>(3)); in main()
32 A1<int>::copy_called = false; in main()
33 A1<int>::move_called = false; in main()
35 assert(A1<int>::copy_called == false); in main()
36 assert(A1<int>::move_called == true); in main()
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()
[all …]
Dconverting_copy.pass.cpp29 typedef std::scoped_allocator_adaptor<A1<double>> B; in main()
30 typedef std::scoped_allocator_adaptor<A1<int>> A; in main()
31 B a1(A1<int>(3)); in main()
32 A1<int>::copy_called = false; in main()
33 A1<int>::move_called = false; in main()
35 assert(A1<int>::copy_called == true); in main()
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()
42 A1<int>::copy_called = false; in main()
[all …]
Dcopy.pass.cpp27 typedef std::scoped_allocator_adaptor<A1<int>> A; in main()
28 A a1(A1<int>(3)); in main()
29 A1<int>::copy_called = false; in main()
30 A1<int>::move_called = false; in main()
32 assert(A1<int>::copy_called == true); in main()
33 assert(A1<int>::move_called == false); in main()
37 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
38 A a1(A1<int>(4), A2<int>(5)); in main()
39 A1<int>::copy_called = false; in main()
40 A1<int>::move_called = false; in main()
[all …]
Ddefault.pass.cpp27 typedef std::scoped_allocator_adaptor<A1<int>> A; in main()
29 assert(a.outer_allocator() == A1<int>()); in main()
31 assert(A1<int>::copy_called == false); in main()
32 assert(A1<int>::move_called == false); in main()
35 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
37 assert(a.outer_allocator() == A1<int>()); in main()
39 assert(A1<int>::copy_called == false); in main()
40 assert(A1<int>::move_called == false); in main()
45 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>, A3<int>> A; in main()
47 assert(a.outer_allocator() == A1<int>()); in main()
[all …]
/external/googletest/googlemock/include/gmock/internal/
Dgmock-generated-internal-utils.h76 template <typename A1>
77 struct MatcherTuple< ::testing::tuple<A1> > {
78 typedef ::testing::tuple<Matcher<A1> > type;
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>
[all …]
/external/v8/testing/gmock/include/gmock/internal/
Dgmock-generated-internal-utils.h76 template <typename A1>
77 struct MatcherTuple< ::testing::tuple<A1> > {
78 typedef ::testing::tuple<Matcher<A1> > type;
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>
[all …]
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-generated-internal-utils.h76 template <typename A1>
77 struct MatcherTuple< ::std::tr1::tuple<A1> > {
78 typedef ::std::tr1::tuple<Matcher<A1> > type;
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>
[all …]
/external/vixl/test/aarch32/config/
Dcond-rd-rn-rm-a32.json35 "Mul", // MUL{<c>}{<q>} <Rd>, <Rn>, {<Rm>} ; A1
36 "Muls", // MULS{<c>}{<q>} <Rd>, <Rn>, {<Rm>} ; A1
37 "Qadd16", // QADD16{<c>}{<q>} {<Rd>}, <Rn>, <Rm> ; A1
38 "Qadd8", // QADD8{<c>}{<q>} {<Rd>}, <Rn>, <Rm> ; A1
39 "Qasx", // QASX{<c>}{<q>} {<Rd>}, <Rn>, <Rm> ; A1
40 "Qsax", // QSAX{<c>}{<q>} {<Rd>}, <Rn>, <Rm> ; A1
41 "Qsub16", // QSUB16{<c>}{<q>} {<Rd>}, <Rn>, <Rm> ; A1
42 "Qsub8", // QSUB8{<c>}{<q>} {<Rd>}, <Rn>, <Rm> ; A1
43 "Sdiv", // SDIV{<c>}{<q>} {<Rd>}, <Rn>, <Rm> ; A1
44 "Shadd16", // SHADD16{<c>}{<q>} {<Rd>}, <Rn>, <Rm> ; A1
[all …]
Dcond-rd-rn-operand-rm-a32.json38 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
39 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
40 "Add", // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
41 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1
42 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
43 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1
44 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
45 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
46 "Bic", // BIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
47 "Bics", // BICS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
[all …]
Dcond-rd-rn-operand-const-a32.json29 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, #<const> ; A1
30 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, #<const> ; A1
31 "Add", // ADD{<c>}{<q>} <Rd>, PC, #<const> ; A1
32 // ADD{<c>}{<q>} {<Rd>}, <Rn>, #<const> ; A1
33 // ADD{<c>}{<q>} {<Rd>}, SP, #<const> ; A1
34 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, #<const> ; A1
35 // ADDS{<c>}{<q>} {<Rd>}, SP, #<const> ; A1
36 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, #<const> ; A1
37 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, #<const> ; A1
38 "Bic", // BIC{<c>}{<q>} {<Rd>}, <Rn>, #<const> ; A1
[all …]
Dcond-rd-memop-rs-a32.json29 "Ldr", // LDR{<c>}{<q>} <Rt>, [<Rn>, {+/-}<Rm>{, <shift>}] ; A1
30 // LDR{<c>}{<q>} <Rt>, [<Rn>], {+/-}<Rm>{, <shift>} ; A1
31 // LDR{<c>}{<q>} <Rt>, [<Rn>, {+/-}<Rm>{, <shift>}]! ; A1
32 "Ldrb", // LDRB{<c>}{<q>} <Rt>, [<Rn>, {+/-}<Rm>{, <shift>}] ; A1
33 // LDRB{<c>}{<q>} <Rt>, [<Rn>], {+/-}<Rm>{, <shift>} ; A1
34 // LDRB{<c>}{<q>} <Rt>, [<Rn>, {+/-}<Rm>{, <shift>}]! ; A1
35 "Ldrh", // LDRH{<c>}{<q>} <Rt>, [<Rn>, #{+/-}<Rm>] ; A1
36 // LDRH{<c>}{<q>} <Rt>, [<Rn>], #{+/-}<Rm> ; A1
37 // LDRH{<c>}{<q>} <Rt>, [<Rn>, #{+/-}<Rm>]! ; A1
38 "Ldrsb", // LDRSB{<c>}{<q>} <Rt>, [<Rn>, #{+/-}<Rm>] ; A1
[all …]
Dcond-rd-rn-operand-rm-shift-amount-1to32-a32.json29 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
30 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
31 "Add", // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
32 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1
33 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
34 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1
35 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
36 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
37 "Bic", // BIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
38 "Bics", // BICS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
[all …]
Dcond-rd-rn-operand-rm-shift-amount-1to31-a32.json29 "Adc", // ADC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
30 "Adcs", // ADCS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
31 "Add", // ADD{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
32 // ADD{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1
33 "Adds", // ADDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
34 // ADDS{<c>}{<q>} {<Rd>}, SP, <Rm> {, <shift> #<amount> } ; A1
35 "And", // AND{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
36 "Ands", // ANDS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
37 "Bic", // BIC{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
38 "Bics", // BICS{<c>}{<q>} {<Rd>}, <Rn>, <Rm> {, <shift> #<amount> } ; A1
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/
Dcopy_assign.pass.cpp28 typedef std::scoped_allocator_adaptor<A1<int>> A; in main()
29 A a1(A1<int>(3)); in main()
31 A1<int>::copy_called = false; in main()
32 A1<int>::move_called = false; in main()
34 assert(A1<int>::copy_called == true); in main()
35 assert(A1<int>::move_called == false); in main()
39 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
40 A a1(A1<int>(4), A2<int>(5)); in main()
42 A1<int>::copy_called = false; in main()
43 A1<int>::move_called = false; in main()
[all …]
Dmove_assign.pass.cpp28 typedef std::scoped_allocator_adaptor<A1<int>> A; in main()
29 A a1(A1<int>(3)); in main()
31 A1<int>::copy_called = false; in main()
32 A1<int>::move_called = false; in main()
34 assert(A1<int>::copy_called == false); in main()
35 assert(A1<int>::move_called == true); in main()
39 typedef std::scoped_allocator_adaptor<A1<int>, A2<int>> A; in main()
40 A a1(A1<int>(4), A2<int>(5)); in main()
42 A1<int>::copy_called = false; in main()
43 A1<int>::move_called = false; in main()
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/
Dtypes.pass.cpp36 A1<int>, in main()
37 std::scoped_allocator_adaptor<A1<int>> in main()
41 std::scoped_allocator_adaptor<A1<int>>::outer_allocator_type, in main()
42 A1<int>>::value), ""); in main()
45 std::scoped_allocator_adaptor<A1<int>>::size_type, in main()
49 std::scoped_allocator_adaptor<A1<int>>::difference_type, in main()
53 std::scoped_allocator_adaptor<A1<int>>::pointer, in main()
57 std::scoped_allocator_adaptor<A1<int>>::const_pointer, in main()
61 std::scoped_allocator_adaptor<A1<int>>::void_pointer, in main()
65 std::scoped_allocator_adaptor<A1<int>>::const_void_pointer, in main()
[all …]
/external/v8/testing/gmock/include/gmock/
Dgmock-generated-nice-strict.h91 template <typename A1>
92 explicit NiceMock(const A1& a1) : MockClass(a1) { in NiceMock()
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()
[all …]
/external/googletest/googlemock/include/gmock/
Dgmock-generated-nice-strict.h91 template <typename A1>
92 explicit NiceMock(const A1& a1) : MockClass(a1) { in NiceMock()
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()
[all …]
/external/libbrillo/brillo/glib/
Ddbus.h179 template<typename A1>
180 class MonitorConnection<void(A1)> {
184 void (*monitor)(void*, A1), in MonitorConnection() argument
188 static void Run(::DBusGProxy*, A1 x, MonitorConnection* self) { in Run()
197 void (*monitor_)(void*, A1);
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);
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-nice-strict.h79 template <typename A1>
80 explicit NiceMock(const A1& a1) : MockClass(a1) { in NiceMock()
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()
[all …]
/external/clang/test/SemaTemplate/
Dinstantiate-function-params.cpp34 template<typename R, typename A1> struct X0<R(A1 param)> { };
36 template<typename T, typename A1, typename A2>
37 void instF0(X0<T(A1)> x0a, X0<T(A2)> x0b) { in instF0()
38 X0<T(A1)> x0c; in instF0()
44 template<typename R, typename A1, R (*ptr)(A1)> struct FuncPtr { };
45 template<typename A1, int (*ptr)(A1)> struct FuncPtr<int, A1, ptr> { };
47 template<typename R, typename A1> R unary_func(A1);
49 template<typename R, typename A1, typename A2>
51 FuncPtr<R, A1, &unary_func<R, A1> > fp1; in use_func_ptr()
/external/libcxx/test/support/
Dallocators.h21 class A1
25 explicit A1(int id = 0) TEST_NOEXCEPT : id_(id) {} in id_()
36 A1(const A1& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A1() function
37 A1(A1&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A1() function
38 A1& operator=(const A1& a) TEST_NOEXCEPT { id_ = a.id(); copy_called = true; return *this;}
39 A1& operator=(A1&& a) TEST_NOEXCEPT { id_ = a.id(); move_called = true; return *this;}
42 A1(const A1<U>& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A1() function
44 A1(A1<U>&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A1() function
60 template <class T> bool A1<T>::copy_called = false;
61 template <class T> bool A1<T>::move_called = false;
[all …]

12345678910>>...29