Lines Matching refs:newCapacity
24 unsigned newCapacity = _capacity + (_capacity >> 2) + 1; in ReserveOnePosition() local
26 MY_ARRAY_NEW(p, T, newCapacity); in ReserveOnePosition()
32 _capacity = newCapacity; in ReserveOnePosition()
65 void Reserve(unsigned newCapacity) in Reserve() argument
67 if (newCapacity > _capacity) in Reserve()
70 MY_ARRAY_NEW(p, T, newCapacity); in Reserve()
76 _capacity = newCapacity; in Reserve()
80 void ClearAndReserve(unsigned newCapacity) in ClearAndReserve() argument
83 if (newCapacity > _capacity) in ClearAndReserve()
88 MY_ARRAY_NEW(_items, T, newCapacity) in ClearAndReserve()
90 _capacity = newCapacity; in ClearAndReserve()
429 void ClearAndReserve(unsigned newCapacity) { Clear(); _v.ClearAndReserve(newCapacity); } in ClearAndReserve() argument