Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/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()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/
Dfind_if.pass.cpp29 std::bind2nd(std::equal_to<int>(), 3)); in main()
33 std::bind2nd(std::equal_to<int>(), 10)); in main()
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()
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
Dbinary_op.hpp113 return makeExpr(transformPtr(src, bind2nd(functor<T>(), val))); \
155 return makeExpr(transformPtr(src, bind2nd(functor<T>(), val))); \
185 return makeExpr(transformPtr(src, bind2nd(functor<T>(), val))); \
203 return makeExpr(transformPtr(a.body, bind2nd(functor<typename Body::value_type>(), val))); \
Dunary_func.hpp96 …return makeExpr(transformPtr(src, bind2nd(pow_func<typename PtrTraits<SrcPtr>::value_type>(), powe… in CV_CUDEV_EXPR_UNARY_FUNC()
/external/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/
Dbind2nd.pass.cpp23 assert(std::bind2nd(test_func(1), 5)(10) == 5.); in main()
/external/eigen/test/eigen2/
Deigen2_cwiseop.cpp140 VERIFY( (m1.cwise()<m1.unaryExpr(bind2nd(plus<Scalar>(), Scalar(1)))).all() ); in cwiseops()
141 VERIFY( !(m1.cwise()<m1.unaryExpr(bind2nd(minus<Scalar>(), Scalar(1)))).all() ); in cwiseops()
142 VERIFY( !(m1.cwise()>m1.unaryExpr(bind2nd(plus<Scalar>(), Scalar(1)))).any() ); in cwiseops()
/external/eigen/test/
Dcwiseop.cpp167 VERIFY( (m1.cwise()<m1.unaryExpr(bind2nd(plus<Scalar>(), Scalar(1)))).all() ); in cwiseops()
168 VERIFY( !(m1.cwise()<m1bis.unaryExpr(bind2nd(minus<Scalar>(), Scalar(1)))).all() ); in cwiseops()
169 VERIFY( !(m1.cwise()>m1bis.unaryExpr(bind2nd(plus<Scalar>(), Scalar(1)))).any() ); in cwiseops()
/external/libcxx/test/std/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()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
Dremove_copy_if.pass.cpp32 std::bind2nd(std::equal_to<int>(), 2)); in test()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
Dunary_transform.pass.cpp32 std::bind2nd(std::plus<int>(), 1)); in test()
/external/v8/src/compiler/
Dgap-resolver.cc87 std::bind2nd(std::ptr_fun(&Blocks), destination)); in PerformMove()
/external/llvm/include/llvm/CodeGen/PBQP/
DMath.h354 std::bind2nd(std::minus<PBQPNum>(), Val)); in subFromRow()
370 std::bind2nd(std::not_equal_to<PBQPNum>(), 0)) == in isZero()
/external/opencv3/modules/calib3d/test/
Dtest_affine3d_estimator.cpp150 …transform(tpts.ptr<Point3f>() + m, tpts.ptr<Point3f>() + n, tpts.ptr<Point3f>() + m, bind2nd(plus<… in testNPoints()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/
Dreduce.hpp264 grid_reduce_detail::sum<Policy>(shrinkPtr(transformPtr(src, bind2nd(ne_op, zero))), in gridCountNonZero_()
284 grid_reduce_detail::sum<Policy>(shrinkPtr(transformPtr(src, bind2nd(ne_op, zero))), in gridCountNonZero_()
/external/opencv3/modules/cudaarithm/src/cuda/
Dminmax_mat.cu206 …gridTransformUnary(globPtr<T>(src), globPtr<T>(dst), bind2nd(Op<T>(), cv::saturate_cast<T>(value))… in minMaxScalar()
Dbitwise_scalar.cu63 gridTransformUnary(globPtr<T>(src), globPtr<T>(dst), bind2nd(Op<T>(), value), stream); in bitScalarOp()
/external/webrtc/webrtc/p2p/base/
Dturnport.cc935 std::bind2nd(std::ptr_fun(MatchesIP), ipaddr)) != entries_.end()); in HasPermission()
943 std::bind2nd(std::ptr_fun(MatchesAddress), addr)); in FindEntry()
952 std::bind2nd(std::ptr_fun(MatchesChannelId), channel_id)); in FindEntry()
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dfunctional.hpp843 __host__ __device__ Binder2nd<Op> bind2nd(const Op& op, const typename Op::second_argument_type& ar… in bind2nd() function
/external/opencv3/modules/cudaimgproc/src/cuda/
Dgeneralized_hough.cu541 …thrust::transform(sizesPtr, sizesPtr + levels + 1, sizesPtr, device::bind2nd(device::minimum<int>(… in Guil_Full_buildFeatureList_caller()
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dfunctional.hpp711 …template <typename Op, typename T> __host__ __device__ __forceinline__ binder2nd<Op> bind2nd(const… in bind2nd() function
/external/opencv3/modules/imgproc/src/
Dgeneralized_hough.cpp694 …std::for_each(features.begin(), features.end(), std::bind2nd(std::mem_fun_ref(&std::vector<Feature… in buildFeatureList()
/external/icu/icu4c/source/tools/tzcode/
Dtz2icu.cpp1377 bind2nd(ptr_fun(isAfter), seconds)); in mergeFinalData()
/external/webrtc/talk/session/media/
Dmediasession.cc634 bind2nd(ptr_fun(CryptoNotFound), in PruneCryptos()

12