Searched defs:QuarantineCallback (Results 1 – 2 of 2) sorted by relevance
210 struct QuarantineCallback { struct211 QuarantineCallback(AllocatorCache *cache, BufferedStackTrace *stack) in QuarantineCallback() argument216 void PreQuarantine(AsanChunk *m) const { in PreQuarantine()223 void Recycle(AsanChunk *m) const { in Recycle()254 void RecyclePassThrough(AsanChunk *m) const { in RecyclePassThrough()264 void *Allocate(uptr size) const { in Allocate()272 void Deallocate(void *p) const { get_allocator().Deallocate(cache_, p); } in Deallocate()275 AllocatorCache* const cache_;276 BufferedStackTrace* const stack_;
65 struct QuarantineCallback { struct66 explicit QuarantineCallback(ThisT &Instance, CacheT &LocalCache) in QuarantineCallback() function71 void recycle(void *Ptr) { in recycle()89 void *allocate(UNUSED uptr Size) { in allocate()115 void deallocate(void *Ptr) { in deallocate()139 typedef GlobalQuarantine<QuarantineCallback, void> QuarantineT; argument