Lines Matching refs:UNLIKELY
147 if (UNLIKELY(NewUnpackedHeader->Checksum !=
168 if (UNLIKELY(!atomic_compare_exchange_strong(
184 if (UNLIKELY(Header.State != ChunkQuarantine))
277 if (UNLIKELY(!GetRandom(reinterpret_cast<void *>(&Cookie), sizeof(Cookie),
291 if (UNLIKELY(!Ptr))
306 if (UNLIKELY(GuardedAlloc.shouldSample())) {
312 if (UNLIKELY(Alignment > MaxAlignment)) {
317 if (UNLIKELY(Alignment < MinAlignment))
324 if (UNLIKELY(Size >= MaxAllowedMallocSize) ||
325 UNLIKELY(AlignedSize >= MaxAllowedMallocSize)) {
331 if (CheckRssLimit && UNLIKELY(isRssLimitExceeded())) {
356 if (UNLIKELY(!BackendPtr)) {
369 if (UNLIKELY(!IsAligned(UserPtr, Alignment))) {
453 if (UNLIKELY(!Ptr))
457 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr))) {
463 if (UNLIKELY(!Chunk::isAligned(Ptr)))
467 if (UNLIKELY(Header.State != ChunkAllocated))
494 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) {
504 if (UNLIKELY(!Chunk::isAligned(OldPtr)))
509 if (UNLIKELY(OldHeader.State != ChunkAllocated))
513 if (UNLIKELY(OldHeader.AllocType != FromMalloc))
543 if (UNLIKELY(!Ptr))
547 if (UNLIKELY(GuardedAlloc.pointerIsMine(Ptr)))
554 if (UNLIKELY(Header.State != ChunkAllocated))
561 if (UNLIKELY(CheckForCallocOverflow(NMemB, Size))) {
647 if (HardRssLimitMb && UNLIKELY(HardRssLimitMb < CurrentRssMb))
692 if (Alignment && UNLIKELY(!IsPowerOfTwo(Alignment))) {
726 if (UNLIKELY(CheckForPvallocOverflow(Size, PageSize))) {
738 if (UNLIKELY(!CheckPosixMemalignAlignment(Alignment))) {
744 if (UNLIKELY(!Ptr))
751 if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(Alignment, Size))) {