Home
last modified time | relevance | path

Searched refs:_itemSize (Results 1 – 2 of 2) sorted by relevance

/external/lzma/CPP/Common/
DMyVector.cpp43 size_t newSize = (size_t)(unsigned)newCapacity * _itemSize; in Reserve()
44 if (newSize / _itemSize != (size_t)(unsigned)newCapacity) in Reserve()
53 memcpy(p, _items, _itemSize * numRecordsToMove); in Reserve()
67 memmove(((unsigned char *)_items) + destIndex * _itemSize, in MoveItems()
68 ((unsigned char *)_items) + srcIndex * _itemSize, in MoveItems()
69 _itemSize * (_size - srcIndex)); in MoveItems()
DMyVector.h15 size_t _itemSize; variable
22 CBaseRecordVector(size_t itemSize): _capacity(0), _size(0), _items(0), _itemSize(itemSize) {} in CBaseRecordVector()