Searched refs:A_int_1 (Results 1 - 6 of 6) sorted by relevance

/external/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
H A Dinvoke.fail.cpp21 struct A_int_1 struct
23 A_int_1() : data_(5) {} function in struct:A_int_1
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;
H A Dinvoke.pass.cpp106 struct A_int_1 struct
108 A_int_1() : data_(5) {} function in struct:A_int_1
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
[all...]
/external/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/
H A Dinvoke.fail.cpp24 struct A_int_1 struct
26 A_int_1() : data_(5) {} function in struct:A_int_1
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;
H A Dinvoke.pass.cpp107 struct A_int_1 struct
109 A_int_1() : data_(5) {} function in struct:A_int_1
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
[all...]
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dinvoke_rvalue.pass.cpp135 struct A_int_1 struct
137 A_int_1() : data_(5) {} function in struct:A_int_1
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
[all...]
H A Dinvoke_lvalue.pass.cpp145 struct A_int_1 struct
147 A_int_1() : data_(5) {} function in struct:A_int_1
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
[all...]

Completed in 70 milliseconds