Searched refs:function (Results 1 - 25 of 81) sorted by relevance

1234

/ndk/tests/build/lambda-defarg3/jni/
H A Dlambda-defarg3.C5 struct function struct
7 template <class U> function(U u) { } function in struct:function
12 static T test(function f = [](int i){return i;}) { }
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Ddefault.pass.cpp12 // class function<R(ArgTypes...)>
14 // explicit function();
21 std::function<int(int)> f;
H A DF_incomplete.pass.cpp12 // class function<R(ArgTypes...)>
14 // template<class F> function(F);
21 typedef std::function<void(X&)> callback_type;
H A Dnullptr_t.pass.cpp12 // class function<R(ArgTypes...)>
14 // function(nullptr_t);
21 std::function<int(int)> f(nullptr);
H A Dalloc.pass.cpp12 // class function<R(ArgTypes...)>
14 // template<class A> function(allocator_arg_t, const A&);
23 std::function<int(int)> f(std::allocator_arg, test_allocator<int>());
H A Dalloc_nullptr.pass.cpp12 // class function<R(ArgTypes...)>
14 // template<class A> function(allocator_arg_t, const A&, nullptr_t);
23 std::function<int(int)> f(std::allocator_arg, test_allocator<int>(), nullptr);
H A Dalloc_F.pass.cpp12 // class function<R(ArgTypes...)>
14 // template<class F, class A> function(allocator_arg_t, const A&, F);
60 std::function<int(int)> f(std::allocator_arg, test_allocator<A>(), A());
67 std::function<int(int)> f(std::allocator_arg, test_allocator<int(*)(int)>(), g);
72 std::function<int(int)> f(std::allocator_arg, test_allocator<int(*)(int)>(),
79 std::function<int(const A*, int)> f(std::allocator_arg,
87 std::function<void(int)> fun = std::bind(&Foo::bar, &f, std::placeholders::_1);
H A Dalloc_function.pass.cpp12 // class function<R(ArgTypes...)>
14 // template<class A> function(allocator_arg_t, const A&, const function&);
70 std::function<int(int)> f = A();
75 std::function<int(int)> f2(std::allocator_arg, test_allocator<A>(), f);
84 std::function<int(int)> f = g;
88 std::function<int(int)> f2(std::allocator_arg, test_allocator<int(*)(int)>(), f);
96 non_default_test_allocator<std::function<int(int)>> al(1);
97 std::function<int(int)> f2(std::allocator_arg, al, g);
104 std::function<in
[all...]
H A Dcopy.pass.cpp12 // class function<R(ArgTypes...)>
14 // function(const function& f);
68 std::function<int(int)> f = A();
73 std::function<int(int)> f2 = f;
82 std::function<int(int)> f = g;
86 std::function<int(int)> f2 = f;
93 std::function<int(int)> f;
97 std::function<int(int)> f2 = f;
105 std::function<in
[all...]
H A Dcopy_assign.pass.cpp12 // class function<R(ArgTypes...)>
14 // function& operator=(const function& f);
68 std::function<int(int)> f = A();
73 std::function<int(int)> f2;
83 std::function<int(int)> f = g;
87 std::function<int(int)> f2;
95 std::function<int(int)> f;
99 std::function<int(int)> f2;
108 std::function<in
[all...]
H A DF.pass.cpp12 // class function<R(ArgTypes...)>
14 // function(nullptr_t);
70 std::function<int(int)> f = A();
79 std::function<int(int)> f = g;
86 std::function<int(int)> f = (int (*)(int))0;
93 std::function<int(const A*, int)> f = &A::foo;
H A DF_assign.pass.cpp12 // class function<R(ArgTypes...)>
73 std::function<int(int)> f;
83 std::function<int(int)> f;
91 std::function<int(int)> f;
99 std::function<int(const A*, int)> f;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/
H A Dtypes.pass.cpp13 // class function<R(ArgTypes...)>
30 std::function<int()> >::value), "");
32 std::function<int()> >::value), "");
33 static_assert(( std::is_same< std::function<int()>::result_type,
37 std::function<double(int)> >::value), "");
39 std::function<double(int)> >::value), "");
40 static_assert(( std::is_same< std::function<double(int)>::result_type,
44 std::function<double(int, char)> >::value), "");
46 std::function<double(int, char)> >::value), "");
47 static_assert(( std::is_same< std::function<doubl
[all...]
/ndk/tests/device/test-gnustl-full/unit/
H A Dboost_check.cpp33 #include <boost/function.hpp>
39 #include <boost/function/function_base.hpp>
45 #include <boost/function/function1.hpp>
/ndk/tests/device/test-stlport/unit/
H A Dboost_check.cpp33 #include <boost/function.hpp>
39 #include <boost/function/function_base.hpp>
45 #include <boost/function/function1.hpp>
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
H A Dinvoke_int_0.pass.cpp12 // class function<R(ArgTypes...)>
36 // function
38 std::function<int ()> r1(f_int_0);
41 // function pointer
44 std::function<int ()> r1(fp);
50 std::function<int ()> r1(a0);
H A Dinvoke.pass.cpp12 // class function<R(ArgTypes...)>
43 // function
45 std::function<void (int)> r1(f_void_1);
51 // function pointer
54 std::function<void (int)> r1(fp);
63 std::function<void (int)> r1(a0);
69 // member function pointer
72 std::function<void (A_void_1)> r1(fp);
78 std::function<void (A_void_1*)> r2 = fp;
83 // const member function pointe
[all...]
H A Dinvoke_void_0.pass.cpp12 // class function<R(ArgTypes...)>
39 // function
41 std::function<void ()> r1(f_void_0);
46 // function pointer
49 std::function<void ()> r1(fp);
57 std::function<void ()> r1(a0);
H A Dinvoke.fail.cpp12 // class function<R(ArgTypes...)>
35 std::function<int& (const A_int_1*)> r2(fp);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.cap/
H A Doperator_bool.pass.cpp12 // class function<R(ArgTypes...)>
24 std::function<int(int)> f;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/
H A DTupleFunction.pass.cpp31 std::function<void()> f(x);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/
H A Dtarget_type.pass.cpp12 // class function<R(ArgTypes...)>
54 std::function<int(int)> f = A();
58 std::function<int(int)> f;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dcopy.pass.cpp30 std::function<float(float, float)> fnc = _pow;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/
H A Doperator_==.pass.cpp12 // class function<R(ArgTypes...)>
15 // bool operator==(const function<R(ArgTypes...)>&, nullptr_t);
18 // bool operator==(nullptr_t, const function<R(ArgTypes...)>&);
21 // bool operator!=(const function<R(ArgTypes...)>&, nullptr_t);
24 // bool operator!=(nullptr_t, const function<R(ArgTypes...)>&);
34 std::function<int(int)> f;
H A Doperator_EQEQ.pass.cpp12 // class function<R(ArgTypes...)>
15 // bool operator==(const function<R(ArgTypes...)>&, nullptr_t);
18 // bool operator==(nullptr_t, const function<R(ArgTypes...)>&);
21 // bool operator!=(const function<R(ArgTypes...)>&, nullptr_t);
24 // bool operator!=(nullptr_t, const function<R(ArgTypes...)>&);
34 std::function<int(int)> f;

Completed in 206 milliseconds

1234