Home
last modified time | relevance | path

Searched refs:ccont1 (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/libs/range/test/algorithm_test/
Dsearch.cpp32 const Container1& ccont1 = cont1; in test_search_impl() local
45 const_iterator1_t cit = boost::search(ccont1, cont2); in test_search_impl()
46 BOOST_CHECK( cit == boost::search(boost::make_iterator_range(ccont1), cont2) ); in test_search_impl()
47 BOOST_CHECK( cit == boost::search(ccont1, boost::make_iterator_range(cont2)) ); in test_search_impl()
48 BOOST_CHECK( cit == boost::search(boost::make_iterator_range(ccont1), in test_search_impl()
50 const_iterator1_t cit2 = boost::search(ccont1, ccont2); in test_search_impl()
51 BOOST_CHECK( cit2 == boost::search(boost::make_iterator_range(ccont1), ccont2) ); in test_search_impl()
52 BOOST_CHECK( cit2 == boost::search(ccont1, boost::make_iterator_range(ccont2)) ); in test_search_impl()
53 BOOST_CHECK( cit2 == boost::search(boost::make_iterator_range(ccont1), in test_search_impl()
58 … BOOST_CHECK( cit == std::search(ccont1.begin(), ccont1.end(), cont2.begin(), cont2.end()) ); in test_search_impl()
[all …]
Dsearch_n.cpp110 const Container1& ccont1 = cont1; in test_search_n_pred_impl() local
118 const_iterator1_t cit = boost::search_n(ccont1, n, value, pred); in test_search_n_pred_impl()
119 … BOOST_CHECK( cit == boost::search_n(boost::make_iterator_range(ccont1), n, value, pred) ); in test_search_n_pred_impl()
120 BOOST_CHECK( cit == reference_search_n(ccont1.begin(), ccont1.end(), n, value, pred) ); in test_search_n_pred_impl()
130 const Container1& ccont1 = cont1; in test_search_n_impl() local
138 const_iterator1_t cit = boost::search_n(ccont1, n, value); in test_search_n_impl()
139 BOOST_CHECK( cit == boost::search_n(boost::make_iterator_range(ccont1), n, value) ); in test_search_n_impl()
140 BOOST_CHECK( cit == reference_search_n(ccont1.begin(), ccont1.end(), n, value) ); in test_search_n_impl()
Dtransform.cpp90 const Container1& ccont1 = cont1; in test_transform_impl2() local
132 target.resize(ccont1.size()); in test_transform_impl2()
134 test_it = boost::transform(ccont1, ccont2, target.begin(), fn); in test_transform_impl2()