Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_allocator.cc388 uptr alloc_beg = reinterpret_cast<uptr>(allocated); in Allocate() local
389 uptr alloc_end = alloc_beg + needed_size; in Allocate()
390 uptr beg_plus_redzone = alloc_beg + rz_size; in Allocate()
405 if (alloc_beg != chunk_beg) { in Allocate()
406 CHECK_LE(alloc_beg+ 2 * sizeof(uptr), chunk_beg); in Allocate()
407 reinterpret_cast<uptr *>(alloc_beg)[0] = kAllocBegMagic; in Allocate()
408 reinterpret_cast<uptr *>(alloc_beg)[1] = chunk_beg; in Allocate()
582 AsanChunk *GetAsanChunk(void *alloc_beg) { in GetAsanChunk()
583 if (!alloc_beg) return 0; in GetAsanChunk()
584 if (!allocator.FromPrimary(alloc_beg)) { in GetAsanChunk()
[all …]