Home
last modified time | relevance | path

Searched refs:max_load_factor (Results 1 – 7 of 7) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_unordered_set.h172 float max_load_factor() const { return _M_ht.max_load_factor(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
173 void max_load_factor(float __val) { _M_ht.max_load_factor(__val); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
322 float max_load_factor() const { return _M_ht.max_load_factor(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
323 void max_load_factor(float __val) { _M_ht.max_load_factor(__val); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_unordered_map.h186 float max_load_factor() const { return _M_ht.max_load_factor(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
187 void max_load_factor(float __val) { _M_ht.max_load_factor(__val); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
346 float max_load_factor() const { return _M_ht.max_load_factor(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
347 void max_load_factor(float __val) { _M_ht.max_load_factor(__val); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
D_hashtable.c368 size_type __limit_num_buckets = (size_type)((float)size() / max_load_factor()); in rehash()
384 size_type __num_buckets_hint = (size_type)((float)__to_size / max_load_factor()); in _M_enlarge()
403 if ((float)size() / (float)__num_buckets > max_load_factor() / 4.0f) in _M_reduce()
417 if ((float)size() / (float)*__prev_prev > max_load_factor()) in _M_reduce()
428 if ((float)size() / (float)*__prev_prev > max_load_factor()) in _M_reduce()
441 if (load_factor() > max_load_factor()) { in _M_resize()
D_hashtable.h401 float max_load_factor() const { return _M_max_load_factor; }
402 void max_load_factor(float __z) {
/ndk/tests/device/test-stlport/unit/
Dunordered_test.cpp299 CPPUNIT_ASSERT( int_uset.max_load_factor() == 1.0f ); in hash_policy()
308 int_uset.max_load_factor(0.5f); in hash_policy()
310 CPPUNIT_ASSERT( int_uset.load_factor() < int_uset.max_load_factor() ); in hash_policy()
351 iumset.max_load_factor(10.0f); in equal_range()
424 CPPUNIT_ASSERT( iumset.load_factor() <= iumset.max_load_factor() ); in equal_range()
483 iumset.max_load_factor(10); in benchmark1()
502 iumset.max_load_factor(10); in benchmark2()
/ndk/tests/device/test-gnustl-full/unit/
Dunordered_test.cpp299 CPPUNIT_ASSERT( int_uset.max_load_factor() == 1.0f ); in hash_policy()
308 int_uset.max_load_factor(0.5f); in hash_policy()
310 CPPUNIT_ASSERT( int_uset.load_factor() < int_uset.max_load_factor() ); in hash_policy()
351 iumset.max_load_factor(10.0f); in equal_range()
424 CPPUNIT_ASSERT( iumset.load_factor() <= iumset.max_load_factor() ); in equal_range()
483 iumset.max_load_factor(10); in benchmark1()
502 iumset.max_load_factor(10); in benchmark2()
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_hashtable.h325 float max_load_factor() const { return _M_non_dbg_impl.max_load_factor(); } in max_load_factor() function
326 void max_load_factor(float __z) { in max_load_factor() function
328 _M_non_dbg_impl.max_load_factor(__z); in max_load_factor()