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

References

projects/compiler-rt/lib/scudo/standalone/chunk.h
  126   if (UNLIKELY(NewUnpackedHeader->Checksum !=
  138   if (UNLIKELY(!atomic_compare_exchange_strong(
projects/compiler-rt/lib/scudo/standalone/combined.h
   41       if (UNLIKELY(Header.State != Chunk::State::Quarantined))
   64       if (UNLIKELY(!Ptr))
   84       if (UNLIKELY(Header.State != Chunk::State::Allocated))
  114     if (UNLIKELY(!getRandom(&Cookie, sizeof(Cookie))))
  165     if (UNLIKELY(Alignment > MaxAlignment)) {
  183     if (UNLIKELY(Size >= MaxAllowedMallocSize ||
  206     if (UNLIKELY(!Block)) {
  215     if (UNLIKELY((ZeroContents || Options.ZeroContents) && ClassId))
  220     if (UNLIKELY(!isAligned(UserPtr, Alignment))) {
  260     if (UNLIKELY(!Ptr))
  262     if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
  268     if (UNLIKELY(Header.State != Chunk::State::Allocated))
  273         if (UNLIKELY(Header.Origin != Chunk::Origin::Memalign ||
  282       if (UNLIKELY(DeleteSize != Size))
  296     if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
  302     if (UNLIKELY(OldHeader.State != Chunk::State::Allocated))
  309       if (UNLIKELY(OldHeader.Origin != Chunk::Origin::Malloc))
  436     if (UNLIKELY(!Ptr))
  441     if (UNLIKELY(Header.State != Chunk::State::Allocated))
  498     if (UNLIKELY(Header.Offset != MaxOffset))
  508     if (UNLIKELY(Header.SizeOrUnusedBytes != MaxSizeOrUnusedBytes))
  513     if (UNLIKELY(Header.ClassId != LargestClassId))
projects/compiler-rt/lib/scudo/standalone/local_cache.h
   73       if (UNLIKELY(!refill(C, ClassId)))
  157     if (UNLIKELY(!B))
  170     if (UNLIKELY(!B))
projects/compiler-rt/lib/scudo/standalone/primary32.h
   66     if (UNLIKELY(!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))))
  106       if (UNLIKELY(!B))
  219     if (UNLIKELY(!MapBase))
  281         if (UNLIKELY(!B))
  294     if (UNLIKELY(!Region))
  310         if (UNLIKELY(!populateBatches(C, Sci, ClassId, &B, MaxCount,
  317       if (UNLIKELY(!populateBatches(C, Sci, ClassId, &B, MaxCount, ShuffleArray,
projects/compiler-rt/lib/scudo/standalone/primary64.h
   67     if (UNLIKELY(!getRandom(reinterpret_cast<void *>(&Seed), sizeof(Seed))))
  109       if (UNLIKELY(!B))
  246         if (UNLIKELY(!B))
  270       if (UNLIKELY(RegionBase + MappedUser + UserMapSize > RegionSize)) {
  282       if (UNLIKELY(MappedUser == 0))
  284       if (UNLIKELY(!map(reinterpret_cast<void *>(RegionBeg + MappedUser),
  305         if (UNLIKELY(!populateBatches(C, Region, ClassId, &B, MaxCount,
  312       if (UNLIKELY(!populateBatches(C, Region, ClassId, &B, MaxCount,
projects/compiler-rt/lib/scudo/standalone/secondary.cpp
   35   if (UNLIKELY(!MapBase))
   42   if (UNLIKELY(AlignmentHint >= PageSize)) {
projects/compiler-rt/lib/scudo/standalone/tsd_exclusive.h
   74     if (UNLIKELY(MinimalInit))
projects/compiler-rt/lib/scudo/standalone/wrappers_c.inc
   22   if (UNLIKELY(scudo::checkForCallocOverflow(size, nmemb, &Product))) {
   71     if (UNLIKELY(!alignment)) {
   74       if (UNLIKELY(!scudo::isPowerOfTwo(alignment)))
   78     if (UNLIKELY(!scudo::isPowerOfTwo(alignment))) {
   92   if (UNLIKELY(scudo::checkPosixMemalignAlignment(alignment))) {
   99   if (UNLIKELY(!Ptr))
  107   if (UNLIKELY(scudo::checkForPvallocOverflow(size, PageSize))) {
  171   if (UNLIKELY(scudo::checkAlignedAllocAlignmentAndSize(alignment, size))) {
projects/compiler-rt/lib/scudo/standalone/wrappers_c_checks.h
   24   if (UNLIKELY(!Ptr))