Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_allocator.cc41 static u32 RZSize2Log(u32 rz_size) { in RZSize2Log() argument
42 CHECK_GE(rz_size, 16); in RZSize2Log()
43 CHECK_LE(rz_size, 2048); in RZSize2Log()
44 CHECK(IsPowerOfTwo(rz_size)); in RZSize2Log()
45 u32 res = Log2(rz_size) - 4; in RZSize2Log()
46 CHECK_EQ(rz_size, RZLog2Size(res)); in RZSize2Log()
343 uptr rz_size = RZLog2Size(rz_log); in Allocate() local
345 uptr needed_size = rounded_size + rz_size; in Allocate()
352 needed_size += rz_size; in Allocate()
390 uptr beg_plus_redzone = alloc_beg + rz_size; in Allocate()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp43 static u32 RZSize2Log(u32 rz_size) { in RZSize2Log() argument
44 CHECK_GE(rz_size, 16); in RZSize2Log()
45 CHECK_LE(rz_size, 2048); in RZSize2Log()
46 CHECK(IsPowerOfTwo(rz_size)); in RZSize2Log()
47 u32 res = Log2(rz_size) - 4; in RZSize2Log()
48 CHECK_EQ(rz_size, RZLog2Size(res)); in RZSize2Log()
511 uptr rz_size = RZLog2Size(rz_log); in Allocate() local
513 uptr needed_size = rounded_size + rz_size; in Allocate()
519 needed_size += rz_size; in Allocate()
561 uptr user_beg = alloc_beg + rz_size; in Allocate()