Lines Matching full:unlikely
74 if (UNLIKELY(Header.State != Chunk::State::Quarantined))
94 if (UNLIKELY(!Ptr))
107 if (UNLIKELY(useMemoryTagging<AllocatorConfig>(
121 if (UNLIKELY(Header.State != Chunk::State::Allocated))
150 if (UNLIKELY(!getRandom(&Cookie, sizeof(Cookie))))
340 if (UNLIKELY(Alignment > MaxAlignment)) {
349 if (UNLIKELY(GuardedAlloc.shouldSample())) {
376 if (UNLIKELY(Size >= MaxAllowedMallocSize)) {
394 if (UNLIKELY(!Block)) {
401 if (UNLIKELY(ClassId == 0)) {
406 if (UNLIKELY(!Block)) {
429 if (UNLIKELY(!Ptr))
441 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) {
451 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
460 if (UNLIKELY(Header.State != Chunk::State::Allocated))
465 if (UNLIKELY(Header.OriginOrWasZeroed != Origin)) {
476 if (UNLIKELY(DeleteSize != Size))
487 if (UNLIKELY(NewSize >= MaxAllowedMallocSize)) {
498 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) {
515 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
521 if (UNLIKELY(Header.State != Chunk::State::Allocated))
528 if (UNLIKELY(Header.OriginOrWasZeroed != Chunk::Origin::Malloc))
571 if (UNLIKELY(useMemoryTagging<AllocatorConfig>(Options))) {
750 if (UNLIKELY(!Ptr))
760 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr)))
769 if (UNLIKELY(Header.State != Chunk::State::Allocated))
1027 if (UNLIKELY(Header.Offset != MaxOffset))
1037 if (UNLIKELY(Header.SizeOrUnusedBytes != MaxSizeOrUnusedBytes))
1042 if (UNLIKELY(Header.ClassId != LargestClassId))
1075 if (ClassId != 0 && UNLIKELY(FillContents != NoFill)) {
1076 // This condition is not necessarily unlikely, but since memset is
1084 if (UNLIKELY(DefaultAlignedPtr != UserPtr)) {
1184 if (UNLIKELY(FillContents != NoFill && !Header.OriginOrWasZeroed)) {
1216 if (UNLIKELY(DefaultAlignedPtr != UserPtr)) {
1389 if (!UNLIKELY(Options.get(OptionBit::TrackAllocationStacks)))
1426 if (!UNLIKELY(Options.get(OptionBit::TrackAllocationStacks)))
1443 if (!UNLIKELY(Options.get(OptionBit::TrackAllocationStacks)))