Home
last modified time | relevance | path

Searched refs:bind2nd (Results 1 – 17 of 17) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.count/
Dcount_if.pass.cpp29 std::bind2nd(std::equal_to<int>(),2)) == 3); in main()
32 std::bind2nd(std::equal_to<int>(),7)) == 0); in main()
35 std::bind2nd(std::equal_to<int>(),2)) == 0); in main()
/ndk/tests/device/test-gnustl-full/unit/
Dbind_test.cpp67 for_each((int*)array, (int*)array + 3, bind2nd(post_increment(), 1)); in bind1st1()
85 replace_if(array, array + 3, bind2nd(greater<int>(), 2), 4); in bind2nd2()
105 transform(array, array + 3, array, bind2nd(ptr_fun(test_func1), 1)); in bind2nd3()
111 transform(array, array + 3, array, bind2nd(ptr_fun(test_func2), 10)); in bind2nd3()
145 for_each( array, array + 3, bind2nd( mem_fun_ref(&A::f), 12 ) ); in bind_memfn()
Dmfunptr_test.cpp212 binder2nd<const_mem_fun1_ref_t<bool,V,int> > b2 = bind2nd( pmf, 2 ); in find()
215 binder2nd<const_mem_fun1_ref_t<bool,V,int> > b3 = bind2nd( mem_fun_ref( &V::f ), 2 ); in find()
222 vector<V>::iterator k = find_if( v.begin(), v.end(), bind2nd( mem_fun_ref( &V::f ), 2 ) ); in find()
/ndk/tests/device/test-stlport/unit/
Dbind_test.cpp67 for_each((int*)array, (int*)array + 3, bind2nd(post_increment(), 1)); in bind1st1()
85 replace_if(array, array + 3, bind2nd(greater<int>(), 2), 4); in bind2nd2()
105 transform(array, array + 3, array, bind2nd(ptr_fun(test_func1), 1)); in bind2nd3()
111 transform(array, array + 3, array, bind2nd(ptr_fun(test_func2), 10)); in bind2nd3()
145 for_each( array, array + 3, bind2nd( mem_fun_ref(&A::f), 12 ) ); in bind_memfn()
Dmfunptr_test.cpp212 binder2nd<const_mem_fun1_ref_t<bool,V,int> > b2 = bind2nd( pmf, 2 ); in find()
215 binder2nd<const_mem_fun1_ref_t<bool,V,int> > b3 = bind2nd( mem_fun_ref( &V::f ), 2 ); in find()
222 vector<V>::iterator k = find_if( v.begin(), v.end(), bind2nd( mem_fun_ref( &V::f ), 2 ) ); in find()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.find/
Dfind_if_not.pass.cpp29 std::bind2nd(std::not_equal_to<int>(), 3)); in main()
33 std::bind2nd(std::not_equal_to<int>(), 10)); in main()
Dfind_if.pass.cpp29 std::bind2nd(std::equal_to<int>(), 3)); in main()
33 std::bind2nd(std::equal_to<int>(), 10)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.lib.binders/depr.lib.bind.2nd/
Dbind2nd.pass.cpp23 assert(std::bind2nd(test_func(1), 5)(10) == 5.); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.replace/
Dreplace_if.pass.cpp31 std::replace_if(Iter(ia), Iter(ia+sa), std::bind2nd(std::equal_to<int>(), 2), 5); in test()
Dreplace_copy_if.pass.cpp34 std::bind2nd(std::equal_to<int>(), 2), 5); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.remove/
Dremove_copy_if.pass.cpp32 std::bind2nd(std::equal_to<int>(), 2)); in test()
Dremove_if.pass.cpp33 int* r = std::remove_if(ia, ia+sa, std::bind2nd(std::equal_to<int>(), 2)); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.transform/
Dunary_transform.pass.cpp32 std::bind2nd(std::plus<int>(), 1)); in test()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_function.h252 bind2nd(const _Operation& __fn, const _Tp& __x) { in bind2nd() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dfunctional260 binder2nd<Operation> bind2nd(const Operation& op, const T& x);
1025 bind2nd(const __Operation& __op, const _Tp& __x)
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk1338 $(call gen-test, depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd)
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk1347 $(call gen-test, depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd)