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

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  429       needed_size += alignment;
  433     if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) {
  434       needed_size += rz_size;
  437     CHECK(IsAligned(needed_size, min_alignment));
  438     if (size > kMaxAllowedMallocSize || needed_size > kMaxAllowedMallocSize) {
  444       ReportAllocationSizeTooBig(size, needed_size, kMaxAllowedMallocSize,
  452       allocated = allocator.Allocate(cache, needed_size, 8);
  456       allocated = allocator.Allocate(cache, needed_size, 8);
  475     uptr alloc_end = alloc_beg + needed_size;
  526     thread_stats.malloced_redzones += needed_size - size;
  527     if (needed_size > SizeClassMap::kMaxSize)
  530       thread_stats.malloced_by_size[SizeClassMap::ClassID(needed_size)]++;