Searched refs:chunk_beg (Results 1 – 2 of 2) sorted by relevance
124 inline bool IsSpecialCaseOfOperatorNew0(uptr chunk_beg, uptr chunk_size, in IsSpecialCaseOfOperatorNew0() argument126 return chunk_size == sizeof(uptr) && chunk_beg + chunk_size == addr && in IsSpecialCaseOfOperatorNew0()127 *reinterpret_cast<uptr *>(chunk_beg) == 0; in IsSpecialCaseOfOperatorNew0()
396 uptr chunk_beg = user_beg - kChunkHeaderSize; in Allocate() local397 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Allocate()405 if (alloc_beg != chunk_beg) { in Allocate()406 CHECK_LE(alloc_beg+ 2 * sizeof(uptr), chunk_beg); in Allocate()408 reinterpret_cast<uptr *>(alloc_beg)[1] = chunk_beg; in Allocate()419 meta[1] = chunk_beg; in Allocate()517 uptr chunk_beg = p - kChunkHeaderSize; in Deallocate() local518 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Deallocate()532 uptr chunk_beg = p - kChunkHeaderSize; in Reallocate() local533 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Reallocate()