Home
last modified time | relevance | path

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

/external/compiler-rt/lib/lsan/
Dlsan_common.h145 inline bool IsSpecialCaseOfOperatorNew0(uptr chunk_beg, uptr chunk_size, in IsSpecialCaseOfOperatorNew0() argument
147 return chunk_size == sizeof(uptr) && chunk_beg + chunk_size == addr && in IsSpecialCaseOfOperatorNew0()
148 *reinterpret_cast<uptr *>(chunk_beg) == 0; in IsSpecialCaseOfOperatorNew0()
/external/compiler-rt/lib/asan/
Dasan_allocator2.cc349 uptr chunk_beg = user_beg - kChunkHeaderSize; in Allocate() local
350 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() local
472 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Deallocate()
482 uptr chunk_beg = p - kChunkHeaderSize; in Reallocate() local
483 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Reallocate()