Home
last modified time | relevance | path

Searched refs:__num_buckets (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_hashtable.c383 size_type __num_buckets = bucket_count(); in _M_enlarge() local
385 if (__num_buckets_hint <= __num_buckets) { in _M_enlarge()
388 __num_buckets = _STLP_PRIV _Stl_prime_type::_S_next_size(__num_buckets_hint); in _M_enlarge()
390 _M_rehash(__num_buckets); in _M_enlarge()
397 size_type __num_buckets = bucket_count(); in _M_reduce() local
403 if ((float)size() / (float)__num_buckets > max_load_factor() / 4.0f) in _M_reduce()
408 _STLP_PRIV _Stl_prime_type::_S_prev_sizes(__num_buckets, __first, __prev); in _M_reduce()
421 if (*__prev >= __num_buckets) in _M_reduce()
454 ::_M_rehash(size_type __num_buckets) { in _M_rehash() argument
459 …_BucketVector __tmp(__num_buckets + 1, __STATIC_CAST(_BucketType*, 0), _M_buckets.get_allocator()); in _M_rehash()
[all …]
D_hashtable.h573 void _M_rehash(size_type __num_buckets);