reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
681 Leak leak = { next_id_++, /* hit_count */ 1, leaked_size, stack_trace_id, 691 static bool LeakComparator(const Leak &leak1, const Leak &leak2) { 691 static bool LeakComparator(const Leak &leak1, const Leak &leak2) {projects/compiler-rt/lib/lsan/lsan_common.h
113 InternalMmapVector<Leak> leaks_;
projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h421 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 = {}) {