Searched refs:ptr_fun (Results 1 – 13 of 13) sorted by relevance
/ndk/tests/device/test-stlport/unit/ |
D | mfunptr_test.cpp | 78 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()
|
D | bind_test.cpp | 105 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()
|
D | foreach_test.cpp | 39 for_each(numbers, numbers + 10, ptr_fun(increase)); in foreach0() 61 for_each(v1.begin(), v1.end(), ptr_fun(sqr) ); in foreach1()
|
D | ptr2_test.cpp | 62 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()
|
D | unary_test.cpp | 67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))); in unegate3()
|
D | fadapter.h | 33 pointer_to_void_function<Result> ptr_fun(Result (*x)()) { in ptr_fun() function
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | mfunptr_test.cpp | 78 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()
|
D | bind_test.cpp | 105 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()
|
D | foreach_test.cpp | 39 for_each(numbers, numbers + 10, ptr_fun(increase)); in foreach0() 61 for_each(v1.begin(), v1.end(), ptr_fun(sqr) ); in foreach1()
|
D | ptr2_test.cpp | 62 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()
|
D | unary_test.cpp | 67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))); in unegate3()
|
D | fadapter.h | 33 pointer_to_void_function<Result> ptr_fun(Result (*x)()) { in ptr_fun() function
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _function_adaptors.h | 775 ptr_fun(_Result (*__f)(_Arg)) 780 ptr_fun(_Result (*__f)(_Arg1, _Arg2))
|