Searched refs:chunk_beg (Results 1 – 2 of 2) sorted by relevance
145 inline bool IsSpecialCaseOfOperatorNew0(uptr chunk_beg, uptr chunk_size, in IsSpecialCaseOfOperatorNew0() argument147 return chunk_size == sizeof(uptr) && chunk_beg + chunk_size == addr && in IsSpecialCaseOfOperatorNew0()148 *reinterpret_cast<uptr *>(chunk_beg) == 0; in IsSpecialCaseOfOperatorNew0()
349 uptr chunk_beg = user_beg - kChunkHeaderSize; in Allocate() local350 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Allocate()358 if (alloc_beg != chunk_beg) { in Allocate()359 CHECK_LE(alloc_beg+ 2 * sizeof(uptr), chunk_beg); in Allocate()361 reinterpret_cast<uptr *>(alloc_beg)[1] = chunk_beg; in Allocate()372 meta[1] = chunk_beg; in Allocate()471 uptr chunk_beg = p - kChunkHeaderSize; in Deallocate() local472 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Deallocate()482 uptr chunk_beg = p - kChunkHeaderSize; in Reallocate() local483 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Reallocate()