Home | History | Annotate | Download | only in tinyutils

Lines Matching refs:mItemSize

47     : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize)
53 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize)
66 this, (int)(mCount*mItemSize));
72 ALOG_ASSERT(mItemSize == rhs.mItemSize,
93 sb = SharedBuffer::alloc(capacity() * mItemSize);
107 return SharedBuffer::sharedBuffer(mStorage)->size() / mItemSize;
228 return reinterpret_cast<char*>(buffer) + index*mItemSize;
240 return reinterpret_cast<const char*>(buffer) + index*mItemSize;
252 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize);
293 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize);
296 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize);
303 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + where*mItemSize;
304 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
315 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
316 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize;
345 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize);
348 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize);
355 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + (where+amount)*mItemSize;
356 void* dest = reinterpret_cast<uint8_t *>(array) + where*mItemSize;
365 void* to = reinterpret_cast<uint8_t *>(array) + where*mItemSize;
369 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
379 return mItemSize;