Lines Matching refs:array

119 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length)
125 _do_copy(where, array, length);
130 ssize_t VectorImpl::appendArray(const void* array, size_t length)
132 return insertArrayAt(array, size(), length);
172 void* array = const_cast<void*>(arrayImpl());
176 void* item = reinterpret_cast<char*>(array) + mItemSize*(i);
177 void* curr = reinterpret_cast<char*>(array) + mItemSize*(i-1);
181 // we're going to have to modify the array...
182 array = editArrayImpl();
183 if (!array) return NO_MEMORY;
186 item = reinterpret_cast<char*>(array) + mItemSize*(i);
187 curr = reinterpret_cast<char*>(array) + mItemSize*(i-1);
195 void* next = reinterpret_cast<char*>(array) + mItemSize*(i);
201 curr = reinterpret_cast<char*>(array) + mItemSize*(j);
336 void* array = sb->data();
337 _do_copy(array, mStorage, size());
339 mStorage = const_cast<void*>(array);
381 void* array = sb->data();
383 _do_copy(array, mStorage, where);
387 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
391 mStorage = const_cast<void*>(array);
395 void* array = editArrayImpl();
397 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize;
398 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
433 void* array = sb->data();
435 _do_copy(array, mStorage, where);
439 void* dest = reinterpret_cast<uint8_t *>(array) + where*mItemSize;
443 mStorage = const_cast<void*>(array);
447 void* array = editArrayImpl();
448 void* to = reinterpret_cast<uint8_t *>(array) + where*mItemSize;
451 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;