reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
61 sizeof(QuarantineBatch) + Chunk::getHeaderSize()); 71 Header.SizeOrUnusedBytes = sizeof(QuarantineBatch); 80 sizeof(QuarantineBatch) + Chunk::getHeaderSize());projects/compiler-rt/lib/scudo/standalone/list.h
38 T *front() { return First; } 39 const T *front() const { return First; } 40 T *back() { return Last; } 41 const T *back() const { return Last; } 48 typedef IteratorBase<T> Iterator; 49 typedef IteratorBase<const T> ConstIterator; 61 T *First; 62 T *Last; 81 template <class T> struct SinglyLinkedList : public IntrusiveList<T> { 87 void push_back(T *X) { 97 void push_front(T *X) { 113 void extract(T *Prev, T *X) { 113 void extract(T *Prev, T *X) { 124 void append_back(SinglyLinkedList<T> *L) {projects/compiler-rt/lib/scudo/standalone/quarantine.h
22 QuarantineBatch *Next; 30 this->Size = Size + sizeof(QuarantineBatch); // Account for the Batch Size. 34 uptr getQuarantinedSize() const { return Size - sizeof(QuarantineBatch); } 42 bool canMerge(const QuarantineBatch *const From) const { 46 void merge(QuarantineBatch *const From) { 56 From->Size = sizeof(QuarantineBatch); 76 uptr getOverheadSize() const { return List.size() * sizeof(QuarantineBatch); } 79 if (List.empty() || List.back()->Count == QuarantineBatch::MaxCount) { 80 QuarantineBatch *B = 97 void enqueueBatch(QuarantineBatch *B) { 102 QuarantineBatch *dequeueBatch() { 105 QuarantineBatch *B = List.front(); 113 QuarantineBatch *Current = List.front(); 116 QuarantineBatch *Extracted = Current->Next; 138 for (const QuarantineBatch &Batch : List) { 145 BatchCount * QuarantineBatch::MaxCount; 163 SinglyLinkedList<QuarantineBatch> List; 269 while (QuarantineBatch *B = C->dequeueBatch()) {