reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/scudo/standalone/vector.h
   24     Size = 0;
   42     if (Size == capacity()) {
   43       const uptr NewCapacity = roundUpToPowerOfTwo(Size + 1);
   46     memcpy(&Data[Size++], &Element, sizeof(T));
   50     return Data[Size - 1];
   54     Size--;
   56   uptr size() const { return Size; }
   66     if (NewSize > Size) {
   68       memset(&Data[Size], 0, sizeof(T) * (NewSize - Size));
   68       memset(&Data[Size], 0, sizeof(T) * (NewSize - Size));
   70     Size = NewSize;
   73   void clear() { Size = 0; }
   89       memcpy(NewData, Data, Size * sizeof(T));