• Home
  • Raw
  • Download

Lines Matching refs:array

119 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length)  in insertArrayAt()  argument
125 _do_copy(where, array, length); in insertArrayAt()
130 ssize_t VectorImpl::appendArray(const void* array, size_t length) in appendArray() argument
132 return insertArrayAt(array, size(), length); in appendArray()
172 void* array = const_cast<void*>(arrayImpl()); in sort() local
176 void* item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
177 void* curr = reinterpret_cast<char*>(array) + mItemSize*(i-1); in sort()
182 array = editArrayImpl(); in sort()
183 if (!array) return NO_MEMORY; in sort()
186 item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
187 curr = reinterpret_cast<char*>(array) + mItemSize*(i-1); in sort()
195 void* next = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
201 curr = reinterpret_cast<char*>(array) + mItemSize*(j); in sort()
324 void* array = sb->data(); in setCapacity() local
325 _do_copy(array, mStorage, size()); in setCapacity()
327 mStorage = const_cast<void*>(array); in setCapacity()
368 void* array = sb->data(); in _grow() local
370 _do_copy(array, mStorage, where); in _grow()
374 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow()
378 mStorage = const_cast<void*>(array); in _grow()
384 void* array = editArrayImpl(); in _grow() local
385 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow()
386 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; in _grow()
420 void* array = sb->data(); in _shrink() local
422 _do_copy(array, mStorage, where); in _shrink()
426 void* dest = reinterpret_cast<uint8_t *>(array) + where*mItemSize; in _shrink()
430 mStorage = const_cast<void*>(array); in _shrink()
434 void* array = editArrayImpl(); in _shrink() local
435 void* to = reinterpret_cast<uint8_t *>(array) + where*mItemSize; in _shrink()
439 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _shrink()