Home
last modified time | relevance | path

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

/external/libchrome/base/containers/
Dcircular_deque.h948 size_t min_new_capacity = size() + additional_elts; in ExpandCapacityIfNecessary() local
949 if (capacity() >= min_new_capacity) in ExpandCapacityIfNecessary()
952 min_new_capacity = in ExpandCapacityIfNecessary()
953 std::max(min_new_capacity, internal::kCircularBufferInitialCapacity); in ExpandCapacityIfNecessary()
959 std::max(min_new_capacity, capacity() + capacity() / 4); in ExpandCapacityIfNecessary()
/external/OpenCL-CTS/test_common/miniz/
Dminiz.c2235 …_ensure_capacity(mz_zip_archive *pZip, mz_zip_array *pArray, size_t min_new_capacity, mz_uint grow… in mz_zip_array_ensure_capacity() argument
2237 …New_p; size_t new_capacity = min_new_capacity; MZ_ASSERT(pArray->m_element_size); if (pArray->m_ca… in mz_zip_array_ensure_capacity()
2238 …new_capacity = MZ_MAX(1, pArray->m_capacity); while (new_capacity < min_new_capacity) new_capacity… in mz_zip_array_ensure_capacity()