Searched refs:mItemSize (Results 1 – 4 of 4) sorted by relevance
/system/core/libutils/ |
D | VectorImpl.cpp | 45 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize) in VectorImpl() 51 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize) in VectorImpl() 63 this, (int)(mCount*mItemSize)); in ~VectorImpl() 69 LOG_ALWAYS_FATAL_IF(mItemSize != rhs.mItemSize, in operator =() 90 sb = SharedBuffer::alloc(capacity() * mItemSize); in editArrayImpl() 104 return SharedBuffer::bufferFromData(mStorage)->size() / mItemSize; in capacity() 176 void* item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort() 177 void* curr = reinterpret_cast<char*>(array) + mItemSize*(i-1); in sort() 184 temp = malloc(mItemSize); in sort() 186 item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort() [all …]
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
D | VectorImpl.cpp | 47 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize) in VectorImpl() 53 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize) in VectorImpl() 66 this, (int)(mCount*mItemSize)); in ~VectorImpl() 72 ALOG_ASSERT(mItemSize == rhs.mItemSize, in operator =() 93 sb = SharedBuffer::alloc(capacity() * mItemSize); in editArrayImpl() 107 return SharedBuffer::sharedBuffer(mStorage)->size() / mItemSize; in capacity() 228 return reinterpret_cast<char*>(buffer) + index*mItemSize; in editItemLocation() 240 return reinterpret_cast<const char*>(buffer) + index*mItemSize; in itemLocation() 252 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); in setCapacity() 293 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _grow() [all …]
|
D | VectorImpl.h | 129 const size_t mItemSize; variable
|
/system/core/include/utils/ |
D | VectorImpl.h | 126 const size_t mItemSize; variable
|