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

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_secondary.h
  105     if (res & (alignment - 1))  // Align.
  106       res += alignment - (res & (alignment - 1));
  106       res += alignment - (res & (alignment - 1));
  107     CHECK(IsAligned(res, alignment));
  108     CHECK(IsAligned(res, page_size_));
  109     CHECK_GE(res + size, map_beg);
  110     CHECK_LE(res + size, map_end);
  111     Header *h = GetHeader(res);
  131     return reinterpret_cast<void*>(res);