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.h135 inline bool IsSpecialCaseOfOperatorNew0(uptr chunk_beg, uptr chunk_size, in IsSpecialCaseOfOperatorNew0() argument
137 return chunk_size == sizeof(uptr) && chunk_beg + chunk_size == addr && in IsSpecialCaseOfOperatorNew0()
138 *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()
516 uptr chunk_beg = p - kChunkHeaderSize; in Deallocate() local
517 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Deallocate()
542 uptr chunk_beg = p - kChunkHeaderSize; in Reallocate() local
543 AsanChunk *m = reinterpret_cast<AsanChunk *>(chunk_beg); in Reallocate()