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.h124 inline bool IsSpecialCaseOfOperatorNew0(uptr chunk_beg, uptr chunk_size, in IsSpecialCaseOfOperatorNew0() argument
126 return chunk_size == sizeof(uptr) && chunk_beg + chunk_size == addr && in IsSpecialCaseOfOperatorNew0()
127 *reinterpret_cast<uptr *>(chunk_beg) == 0; in IsSpecialCaseOfOperatorNew0()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc396 uptr chunk_beg = user_beg - kChunkHeaderSize; in Allocate() local
397 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() local
518 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Deallocate()
532 uptr chunk_beg = p - kChunkHeaderSize; in Reallocate() local
533 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Reallocate()