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

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h
   34     primary_.Init(release_to_os_interval_ms);
   40     primary_.Init(release_to_os_interval_ms);
   68     if (primary_.CanAllocate(size, alignment))
   69       res = cache->Allocate(&primary_, primary_.ClassID(size));
   69       res = cache->Allocate(&primary_, primary_.ClassID(size));
   78     return primary_.ReleaseToOSIntervalMs();
   82     primary_.SetReleaseToOSIntervalMs(release_to_os_interval_ms);
   86     primary_.ForceReleaseToOS();
   91     if (primary_.PointerIsMine(p))
   92       cache->Deallocate(&primary_, primary_.GetSizeClass(p), p);
   92       cache->Deallocate(&primary_, primary_.GetSizeClass(p), p);
  116     if (primary_.PointerIsMine(p))
  122     return primary_.PointerIsMine(p);
  126     if (primary_.PointerIsMine(p))
  127       return primary_.GetMetaData(p);
  132     if (primary_.PointerIsMine(p))
  133       return primary_.GetBlockBegin(p);
  140     if (primary_.PointerIsMine(p))
  141       return primary_.GetBlockBegin(p);
  146     if (primary_.PointerIsMine(p))
  147       return primary_.GetActuallyAllocatedSize(p);
  152     return primary_.TotalMemoryUsed() + secondary_.TotalMemoryUsed();
  155   void TestOnlyUnmap() { primary_.TestOnlyUnmap(); }
  162     cache->Destroy(&primary_, &stats_);
  166     cache->Drain(&primary_);
  174     primary_.PrintStats();
  181     primary_.ForceLock();
  187     primary_.ForceUnlock();
  193     primary_.ForEachChunk(callback, arg);