Home | History | Annotate | Download | only in utils

Lines Matching full:capacity

90             sb = SharedBuffer::alloc(capacity() * mItemSize);
101 size_t VectorImpl::capacity() const
292 LOG_ASSERT(index<capacity(),
293 "[%p] itemLocation: index=%d, capacity=%d, count=%d",
294 this, (int)index, (int)capacity(), (int)mCount);
304 LOG_ASSERT(index<capacity(),
305 "[%p] editItemLocation: index=%d, capacity=%d, count=%d",
306 this, (int)index, (int)capacity(), (int)mCount);
316 size_t current_capacity = capacity();
319 // we can't reduce the capacity
347 // LOGV("_grow(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
348 // this, (int)where, (int)amount, (int)mCount, (int)capacity());
354 if (capacity() < new_size) {
400 // LOGV("_shrink(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
401 // this, (int)where, (int)amount, (int)mCount, (int)capacity());
407 if (new_size*3 < capacity()) {