Lines Matching full:capacity
90 sb = SharedBuffer::alloc(capacity() * mItemSize);
101 size_t VectorImpl::capacity() const
294 LOG_ASSERT(index<capacity(),
295 "[%p] editItemLocation: index=%d, capacity=%d, count=%d",
296 this, (int)index, (int)capacity(), (int)mCount);
306 LOG_ASSERT(index<capacity(),
307 "[%p] itemLocation: index=%d, capacity=%d, count=%d",
308 this, (int)index, (int)capacity(), (int)mCount);
318 size_t current_capacity = capacity();
321 // we can't reduce the capacity
349 // LOGV("_grow(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
350 // this, (int)where, (int)amount, (int)mCount, (int)capacity());
357 if (capacity() < new_size) {
402 // LOGV("_shrink(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
403 // this, (int)where, (int)amount, (int)mCount, (int)capacity());
410 if (new_size*3 < capacity()) {