Lines Matching refs:UNLIKELY
60 if (UNLIKELY(Header.State != Chunk::State::Quarantined))
83 if (UNLIKELY(!Ptr))
103 if (UNLIKELY(Header.State != Chunk::State::Allocated))
133 if (UNLIKELY(!getRandom(&Cookie, sizeof(Cookie))))
204 if (UNLIKELY(GuardedAlloc.shouldSample())) {
212 if (UNLIKELY(Alignment > MaxAlignment)) {
231 if (UNLIKELY(Size >= MaxAllowedMallocSize)) {
255 if (UNLIKELY(!Block)) {
264 if (UNLIKELY(ZeroContents && ClassId))
272 if (UNLIKELY(UnalignedUserPtr != UserPtr)) {
308 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) {
317 if (UNLIKELY(!Ptr))
319 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
325 if (UNLIKELY(Header.State != Chunk::State::Allocated))
330 if (UNLIKELY(Header.Origin != Chunk::Origin::Memalign ||
339 if (UNLIKELY(DeleteSize != Size))
354 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) {
364 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
370 if (UNLIKELY(OldHeader.State != Chunk::State::Allocated))
377 if (UNLIKELY(OldHeader.Origin != Chunk::Origin::Malloc))
514 if (UNLIKELY(!Ptr))
518 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr)))
525 if (UNLIKELY(Header.State != Chunk::State::Allocated))
599 if (UNLIKELY(Header.Offset != MaxOffset))
609 if (UNLIKELY(Header.SizeOrUnusedBytes != MaxSizeOrUnusedBytes))
614 if (UNLIKELY(Header.ClassId != LargestClassId))