Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp241 uintptr_t UserPtr; in allocate() local
245 UserPtr = alignUp(SlotStart, Alignment); in allocate()
247 UserPtr = alignDown(SlotEnd - Size, Alignment); in allocate()
249 assert(UserPtr >= SlotStart); in allocate()
250 assert(UserPtr + Size <= SlotEnd); in allocate()
257 reinterpret_cast<void *>(getPageAddr(UserPtr, PageSize)), in allocate()
260 Meta->RecordAllocation(UserPtr, Size); in allocate()
266 return reinterpret_cast<void *>(UserPtr); in allocate()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dcombined.h404 const uptr UserPtr = roundUpTo(UnalignedUserPtr, Alignment); variable
406 void *Ptr = reinterpret_cast<void *>(UserPtr);
460 PrevUserPtr == UserPtr &&
461 (TaggedUserPtr = loadTag(UserPtr)) != UserPtr) {
509 if (UNLIKELY(UnalignedUserPtr != UserPtr)) {
510 const uptr Offset = UserPtr - UnalignedUserPtr;
524 (ClassId ? Size : SecondaryBlockEnd - (UserPtr + Size)) &