Home
last modified time | relevance | path

Searched refs:UserPtr (Results 1 – 1 of 1) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp351 uptr UserPtr = reinterpret_cast<uptr>(BackendPtr) + Chunk::getHeaderSize(); in allocate() local
352 if (UNLIKELY(!IsAligned(UserPtr, Alignment))) { in allocate()
357 const uptr AlignedUserPtr = RoundUpTo(UserPtr, Alignment); in allocate()
358 Header.Offset = (AlignedUserPtr - UserPtr) >> MinAlignmentLog; in allocate()
359 UserPtr = AlignedUserPtr; in allocate()
361 DCHECK_LE(UserPtr + Size, reinterpret_cast<uptr>(BackendPtr) + BackendSize); in allocate()
372 const uptr TrailingBytes = (UserPtr + Size) & (PageSize - 1); in allocate()
376 void *Ptr = reinterpret_cast<void *>(UserPtr); in allocate()