/src/include/ |
malloc.h | 50 size_t malloc_usable_size(const void *);
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_malloc_linux.cc | 190 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { 249 uptr (*malloc_usable_size)(void *mem); member in struct:MallocDebugK 257 uptr (*malloc_usable_size)(void *mem); member in struct:MallocDebugL 267 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 271 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_allocator_testlib.cc | 180 void malloc_usable_size() { function in typeref:typename:void
|
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
lsan_interceptors.cc | 133 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { 138 INTERCEPT_FUNCTION(malloc_usable_size)
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
asan_test.cc | 434 "AddressSanitizer: attempting to call malloc_usable_size()"; 440 EXPECT_EQ(0U, malloc_usable_size(NULL)); 441 EXPECT_EQ(kArraySize, malloc_usable_size(array)); 442 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); 443 EXPECT_DEATH(malloc_usable_size((void*)0x123), kMallocUsableSizeErrorMsg); 444 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), 447 EXPECT_DEATH(malloc_usable_size(array), kMallocUsableSizeErrorMsg);
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
msan_interceptors.cc | 240 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { 244 INTERCEPT_FUNCTION(malloc_usable_size)
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/ |
msan_test.cc | 4633 EXPECT_EQ(0U, malloc_usable_size(NULL)); 4634 EXPECT_EQ(kArraySize, malloc_usable_size(array)); 4635 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr));
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_interceptors.cc | 734 TSAN_INTERCEPTOR(uptr, malloc_usable_size, void *p) { 735 SCOPED_INTERCEPTOR_RAW(malloc_usable_size, p);
|
/src/lib/libc/stdlib/ |
jemalloc.c | 3789 malloc_usable_size(const void *ptr) function in typeref:typename:size_t
|