Lines Matching refs:capacity
90 sb = SharedBuffer::alloc(capacity() * mItemSize); in editArrayImpl()
101 size_t VectorImpl::capacity() const in capacity() function in android::VectorImpl
298 ALOG_ASSERT(index<capacity(), in editItemLocation()
300 this, (int)index, (int)capacity(), (int)mCount); in editItemLocation()
302 if (index < capacity()) { in editItemLocation()
313 ALOG_ASSERT(index<capacity(), in itemLocation()
315 this, (int)index, (int)capacity(), (int)mCount); in itemLocation()
317 if (index < capacity()) { in itemLocation()
328 size_t current_capacity = capacity(); in setCapacity()
377 if (capacity() < new_size) { in _grow()
436 if (new_size*3 < capacity()) { in _shrink()