Lines Matching refs:_capacity
13 unsigned _capacity; variable
22 if (_size == _capacity) in ReserveOnePosition()
24 unsigned newCapacity = _capacity + (_capacity >> 2) + 1; in ReserveOnePosition()
32 _capacity = newCapacity; in ReserveOnePosition()
38 CRecordVector(): _items(0), _size(0), _capacity(0) {} in CRecordVector()
40 CRecordVector(const CRecordVector &v): _items(0), _size(0), _capacity(0) in CRecordVector()
47 _capacity = size; in CRecordVector()
61 _capacity = size; in ConstructReserve()
67 if (newCapacity > _capacity) in Reserve()
76 _capacity = newCapacity; in Reserve()
83 if (newCapacity > _capacity) in ClearAndReserve()
87 _capacity = 0; in ClearAndReserve()
90 _capacity = newCapacity; in ClearAndReserve()
102 if (newSize > _capacity) in ChangeSize_KeepData()
111 _capacity = newSize; in ChangeSize_KeepData()
118 if (_size == _capacity) in ReserveDown()
128 _capacity = _size; in ReserveDown()
138 _capacity = 0; in ClearAndFree()
182 if (size > _capacity)
185 _capacity = 0;
189 _capacity = size;