Lines Matching refs:Size
24 Size = 0; in init()
33 DCHECK_LT(I, Size);
37 DCHECK_LT(I, Size);
41 DCHECK_LE(Size, capacity()); in push_back()
42 if (Size == capacity()) { in push_back()
43 const uptr NewCapacity = roundUpToPowerOfTwo(Size + 1); in push_back()
46 memcpy(&Data[Size++], &Element, sizeof(T)); in push_back()
49 DCHECK_GT(Size, 0); in back()
50 return Data[Size - 1]; in back()
53 DCHECK_GT(Size, 0); in pop_back()
54 Size--; in pop_back()
56 uptr size() const { return Size; } in size()
66 if (NewSize > Size) { in resize()
68 memset(&Data[Size], 0, sizeof(T) * (NewSize - Size)); in resize()
70 Size = NewSize; in resize()
73 void clear() { Size = 0; } in clear()
84 DCHECK_LE(Size, NewCapacity); in reallocate()
90 memcpy(NewData, Data, Size * sizeof(T)); in reallocate()
99 uptr Size; variable