Lines Matching refs:size
105 return SharedBuffer::sharedBuffer(mStorage)->size() / mItemSize;
112 if (index > size())
114 void* where = _grow(index, vector.size());
116 _do_copy(where, vector.arrayImpl(), vector.size());
123 return insertVectorAt(vector, size());
133 if (index > size())
148 if (size())
149 removeItemsAt(size()-1, 1);
159 insertAt(item, size());
169 return insertAt(item, size());
179 ALOG_ASSERT(index<size(),
180 "[%p] replace: index=%d, size=%d", this, (int)index, (int)size());
196 ALOG_ASSERT((index+count)<=size(),
197 "[%p] remove: index=%d, count=%d, size=%d",
198 this, (int)index, (int)count, (int)size());
200 if ((index+count) > size())
245 ssize_t amount = new_capacity - size();
253 _do_copy(array, mStorage, size());
462 ssize_t h = size()-1;
501 size_t s = vector.size();
518 if (do_compare(vector.itemLocation(vector.size()-1), arrayImpl()) <= 0) {
520 } else if (do_compare(vector.arrayImpl(), itemLocation(size()-1)) >= 0) {