Searched refs:binary_search (Results 1 - 11 of 11) sorted by relevance

/haiku-buildtools/gcc/libstdc++-v3/testsuite/25_algorithms/binary_search/
H A D2.cc38 // 25.3.3.4 binary_search, with and without comparison predicate
42 using std::binary_search;
47 VERIFY(binary_search(A, A + N, 5));
48 VERIFY(binary_search(A, A + N, first));
49 VERIFY(binary_search(A, A + N, last));
50 VERIFY(!binary_search(A, A + N, 4));
52 VERIFY(binary_search(C, C + N, 5, gt()));
53 VERIFY(binary_search(C, C + N, first, gt()));
54 VERIFY(binary_search(C, C + N, last, gt()));
55 VERIFY(!binary_search(
[all...]
H A D1.cc26 using std::binary_search;
35 VERIFY(!binary_search(con.begin(), con.end(), 1));
44 VERIFY(binary_search(con.begin(), con.end(), i));
46 VERIFY(!binary_search(con.begin(), con.end(), i));
H A Dcheck_type.cc37 { return std::binary_search(s, s, *s); }
41 { return std::binary_search(x, x, *x, predicate); }
/haiku-buildtools/gcc/libstdc++-v3/testsuite/25_algorithms/binary_search/requirements/explicit_instantiation/
H A D2.cc35 template bool binary_search(iterator_type, iterator_type, const value_type&);
37 template bool binary_search(iterator_type, iterator_type,
H A Dpod.cc34 template bool binary_search(iterator_type, iterator_type, const value_type&);
36 template bool binary_search(iterator_type, iterator_type,
/haiku-buildtools/gcc/libstdc++-v3/testsuite/ext/
H A Dconcept_checks.cc75 binary_search(Index.begin(), Index.end(), SearchTerm, aComparison);
/haiku-buildtools/legacy/gcc/libstdc++/stl/
H A Dalgo.h77 using __STD::binary_search;
H A Dstl_algo.h1720 // Binary search (lower_bound, upper_bound, equal_range, binary_search).
1924 bool binary_search(_ForwardIter __first, _ForwardIter __last, function
1931 bool binary_search(_ForwardIter __first, _ForwardIter __last, function
/haiku-buildtools/gcc/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/
H A Dsynopsis.cc347 binary_search(_FIter, _FIter, const _Tp&);
351 binary_search(_FIter, _FIter, const _Tp&, _Compare);
/haiku-buildtools/gcc/libstdc++-v3/include/bits/
H A Dalgorithmfwd.h50 binary_search
205 binary_search(_FIter, _FIter, const _Tp&);
209 binary_search(_FIter, _FIter, const _Tp&, _Compare);
H A Dstl_algo.h2254 binary_search(_ForwardIterator __first, _ForwardIterator __last, function
2289 binary_search(_ForwardIterator __first, _ForwardIterator __last, function

Completed in 80 milliseconds