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

References

projects/compiler-rt/lib/scudo/standalone/vector.h
   32   T &operator[](uptr I) {
   36   const T &operator[](uptr I) const {
   40   void push_back(const T &Element) {
   46     memcpy(&Data[Size++], &Element, sizeof(T));
   48   T &back() {
   57   const T *data() const { return Data; }
   58   T *data() { return Data; }
   59   uptr capacity() const { return CapacityBytes / sizeof(T); }
   68       memset(&Data[Size], 0, sizeof(T) * (NewSize - Size));
   76   const T *begin() const { return data(); }
   77   T *begin() { return data(); }
   78   const T *end() const { return data() + size(); }
   79   T *end() { return data() + size(); }
   86         roundUpTo(NewCapacity * sizeof(T), getPageSizeCached());
   87     T *NewData = (T *)map(nullptr, NewCapacityBytes, "scudo:vector");
   89       memcpy(NewData, Data, Size * sizeof(T));
   96   T *Data;