Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_allocator.cc36 static u32 RZLog2Size(u32 rz_log) { in RZLog2Size() argument
37 CHECK_LT(rz_log, 8); in RZLog2Size()
38 return 16 << rz_log; in RZLog2Size()
79 u32 rz_log : 3; member
124 return reinterpret_cast<void*>(Beg() - RZLog2Size(rz_log)); in AllocBeg()
285 u32 rz_log = in ComputeRZLog() local
295 return Min(Max(rz_log, RZSize2Log(min_rz)), RZSize2Log(max_rz)); in ComputeRZLog()
342 uptr rz_log = ComputeRZLog(size); in Allocate() local
343 uptr rz_size = RZLog2Size(rz_log); in Allocate()
399 m->rz_log = rz_log; in Allocate()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp38 static u32 RZLog2Size(u32 rz_log) { in RZLog2Size() argument
39 CHECK_LT(rz_log, 8); in RZLog2Size()
40 return 16 << rz_log; in RZLog2Size()
413 u32 rz_log = user_requested_size <= 64 - 16 ? 0 in ComputeRZLog() local
424 return Min(Max(rz_log, Max(min_log, hdr_log)), Max(max_log, hdr_log)); in ComputeRZLog()
510 uptr rz_log = ComputeRZLog(size); in Allocate() local
511 uptr rz_size = RZLog2Size(rz_log); in Allocate()