• Home
  • Raw
  • Download

Lines Matching refs:array

126 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length)  in insertArrayAt()  argument
132 _do_copy(where, array, length); in insertArrayAt()
137 ssize_t VectorImpl::appendArray(const void* array, size_t length) in appendArray() argument
139 return insertArrayAt(array, size(), length); in appendArray()
179 void* array = const_cast<void*>(arrayImpl()); in sort() local
183 void* item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
184 void* curr = reinterpret_cast<char*>(array) + mItemSize*(i-1); in sort()
189 array = editArrayImpl(); in sort()
190 if (!array) return NO_MEMORY; in sort()
193 item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
194 curr = reinterpret_cast<char*>(array) + mItemSize*(i-1); in sort()
202 void* next = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
210 curr = reinterpret_cast<char*>(array) + mItemSize*(j); in sort()
348 void* array = sb->data(); in setCapacity() local
349 _do_copy(array, mStorage, size()); in setCapacity()
351 mStorage = const_cast<void*>(array); in setCapacity()
426 void* array = sb->data(); in _grow() local
428 _do_copy(array, mStorage, where); in _grow()
432 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow()
436 mStorage = const_cast<void*>(array); in _grow()
442 void* array = editArrayImpl(); in _grow() local
444 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; in _grow()
445 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow()
493 void* array = sb->data(); in _shrink() local
495 _do_copy(array, mStorage, where); in _shrink()
499 void* dest = reinterpret_cast<uint8_t *>(array) + where*mItemSize; in _shrink()
503 mStorage = const_cast<void*>(array); in _shrink()
509 void* array = editArrayImpl(); in _shrink() local
510 void* to = reinterpret_cast<uint8_t *>(array) + where*mItemSize; in _shrink()
513 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _shrink()