Home
last modified time | relevance | path

Searched defs:new_capacity (Results 1 – 3 of 3) sorted by relevance

/system/bt/osi/src/
Darray.c100 const size_t new_capacity = array->capacity + (array->capacity / 2); in grow() local
/system/core/libpixelflinger/codeflinger/tinyutils/
DVectorImpl.cpp244 ssize_t VectorImpl::setCapacity(size_t new_capacity) in setCapacity()
285 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); in _grow() local
338 const size_t new_capacity = max(kMinVectorCapacity, new_size*2); in _shrink() local
/system/core/libutils/
DVectorImpl.cpp326 ssize_t VectorImpl::setCapacity(size_t new_capacity) in setCapacity()
378 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); in _grow() local
437 const size_t new_capacity = max(kMinVectorCapacity, new_size*2); in _shrink() local