Searched refs:new_size (Results 1 – 4 of 4) sorted by relevance
356 const size_t new_size = mCount + amount; in _grow() local357 if (capacity() < new_size) { in _grow()358 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); in _grow()392 mCount = new_size; in _grow()409 const size_t new_size = mCount - amount; in _shrink() local410 if (new_size*3 < capacity()) { in _shrink()411 const size_t new_capacity = max(kMinVectorCapacity, new_size*2); in _shrink()413 if ((where == new_size) && in _shrink()427 if (where != new_size) { in _shrink()430 _do_copy(dest, from, new_size - where); in _shrink()[all …]
86 SharedBuffer* SharedBuffer::reset(size_t new_size) const in reset()89 SharedBuffer* sb = alloc(new_size); in reset()
196 unsigned int new_size; in mayRehash() local201 new_size = compute_bucket_count(m_NumOfBuckets); in mayRehash()203 new_size = m_NumOfBuckets; in mayRehash()207 doRehash(new_size); in mayRehash()
79 unsigned int new_size = old_size + pPath.native().size(); in append() local81 m_PathName.resize(new_size); in append()