Home
last modified time | relevance | path

Searched refs:ptr_fun (Results 1 – 16 of 16) sorted by relevance

/ndk/tests/device/test-gnustl-full/unit/
Dmfunptr_test.cpp78 ptr_fun(f1)(s1); in mem_ptr_fun()
79 ptr_fun(f2)(s1, s2); in mem_ptr_fun()
81 ptr_fun(f1c)(s1); in mem_ptr_fun()
82 ptr_fun(f2c)(s1, s2); in mem_ptr_fun()
85 ptr_fun(vf1)(s1); in mem_ptr_fun()
86 ptr_fun(vf2)(s1, s2); in mem_ptr_fun()
88 ptr_fun(vf1c)(s1); in mem_ptr_fun()
89 ptr_fun(vf2c)(s1, s2); in mem_ptr_fun()
Dbind_test.cpp105 transform(array, array + 3, array, bind2nd(ptr_fun(test_func1), 1)); in bind2nd3()
106 transform(array, array + 3, array, bind1st(ptr_fun(test_func1), -1)); in bind2nd3()
111 transform(array, array + 3, array, bind2nd(ptr_fun(test_func2), 10)); in bind2nd3()
Dforeach_test.cpp39 for_each(numbers, numbers + 10, ptr_fun(increase)); in foreach0()
61 for_each(v1.begin(), v1.end(), ptr_fun(sqr) ); in foreach1()
Dptr2_test.cpp62 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, ptr_fun(sum)); in ptrbin2()
81 int* p = find_if((int*)array, (int*)array + 3, ptr_fun(even)); in ptrun2()
Dunary_test.cpp67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))); in unegate3()
Dfadapter.h33 pointer_to_void_function<Result> ptr_fun(Result (*x)()) { in ptr_fun() function
/ndk/tests/device/test-stlport/unit/
Dmfunptr_test.cpp78 ptr_fun(f1)(s1); in mem_ptr_fun()
79 ptr_fun(f2)(s1, s2); in mem_ptr_fun()
81 ptr_fun(f1c)(s1); in mem_ptr_fun()
82 ptr_fun(f2c)(s1, s2); in mem_ptr_fun()
85 ptr_fun(vf1)(s1); in mem_ptr_fun()
86 ptr_fun(vf2)(s1, s2); in mem_ptr_fun()
88 ptr_fun(vf1c)(s1); in mem_ptr_fun()
89 ptr_fun(vf2c)(s1, s2); in mem_ptr_fun()
Dbind_test.cpp105 transform(array, array + 3, array, bind2nd(ptr_fun(test_func1), 1)); in bind2nd3()
106 transform(array, array + 3, array, bind1st(ptr_fun(test_func1), -1)); in bind2nd3()
111 transform(array, array + 3, array, bind2nd(ptr_fun(test_func2), 10)); in bind2nd3()
Dforeach_test.cpp39 for_each(numbers, numbers + 10, ptr_fun(increase)); in foreach0()
61 for_each(v1.begin(), v1.end(), ptr_fun(sqr) ); in foreach1()
Dptr2_test.cpp62 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, ptr_fun(sum)); in ptrbin2()
81 int* p = find_if((int*)array, (int*)array + 3, ptr_fun(even)); in ptrun2()
Dunary_test.cpp67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))); in unegate3()
Dfadapter.h33 pointer_to_void_function<Result> ptr_fun(Result (*x)()) { in ptr_fun() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/
Dptr_fun1.pass.cpp24 assert(std::ptr_fun(unary_f)(36) == -35.5); in main()
Dptr_fun2.pass.cpp24 assert(std::ptr_fun(binary_f)(36, 27) == 9.75); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_function_adaptors.h775 ptr_fun(_Result (*__f)(_Arg))
780 ptr_fun(_Result (*__f)(_Arg1, _Arg2))
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dfunctional247 pointer_to_unary_function<Arg,Result> ptr_fun(Result (*f)(Arg));
258 pointer_to_binary_function<Arg1,Arg2,Result> ptr_fun(Result (*f)(Arg1,Arg2));
701 ptr_fun(_Result (*__f)(_Arg))
719 ptr_fun(_Result (*__f)(_Arg1,_Arg2))