Home
last modified time | relevance | path

Searched defs:A_int_1 (Results 1 – 10 of 10) sorted by relevance

/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/
Dinvoke.fail.cpp24 struct A_int_1 struct
26 A_int_1() : data_(5) {} in A_int_1() argument
36 int A_int_1::*fp = &A_int_1::data_; in test_int_1() argument
Dinvoke.pass.cpp107 struct A_int_1 struct
109 A_int_1() : data_(5) {} in A_int_1() argument
110 int operator()(int i) in operator ()()
138 A_int_1 a0; in test_int_1() argument
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
Dinvoke.fail.cpp21 struct A_int_1 struct
23 A_int_1() : data_(5) {} in A_int_1() argument
33 int A_int_1::*fp = &A_int_1::data_; in test_int_1() argument
Dinvoke.pass.cpp183 struct A_int_1 struct
185 A_int_1() : data_(5) {} in A_int_1() function
186 int operator()(int i) in operator ()()
214 A_int_1 a0; in test_int_1() argument
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp137 struct A_int_1 struct
139 A_int_1() : data_(5) {} in A_int_1() argument
140 int operator()(int i) in operator ()()
167 assert(std::bind(A_int_1(), _1)(4) == 3); in test_int_1() argument
Dinvoke_lvalue.pass.cpp147 struct A_int_1 struct
149 A_int_1() : data_(5) {} in A_int_1() argument
150 int operator()(int i) in operator ()()
155 int mem1() {return 3;} in mem1()
156 int mem2() const {return 4;} in mem2()
180 assert(std::bind(A_int_1(), _1)(i) == 3); in test_int_1() argument
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/
Dconstexpr_types.pass.cpp32 struct A_int_1 struct
34 constexpr A_int_1() {} in A_int_1() function
35 constexpr int operator()(int x) const { return x; } in operator ()()
Dextended_types.pass.cpp40 struct A_int_1 struct
42 A_int_1() {} in A_int_1() function
43 A_int_1(int) {} in A_int_1() function
67 typedef A_wrap<A_int_1> A_wrap_1; argument
Dtypes.pass.cpp77 struct A_int_1 struct
79 A_int_1() {} in A_int_1() function
80 int operator()(int x) { return count += x; } in operator ()()
81 int operator()(int x) const { return count += (x + 1); } in operator ()()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dapply_extended_types.pass.cpp40 struct A_int_1 struct
42 A_int_1() {} in A_int_1() argument
43 A_int_1(int) {} in A_int_1() function
67 typedef A_wrap<A_int_1> A_wrap_1; argument