Searched refs:bucket_count (Results 1 - 9 of 9) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
H A D_hashtable.h187 _STLP_VERBOSE_ASSERT((__n < bucket_count()), _StlMsg_INVALID_ARGUMENT)
192 _STLP_VERBOSE_ASSERT((__n < bucket_count()), _StlMsg_INVALID_ARGUMENT)
200 _STLP_VERBOSE_ASSERT((__n < bucket_count()), _StlMsg_INVALID_ARGUMENT)
205 _STLP_VERBOSE_ASSERT((__n < bucket_count()), _StlMsg_INVALID_ARGUMENT)
315 size_type bucket_count() const { return _M_non_dbg_impl.bucket_count(); } function in class:hashtable
318 _STLP_VERBOSE_ASSERT((__n < bucket_count()), _StlMsg_INVALID_ARGUMENT)
/ndk/tests/device/test-gnustl-full/unit/
H A Dunordered_test.cpp302 size_t nbInserts = int_uset.bucket_count() - 1;
312 size_t bucketsHint = int_uset.bucket_count() + 1;
314 CPPUNIT_ASSERT( int_uset.bucket_count() >= bucketsHint );
326 CPPUNIT_ASSERT( int_uset.bucket_count() < int_uset.max_bucket_count() );
329 size_t nbBuckets = int_uset.bucket_count();
330 size_t nbInserts = int_uset.bucket_count() - 1;
334 CPPUNIT_ASSERT( nbBuckets == int_uset.bucket_count() );
353 size_t nbBuckets = iumset.bucket_count();
363 CPPUNIT_ASSERT( nbBuckets == iumset.bucket_count() );
393 size_t nbBuckets = iumset.bucket_count();
[all...]
/ndk/tests/device/test-stlport/unit/
H A Dunordered_test.cpp302 size_t nbInserts = int_uset.bucket_count() - 1;
312 size_t bucketsHint = int_uset.bucket_count() + 1;
314 CPPUNIT_ASSERT( int_uset.bucket_count() >= bucketsHint );
326 CPPUNIT_ASSERT( int_uset.bucket_count() < int_uset.max_bucket_count() );
329 size_t nbBuckets = int_uset.bucket_count();
330 size_t nbInserts = int_uset.bucket_count() - 1;
334 CPPUNIT_ASSERT( nbBuckets == int_uset.bucket_count() );
353 size_t nbBuckets = iumset.bucket_count();
363 CPPUNIT_ASSERT( nbBuckets == iumset.bucket_count() );
393 size_t nbBuckets = iumset.bucket_count();
[all...]
/ndk/sources/cxx-stl/stlport/stlport/stl/
H A D_unordered_map.h175 size_type bucket_count() const { return _M_ht.bucket_count(); } function in class:unordered_map
335 size_type bucket_count() const { return _M_ht.bucket_count(); } function in class:unordered_multimap
H A D_unordered_set.h161 size_type bucket_count() const { return _M_ht.bucket_count(); } function in class:unordered_set
311 size_type bucket_count() const { return _M_ht.bucket_count(); } function in class:unordered_multiset
H A D_hashtable.h391 size_type bucket_count() const { return _M_buckets.size() - 1; } function in class:hashtable
400 float load_factor() const { return (float)size() / (float)bucket_count(); }
603 { return _M_bkt_num_key(__key, bucket_count()); }
H A D_hash_map.h224 size_type bucket_count() const { return _M_ht.bucket_count(); } function in class:hash_map
410 size_type bucket_count() const { return _M_ht.bucket_count(); } function in class:hash_multimap
H A D_hash_set.h219 size_type bucket_count() const { return _M_ht.bucket_count(); } function in class:hash_set
401 size_type bucket_count() const { return _M_ht.bucket_count(); } function in class:hash_multiset
H A D_hashtable.c366 if (bucket_count() >= __num_buckets_hint) {
383 size_type __num_buckets = bucket_count();
397 size_type __num_buckets = bucket_count();
483 size_t __num_buckets = bucket_count();

Completed in 670 milliseconds