Searched refs:GetBlockBegin (Results 1 - 25 of 33) sorted by relevance

12

/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_allocator_combined.h135 void *GetBlockBegin(const void *p) { function in class:CombinedAllocator
137 return primary_.GetBlockBegin(p);
138 return secondary_.GetBlockBegin(p);
141 // This function does the same as GetBlockBegin, but is much faster.
145 return primary_.GetBlockBegin(p);
H A Dsanitizer_allocator_secondary.h166 return GetBlockBegin(p) != nullptr;
175 // Too slow: CHECK_EQ(p, GetBlockBegin(p));
183 void *GetBlockBegin(const void *ptr) { function in class:LargeMmapAllocator
214 // This function does the same as GetBlockBegin, but is much faster.
H A Dsanitizer_allocator_primary32.h194 void *GetBlockBegin(const void *p) { function in class:SizeClassAllocator32
252 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_combined.h124 void *GetBlockBegin(const void *p) { function in class:CombinedAllocator
126 return primary_.GetBlockBegin(p);
127 return secondary_.GetBlockBegin(p);
130 // This function does the same as GetBlockBegin, but is much faster.
134 return primary_.GetBlockBegin(p);
H A Dsanitizer_allocator_secondary.h162 return GetBlockBegin(p) != nullptr;
171 // Too slow: CHECK_EQ(p, GetBlockBegin(p));
179 void *GetBlockBegin(const void *ptr) { function in class:LargeMmapAllocator
209 // This function does the same as GetBlockBegin, but is much faster.
H A Dsanitizer_allocator_primary32.h192 void *GetBlockBegin(const void *p) { function in class:SizeClassAllocator32
250 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_combined.h129 void *GetBlockBegin(const void *p) { function in class:CombinedAllocator
131 return primary_.GetBlockBegin(p);
132 return secondary_.GetBlockBegin(p);
135 // This function does the same as GetBlockBegin, but is much faster.
139 return primary_.GetBlockBegin(p);
H A Dsanitizer_allocator_secondary.h165 return GetBlockBegin(p) != nullptr;
174 // Too slow: CHECK_EQ(p, GetBlockBegin(p));
182 void *GetBlockBegin(const void *ptr) const { function in class:LargeMmapAllocator
216 // This function does the same as GetBlockBegin, but is much faster.
H A Dsanitizer_allocator_primary32.h206 void *GetBlockBegin(const void *p) { function in class:SizeClassAllocator32
264 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_debugging.cc202 void *block_begin = a->GetBlockBegin((void *)addr);
207 region_address = (uptr)allocator()->GetBlockBegin((void *)addr);
242 void *block_begin = a->GetBlockBegin((void *)addr);
H A Dtsan_external.cc104 void *block_begin = a->GetBlockBegin((void *)addr);
H A Dtsan_mman.cc372 return allocator()->GetBlockBegin(p) != 0;
H A Dtsan_rtl_report.cc331 void *block_begin = a->GetBlockBegin((void*)addr);
338 loc->heap_chunk_start = (uptr)allocator()->GetBlockBegin((void *)addr);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_debugging.cc200 void *block_begin = a->GetBlockBegin((void *)addr);
205 region_address = (uptr)allocator()->GetBlockBegin((void *)addr);
240 void *block_begin = a->GetBlockBegin((void *)addr);
H A Dtsan_external.cc102 void *block_begin = a->GetBlockBegin((void *)addr);
H A Dtsan_mman.cc370 return allocator()->GetBlockBegin(p) != 0;
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_debugging.cpp207 void *block_begin = a->GetBlockBegin((void *)addr);
212 region_address = (uptr)allocator()->GetBlockBegin((void *)addr);
247 void *block_begin = a->GetBlockBegin((void *)addr);
H A Dtsan_external.cpp105 void *block_begin = a->GetBlockBegin((void *)addr);
H A Dtsan_mman.cpp387 return allocator()->GetBlockBegin(p) != 0;
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc224 CHECK_EQ(x, a->GetBlockBegin(x));
225 CHECK_EQ(x, a->GetBlockBegin(x + size - 1));
252 // Check that GetBlockBegin never crashes.
256 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x)));
382 // Make sure we correctly compute GetBlockBegin() w/o overflow.
385 void *beg = a->GetBlockBegin(x);
603 CHECK_EQ(p, a.GetBlockBegin(p));
604 CHECK_EQ(p, a.GetBlockBegin(p + size - 1));
605 CHECK_EQ(p, a.GetBlockBegin(p + size / 2));
614 // Regression test for boundary condition in GetBlockBegin()
[all...]
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_allocator.cpp338 void *block = allocator.GetBlockBegin(reinterpret_cast<void*>(address));
349 const void *beg = allocator.GetBlockBegin(untagged_ptr);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_allocator.cc282 void *chunk = allocator.GetBlockBegin(p);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan_allocator.cc285 void *chunk = allocator.GetBlockBegin(p);
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/lsan/
H A Dlsan_allocator.cpp303 void *chunk = allocator.GetBlockBegin(p);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/msan/
H A Dmsan_allocator.cc249 const void *beg = allocator.GetBlockBegin(p);

Completed in 394 milliseconds

12