Searched refs:UserPtr (Results 1 – 3 of 3) sorted by relevance
226 uintptr_t UserPtr; in allocate() local230 UserPtr = alignUp(SlotStart, Alignment); in allocate()232 UserPtr = alignDown(SlotEnd - Size, Alignment); in allocate()234 assert(UserPtr >= SlotStart); in allocate()235 assert(UserPtr + Size <= SlotEnd); in allocate()242 reinterpret_cast<void *>(getPageAddr(UserPtr, PageSize)), in allocate()245 Meta->RecordAllocation(UserPtr, Size); in allocate()251 return reinterpret_cast<void *>(UserPtr); in allocate()
372 uptr UserPtr = reinterpret_cast<uptr>(BackendPtr) + Chunk::getHeaderSize(); in allocate() local373 if (UNLIKELY(!IsAligned(UserPtr, Alignment))) { in allocate()378 const uptr AlignedUserPtr = RoundUpTo(UserPtr, Alignment); in allocate()379 Header.Offset = (AlignedUserPtr - UserPtr) >> MinAlignmentLog; in allocate()380 UserPtr = AlignedUserPtr; in allocate()382 DCHECK_LE(UserPtr + Size, reinterpret_cast<uptr>(BackendPtr) + BackendSize); in allocate()393 const uptr TrailingBytes = (UserPtr + Size) & (PageSize - 1); in allocate()397 void *Ptr = reinterpret_cast<void *>(UserPtr); in allocate()
373 const uptr UserPtr = roundUpTo(UnalignedUserPtr, Alignment); variable375 void *Ptr = reinterpret_cast<void *>(UserPtr);429 PrevUserPtr == UserPtr &&430 (TaggedUserPtr = loadTag(UserPtr)) != UserPtr) {478 if (UNLIKELY(UnalignedUserPtr != UserPtr)) {479 const uptr Offset = UserPtr - UnalignedUserPtr;493 (ClassId ? Size : SecondaryBlockEnd - (UserPtr + Size)) &