Home
last modified time | relevance | path

Searched refs:f_int_1 (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp130 int f_int_1(int i) in f_int_1() function
154 assert(std::bind(f_int_1, _1)(2) == 3); in test_int_1()
155 assert(std::bind(f_int_1, 2)() == 3); in test_int_1()
159 int (*fp)(int) = f_int_1; in test_int_1()
Dinvoke_lvalue.pass.cpp140 int f_int_1(int i) in f_int_1() function
165 assert(std::bind(f_int_1, _1)(i) == 3); in test_int_1()
166 assert(std::bind(f_int_1, i)() == 3); in test_int_1()
170 int (*fp)(int) = f_int_1; in test_int_1()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/
Dinvoke.pass.cpp102 int f_int_1(int i) in f_int_1() function
125 std::reference_wrapper<int (int)> r1(f_int_1); in test_int_1()
131 int (*fp)(int) = f_int_1; in test_int_1()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
Dinvoke.pass.cpp101 int f_int_1(int i) in f_int_1() function
124 std::function<int (int)> r1(f_int_1); in test_int_1()
130 int (*fp)(int) = f_int_1; in test_int_1()