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

References

projects/compiler-rt/lib/scudo/standalone/combined.h
  296     if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
  297       reportMisalignedPointer(AllocatorAction::Reallocating, OldPtr);
  300     Chunk::loadHeader(Cookie, OldPtr, &OldHeader);
  303       reportInvalidChunkState(AllocatorAction::Reallocating, OldPtr);
  310         reportDeallocTypeMismatch(AllocatorAction::Reallocating, OldPtr,
  314     void *BlockBegin = getBlockBegin(OldPtr, &OldHeader);
  325                 (reinterpret_cast<uptr>(OldPtr) + OldHeader.SizeOrUnusedBytes);
  330     if (reinterpret_cast<uptr>(OldPtr) + NewSize <= BlockEnd) {
  337                      : BlockEnd - (reinterpret_cast<uptr>(OldPtr) + NewSize)) &
  339         Chunk::compareExchangeHeader(Cookie, OldPtr, &NewHeader, &OldHeader);
  340         return OldPtr;
  350       const uptr OldSize = getSize(OldPtr, &OldHeader);
  351       memcpy(NewPtr, OldPtr, Min(NewSize, OldSize));
  352       quarantineOrDeallocateChunk(OldPtr, &OldHeader, OldSize);