Lines Matching refs:array
124 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length) in insertArrayAt() argument
130 _do_copy(where, array, length); in insertArrayAt()
135 ssize_t VectorImpl::appendArray(const void* array, size_t length) in appendArray() argument
137 return insertArrayAt(array, size(), length); in appendArray()
177 void* array = const_cast<void*>(arrayImpl()); in sort() local
181 void* item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
182 void* curr = reinterpret_cast<char*>(array) + mItemSize*(i-1); in sort()
187 array = editArrayImpl(); in sort()
188 if (!array) return NO_MEMORY; in sort()
191 item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
192 curr = reinterpret_cast<char*>(array) + mItemSize*(i-1); in sort()
200 void* next = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
208 curr = reinterpret_cast<char*>(array) + mItemSize*(j); in sort()
344 void* array = sb->data(); in setCapacity() local
345 _do_copy(array, mStorage, size()); in setCapacity()
347 mStorage = const_cast<void*>(array); in setCapacity()
423 void* array = sb->data(); in _grow() local
425 _do_copy(array, mStorage, where); in _grow()
429 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow()
433 mStorage = const_cast<void*>(array); in _grow()
439 void* array = editArrayImpl(); in _grow() local
441 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; in _grow()
442 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow()
490 void* array = sb->data(); in _shrink() local
492 _do_copy(array, mStorage, where); in _shrink()
496 void* dest = reinterpret_cast<uint8_t *>(array) + where*mItemSize; in _shrink()
500 mStorage = const_cast<void*>(array); in _shrink()
506 void* array = editArrayImpl(); in _shrink() local
507 void* to = reinterpret_cast<uint8_t *>(array) + where*mItemSize; in _shrink()
510 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _shrink()