Searched refs:ChunkBeg (Results 1 – 1 of 1) sorted by relevance
355 uptr ChunkBeg = AllocBeg + ChunkHeaderSize; in allocate() local356 if (!IsAligned(ChunkBeg, Alignment)) in allocate()357 ChunkBeg = RoundUpTo(ChunkBeg, Alignment); in allocate()358 CHECK_LE(ChunkBeg + Size, AllocBeg + NeededSize); in allocate()360 reinterpret_cast<ScudoChunk *>(ChunkBeg - ChunkHeaderSize); in allocate()363 Header.Offset = (ChunkBeg - ChunkHeaderSize - AllocBeg) >> MinAlignmentLog; in allocate()368 void *UserPtr = reinterpret_cast<void *>(ChunkBeg); in allocate()384 uptr ChunkBeg = reinterpret_cast<uptr>(UserPtr); in deallocate() local385 if (!IsAligned(ChunkBeg, MinAlignment)) { in deallocate()390 reinterpret_cast<ScudoChunk *>(ChunkBeg - ChunkHeaderSize); in deallocate()[all …]