/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.fail.cpp | 21 struct A_int_1 23 A_int_1() : data_(5) {} 33 int A_int_1::*fp = &A_int_1::data_; 34 A_int_1 a; 35 std::function<int& (const A_int_1*)> r2(fp); 36 const A_int_1* ap = &a;
|
invoke.pass.cpp | 183 struct A_int_1 185 A_int_1() : data_(5) {} 214 A_int_1 a0; 221 int (A_int_1::*fp)() = &A_int_1::mem1; 222 std::function<int (A_int_1)> r1(fp); 223 A_int_1 a; 225 std::function<int (A_int_1*)> r2(fp); 226 A_int_1* ap = &a; 231 int (A_int_1::*fp)() const = &A_int_1::mem2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.fail.cpp | 21 struct A_int_1 23 A_int_1() : data_(5) {} 33 int A_int_1::*fp = &A_int_1::data_; 34 A_int_1 a; 35 std::function<int& (const A_int_1*)> r2(fp); 36 const A_int_1* ap = &a;
|
invoke.pass.cpp | 106 struct A_int_1 108 A_int_1() : data_(5) {} 137 A_int_1 a0; 144 int (A_int_1::*fp)() = &A_int_1::mem1; 145 std::function<int (A_int_1)> r1(fp); 146 A_int_1 a; 148 std::function<int (A_int_1*)> r2(fp); 149 A_int_1* ap = &a; 154 int (A_int_1::*fp)() const = &A_int_1::mem2 [all...] |
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.fail.cpp | 24 struct A_int_1 26 A_int_1() : data_(5) {} 36 int A_int_1::*fp = &A_int_1::data_; 37 std::reference_wrapper<int A_int_1::*> r1(fp); 38 A_int_1 a; 42 const A_int_1* ap = &a;
|
invoke.pass.cpp | 107 struct A_int_1 109 A_int_1() : data_(5) {} 138 A_int_1 a0; 139 std::reference_wrapper<A_int_1> r1(a0); 145 int (A_int_1::*fp)() = &A_int_1::mem1; 146 std::reference_wrapper<int (A_int_1::*)()> r1(fp); 147 A_int_1 a; 149 A_int_1* ap = &a; 154 int (A_int_1::*fp)() const = &A_int_1::mem2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.fail.cpp | 24 struct A_int_1 26 A_int_1() : data_(5) {} 36 int A_int_1::*fp = &A_int_1::data_; 37 std::reference_wrapper<int A_int_1::*> r1(fp); 38 A_int_1 a; 42 const A_int_1* ap = &a;
|
invoke.pass.cpp | 107 struct A_int_1 109 A_int_1() : data_(5) {} 138 A_int_1 a0; 139 std::reference_wrapper<A_int_1> r1(a0); 145 int (A_int_1::*fp)() = &A_int_1::mem1; 146 std::reference_wrapper<int (A_int_1::*)()> r1(fp); 147 A_int_1 a; 149 A_int_1* ap = &a; 154 int (A_int_1::*fp)() const = &A_int_1::mem2 [all...] |
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
invoke_rvalue.pass.cpp | 137 struct A_int_1 139 A_int_1() : data_(5) {} 167 assert(std::bind(A_int_1(), _1)(4) == 3); 168 assert(std::bind(A_int_1(), 4)() == 3); 172 assert(std::bind(&A_int_1::mem1, _1)(A_int_1()) == 3); 173 assert(std::bind(&A_int_1::mem1, A_int_1())() == 3); 174 A_int_1 a; 175 assert(std::bind(&A_int_1::mem1, _1)(&a) == 3) [all...] |
invoke_lvalue.pass.cpp | 147 struct A_int_1 149 A_int_1() : data_(5) {} 180 assert(std::bind(A_int_1(), _1)(i) == 3); 181 assert(std::bind(A_int_1(), i)() == 3); 185 A_int_1 a; 186 assert(std::bind(&A_int_1::mem1, _1)(a) == 3); 187 assert(std::bind(&A_int_1::mem1, a)() == 3); 188 A_int_1* ap = &a; 189 assert(std::bind(&A_int_1::mem1, _1)(ap) == 3); 190 assert(std::bind(&A_int_1::mem1, ap)() == 3) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/ |
invoke_rvalue.pass.cpp | 135 struct A_int_1 137 A_int_1() : data_(5) {} 165 assert(std::bind(A_int_1(), _1)(4) == 3); 166 assert(std::bind(A_int_1(), 4)() == 3); 170 assert(std::bind(&A_int_1::mem1, _1)(A_int_1()) == 3); 171 assert(std::bind(&A_int_1::mem1, A_int_1())() == 3); 172 A_int_1 a; 173 assert(std::bind(&A_int_1::mem1, _1)(&a) == 3) [all...] |
invoke_lvalue.pass.cpp | 145 struct A_int_1 147 A_int_1() : data_(5) {} 178 assert(std::bind(A_int_1(), _1)(i) == 3); 179 assert(std::bind(A_int_1(), i)() == 3); 183 A_int_1 a; 184 assert(std::bind(&A_int_1::mem1, _1)(a) == 3); 185 assert(std::bind(&A_int_1::mem1, a)() == 3); 186 A_int_1* ap = &a; 187 assert(std::bind(&A_int_1::mem1, _1)(ap) == 3); 188 assert(std::bind(&A_int_1::mem1, ap)() == 3) [all...] |
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
extended_types.pass.cpp | 36 struct A_int_1 38 A_int_1() {} 39 A_int_1(int) {} 63 typedef A_wrap<A_int_1> A_wrap_1; 75 typedef A_base<A_int_1> A_base_1; 201 typedef A_int_1 T; 385 std::tuple<A_int_1 &, int>, std::tuple<A_int_1 const &, int> 386 , std::tuple<A_int_1 *, int>, std::tuple<A_int_1 const *, int [all...] |
constexpr_types.pass.cpp | 37 struct A_int_1 39 constexpr A_int_1() {} 90 constexpr A_int_1 fn;
|
types.pass.cpp | 73 struct A_int_1 75 A_int_1() {} 300 A_int_1 fn; 308 A_int_1 const a;
|