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

/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_allocator_secondary.h186 uptr nearest_chunk = 0; local
191 if (p - ch < p - nearest_chunk)
192 nearest_chunk = ch;
194 if (!nearest_chunk)
196 Header *h = reinterpret_cast<Header *>(nearest_chunk);
197 CHECK_GE(nearest_chunk, h->map_beg);
198 CHECK_LT(nearest_chunk, h->map_beg + h->map_size);
199 CHECK_LE(nearest_chunk, p);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_secondary.h182 uptr nearest_chunk = 0; local
187 if (p - ch < p - nearest_chunk)
188 nearest_chunk = ch;
190 if (!nearest_chunk)
192 Header *h = reinterpret_cast<Header *>(nearest_chunk);
193 CHECK_GE(nearest_chunk, h->map_beg);
194 CHECK_LT(nearest_chunk, h->map_beg + h->map_size);
195 CHECK_LE(nearest_chunk, p);
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_secondary.h185 uptr nearest_chunk = 0; local
191 if (p - ch < p - nearest_chunk)
192 nearest_chunk = ch;
194 if (!nearest_chunk)
197 AddressSpaceView::Load(reinterpret_cast<Header *>(nearest_chunk));
198 Header *h_ptr = reinterpret_cast<Header *>(nearest_chunk);
199 CHECK_GE(nearest_chunk, h->map_beg);
200 CHECK_LT(nearest_chunk, h->map_beg + h->map_size);
201 CHECK_LE(nearest_chunk, p);

Completed in 131 milliseconds