Home
last modified time | relevance | path

Searched refs:equal_range (Results 1 – 20 of 20) sorted by relevance

/external/stlport/test/unit/
Dmap_test.cpp24 CPPUNIT_TEST(equal_range);
37 void equal_range();
227 void MapTest::equal_range() in equal_range() function in MapTest
235 ret = m.equal_range('x'); in equal_range()
252 ret = m.equal_range('x'); in equal_range()
260 ret = m.equal_range('x'); in equal_range()
354 CPPUNIT_ASSERT( cont.equal_range(2) != make_pair(cont.begin(), cont.end()) ); in template_methods()
360 CPPUNIT_ASSERT( ccont.equal_range(2) != make_pair(ccont.end(), ccont.end()) ); in template_methods()
379 CPPUNIT_ASSERT( cont.equal_range(2) != make_pair(cont.begin(), cont.end()) ); in template_methods()
385 CPPUNIT_ASSERT( ccont.equal_range(2) != make_pair(ccont.begin(), ccont.end()) ); in template_methods()
[all …]
Dequal_test.cpp44 pair<int*, int*> range = equal_range((int*)numbers, (int*)numbers + 10, 2); in equal_range0()
56 pair<IntVec::iterator, IntVec::iterator> range = equal_range(v.begin(), v.end(), 2); in equal_range1()
62 range = equal_range(v.begin(), v.end(), 4); in equal_range1()
95 pair<char*, char*> range = equal_range((char*)chars, (char*)chars + count, 'q', less<char>()); in equal_range2()
101 range = equal_range((char*)chars, (char*)chars + count, 'm', less<char>()); in equal_range2()
121 p = equal_range(tv.begin(), tv.end(), 5); in equal_range2()
Dset_test.cpp143 pit = s.equal_range(6); in bounds()
150 pit = s.equal_range(4); in bounds()
167 pcit = s.equal_range(6); in bounds()
184 pcit = crs.equal_range(6); in bounds()
410 CPPUNIT_ASSERT( keySet.equal_range(2) != make_pair(keySet.begin(), keySet.end()) ); in template_methods()
416 CPPUNIT_ASSERT( ckeySet.equal_range(2) != make_pair(ckeySet.begin(), ckeySet.end()) ); in template_methods()
434 CPPUNIT_ASSERT( keySet.equal_range(2) != make_pair(keySet.begin(), keySet.end()) ); in template_methods()
440 CPPUNIT_ASSERT( ckeySet.equal_range(2) != make_pair(ckeySet.begin(), ckeySet.end()) ); in template_methods()
457 CPPUNIT_ASSERT( keySet.equal_range(2) != make_pair(keySet.begin(), keySet.end()) ); in template_methods()
463 CPPUNIT_ASSERT( ckeySet.equal_range(2) != make_pair(ckeySet.begin(), ckeySet.end()) ); in template_methods()
[all …]
Dunordered_test.cpp36 CPPUNIT_TEST(equal_range);
53 void equal_range();
344 void UnorderedTest::equal_range() in equal_range() function in UnorderedTest
366 pair<umset::iterator, umset::iterator> p = iumset.equal_range(1); in equal_range()
377 p = iumset.equal_range(2); in equal_range()
414 pair<umset::iterator, umset::iterator> p = iumset.equal_range(targetedBucket); in equal_range()
584 CPPUNIT_ASSERT( cont.equal_range(2) != make_pair(cont.begin(), cont.end()) ); in template_methods()
589 CPPUNIT_ASSERT( ccont.equal_range(2) != make_pair(ccont.begin(), ccont.end()) ); in template_methods()
605 CPPUNIT_ASSERT( cont.equal_range(2) != make_pair(cont.begin(), cont.end()) ); in template_methods()
610 CPPUNIT_ASSERT( ccont.equal_range(2) != make_pair(ccont.begin(), ccont.end()) ); in template_methods()
[all …]
Dmultiset_test.cpp72 pair<mset::iterator, mset::iterator> p = s.equal_range(5); in mset3()
84 cp = s.equal_range(5); in mset3()
95 cp = crs.equal_range(5); in mset3()
Dhash_test.cpp209 pair<hashType::iterator,hashType::iterator> range = h.equal_range( i->first ); in check_keys()
230 pair<hashType::iterator,hashType::iterator> range = h.equal_range(mIter->first); in check_keys()
/external/stlport/stlport/stl/
D_unordered_set.h150 pair<iterator, iterator> equal_range(const _KT& __key) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
151 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
153 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
154 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
300 pair<iterator, iterator> equal_range(const _KT& __key) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
301 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
303 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
304 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_unordered_map.h164 pair<iterator, iterator> equal_range(const _KT& __key) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
165 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
167 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
168 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
324 pair<iterator, iterator> equal_range(const _KT& __key) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
325 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
327 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
328 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_hash_map.h211 pair<iterator, iterator> equal_range(const _KT& __key) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
212 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
214 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
215 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
397 equal_range(const _KT& __key) { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
400 equal_range(const _KT& __key) const { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_hash_set.h205 pair<iterator, iterator> equal_range(const _KT& __key) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
206 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
208 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
209 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
387 pair<iterator, iterator> equal_range(const _KT& __key) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
388 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
390 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const in _STLP_CREATE_HASH_ITERATOR_TRAITS()
391 { return _M_ht.equal_range(__key); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_set.h204 pair<iterator, iterator> equal_range(const _KT& __x) in _STLP_CREATE_ITERATOR_TRAITS()
207 pair<const_iterator, const_iterator> equal_range(const _KT& __x) const in _STLP_CREATE_ITERATOR_TRAITS()
375 pair<iterator, iterator> equal_range(const _KT& __x) { return _M_t.equal_range(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
377 …pair<const_iterator, const_iterator> equal_range(const _KT& __x) const { return _M_t.equal_range(_… in _STLP_CREATE_ITERATOR_TRAITS()
D_map.h225 pair<iterator,iterator> equal_range(const _KT& __x) in _STLP_CREATE_ITERATOR_TRAITS()
228 pair<const_iterator,const_iterator> equal_range(const _KT& __x) const in _STLP_CREATE_ITERATOR_TRAITS()
400 pair<iterator,iterator> equal_range(const _KT& __x) in _STLP_CREATE_ITERATOR_TRAITS()
401 { return _M_t.equal_range(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
403 pair<const_iterator,const_iterator> equal_range(const _KT& __x) const in _STLP_CREATE_ITERATOR_TRAITS()
404 { return _M_t.equal_range(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
D_tree.h503 pair<iterator,iterator> __p = equal_range(__x);
597 pair<const_iterator, const_iterator> __p = equal_range(__x);
609 pair<iterator,iterator> equal_range(const _KT& __x)
612 pair<const_iterator, const_iterator> equal_range(const _KT& __x) const
D_hashtable.h534 pair<iterator, iterator> equal_range(const _KT& __key) {
550 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const {
D_algo.h535 equal_range(_ForwardIter __first, _ForwardIter __last, const _Tp& __val) { in equal_range() function
545 equal_range(_ForwardIter __first, _ForwardIter __last, const _Tp& __val, in equal_range() function
/external/stlport/stlport/stl/debug/
D_hashtable.h271 pair<iterator, iterator> equal_range(const _KT& __key) { in equal_range() function
272 pair<_Base_iterator, _Base_iterator> __res = _M_non_dbg_impl.equal_range(__key); in equal_range()
278 pair<const_iterator, const_iterator> equal_range(const _KT& __key) const { in equal_range() function
279 pair <_Base_const_iterator, _Base_const_iterator> __res = _M_non_dbg_impl.equal_range(__key); in equal_range()
285 pair<iterator, iterator> __p = equal_range(__key); in erase()
D_tree.h199 pair<iterator,iterator> equal_range(const _KT& __x) { in equal_range() function
204 pair<const_iterator, const_iterator> equal_range(const _KT& __x) const { in equal_range() function
276 pair<iterator, iterator> __p = equal_range(__x); in erase()
/external/stlport/stlport/stl/pointers/
D_set.h284 pair<iterator, iterator> equal_range(const _KT& __x) {
286 __ret = _M_t.equal_range(cast_traits::to_storage_type_crefT(__x));
291 pair<const_iterator, const_iterator> equal_range(const _KT& __x) const {
539 pair<iterator, iterator> equal_range(const _KT& __x) {
541 __ret = _M_t.equal_range(cast_traits::to_storage_type_crefT(__x));
546 pair<const_iterator, const_iterator> equal_range(const _KT& __x) const {
548 __ret = _M_t.equal_range(cast_traits::to_storage_type_crefT(__x));
/external/chromium/net/base/
Dcookie_monster.cc521 for (CookieMapItPair its = cookies_.equal_range(key); in DeleteAnyEquivalentCookie()
555 num_deleted += GarbageCollectRange(current, cookies_.equal_range(key), in GarbageCollect()
676 for (CookieMapItPair its = cookies_.equal_range(domain); in DeleteCookie()
873 for (CookieMapItPair its = cookies_.equal_range(key); in FindCookiesForKey()
906 for (CookieMapItPair its = cookies_.equal_range(key); in FindRawCookies()
/external/stlport/etc/
DChangeLog-5.11352 count, erase, lower_bound, upper_bound, equal_range.
2031 equal_range method.
3147 * stlport/stl/_alogobase.c: Small equal_range optimization, upper_bound is not called
5323 * test/unit/set_test.cpp: Add check for equal_range method when the search value
5326 * stlport/stl/_tree.h: Fix equal_range implementation thanks Grisha Spivak report.
8024 * debug/_hashtable.h : fixed equal_range() bug (thanks to decraft for the report)