reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
67 auto &a = allocations_[i]; 83 InternalMmapVector<AllocationSite> allocations_;projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h
421 template<class T> void Swap(T& a, T& b) { 421 template<class T> void Swap(T& a, T& b) { 422 T tmp = a; 452 T &operator[](uptr i) { 456 const T &operator[](uptr i) const { 460 void push_back(const T &element) { 466 internal_memcpy(&data_[size_++], &element, sizeof(T)); 468 T &back() { 479 const T *data() const { 482 T *data() { 485 uptr capacity() const { return capacity_bytes_ / sizeof(T); } 502 const T *begin() const { 505 T *begin() { 508 const T *end() const { 511 T *end() { 526 RoundUpTo(new_capacity * sizeof(T), GetPageSizeCached()); 527 T *new_data = (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector"); 528 internal_memcpy(new_data, data_, size_ * sizeof(T)); 534 T *data_; 553 class InternalMmapVector : public InternalMmapVectorNoCtor<T> { 592 void Sort(T *v, uptr size, Compare comp = {}) {