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

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  411         ComputeUserRequestedAlignmentLog(alignment);
  412     if (alignment < min_alignment)
  413       alignment = min_alignment;
  423     CHECK(IsPowerOfTwo(alignment));
  426     uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment);
  428     if (alignment > min_alignment)
  429       needed_size += alignment;
  433     if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) {
  478     if (!IsAligned(user_beg, alignment))
  479       user_beg = RoundUpTo(user_beg, alignment);