Home | History | Annotate | Download | only in utils

Lines Matching refs:VectorImpl

26 #include <utils/VectorImpl.h>
43 VectorImpl::VectorImpl(size_t itemSize, uint32_t flags)
48 VectorImpl::VectorImpl(const VectorImpl& rhs)
57 VectorImpl::~VectorImpl()
61 "subclasses of VectorImpl must call finish_vector()"
67 VectorImpl& VectorImpl::operator = (const VectorImpl& rhs)
85 void* VectorImpl::editArrayImpl()
101 size_t VectorImpl::capacity() const
109 ssize_t VectorImpl::insertVectorAt(const VectorImpl& vector, size_t index)
120 ssize_t VectorImpl::appendVector(const VectorImpl& vector)
125 ssize_t VectorImpl::insertAt(size_t index, size_t numItems)
130 ssize_t VectorImpl::insertAt(const void* item, size_t index, size_t numItems)
147 return (*(VectorImpl::compar_t)func)(lhs, rhs);
150 status_t VectorImpl::sort(VectorImpl::compar_t cmp)
155 status_t VectorImpl::sort(VectorImpl::compar_r_t cmp, void* state)
208 void VectorImpl::pop()
214 void VectorImpl::push()
219 void VectorImpl::push(const void* item)
224 ssize_t VectorImpl::add()
229 ssize_t VectorImpl::add(const void* item)
234 ssize_t VectorImpl::replaceAt(size_t index)
239 ssize_t VectorImpl::replaceAt(const void* prototype, size_t index)
256 ssize_t VectorImpl::removeItemsAt(size_t index, size_t count)
268 void VectorImpl::finish_vector()
275 void VectorImpl::clear()
280 void* VectorImpl::editItemLocation(size_t index)
292 const void* VectorImpl::itemLocation(size_t index) const
304 ssize_t VectorImpl::setCapacity(size_t new_capacity)
324 void VectorImpl::release_storage()
335 void* VectorImpl::_grow(size_t where, size_t amount)
385 void VectorImpl::_shrink(size_t where, size_t amount)
438 size_t VectorImpl::itemSize() const {
442 void VectorImpl::_do_construct(void* storage, size_t num) const
449 void VectorImpl::_do_destroy(void* storage, size_t num) const
456 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const
465 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const {
469 void VectorImpl::_do_move_forward(void* dest, const void* from, size_t num) const {
473 void VectorImpl::_do_move_backward(void* dest, const void* from, size_t num) const {
477 void VectorImpl::reservedVectorImpl1() { }
478 void VectorImpl::reservedVectorImpl2() { }
479 void VectorImpl::reservedVectorImpl3() { }
480 void VectorImpl::reservedVectorImpl4() { }
481 void VectorImpl::reservedVectorImpl5() { }
482 void VectorImpl::reservedVectorImpl6() { }
483 void VectorImpl::reservedVectorImpl7() { }
484 void VectorImpl::reservedVectorImpl8() { }
489 : VectorImpl(itemSize, flags)
493 SortedVectorImpl::SortedVectorImpl(const VectorImpl& rhs)
494 : VectorImpl(rhs)
504 return static_cast<SortedVectorImpl&>( VectorImpl::operator = (static_cast<const VectorImpl&>(rhs)) );
550 index = VectorImpl::insertAt(item, order, 1);
552 index = VectorImpl::replaceAt(item, index);
557 ssize_t SortedVectorImpl::merge(const VectorImpl& vector)
581 err = VectorImpl::insertVectorAt(static_cast<const VectorImpl&>(vector), 0);
583 err = VectorImpl::appendVector(static_cast<const VectorImpl&>(vector));
586 err = merge(static_cast<const VectorImpl&>(vector));
596 VectorImpl::removeItemsAt(i, 1);