Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h1153 uptr nearest_chunk = 0; in GetBlockBegin() local
1158 if (p - ch < p - nearest_chunk) in GetBlockBegin()
1159 nearest_chunk = ch; in GetBlockBegin()
1161 if (!nearest_chunk) in GetBlockBegin()
1163 Header *h = reinterpret_cast<Header *>(nearest_chunk); in GetBlockBegin()
1164 CHECK_GE(nearest_chunk, h->map_beg); in GetBlockBegin()
1165 CHECK_LT(nearest_chunk, h->map_beg + h->map_size); in GetBlockBegin()
1166 CHECK_LE(nearest_chunk, p); in GetBlockBegin()