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.h1129 uptr nearest_chunk = 0; in GetBlockBegin() local
1134 if (p - ch < p - nearest_chunk) in GetBlockBegin()
1135 nearest_chunk = ch; in GetBlockBegin()
1137 if (!nearest_chunk) in GetBlockBegin()
1139 Header *h = reinterpret_cast<Header *>(nearest_chunk); in GetBlockBegin()
1140 CHECK_GE(nearest_chunk, h->map_beg); in GetBlockBegin()
1141 CHECK_LT(nearest_chunk, h->map_beg + h->map_size); in GetBlockBegin()
1142 CHECK_LE(nearest_chunk, p); in GetBlockBegin()