Lines Matching refs:_mem
209 _mem( _pool ), in DynArray()
216 if ( _mem != _pool ) { in ~DynArray()
217 delete [] _mem; in ~DynArray()
228 _mem[_size] = t; in Push()
236 T* ret = &_mem[_size]; in PushArr()
244 return _mem[_size]; in Pop()
258 return _mem[i];
263 return _mem[i];
268 return _mem[ _size - 1]; in PeekTop()
284 _mem[i] = _mem[_size - 1]; in SwapRemove()
289 TIXMLASSERT( _mem ); in Mem()
290 return _mem; in Mem()
294 TIXMLASSERT( _mem ); in Mem()
295 return _mem; in Mem()
309 … memcpy( newMem, _mem, sizeof(T)*_size ); // warning: not using constructors, only works for PODs in EnsureCapacity()
310 if ( _mem != _pool ) { in EnsureCapacity()
311 delete [] _mem; in EnsureCapacity()
313 _mem = newMem; in EnsureCapacity()
318 T* _mem; variable