Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_malloc_linux.cpp118 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
175 uptr (*malloc_usable_size)(void *mem); member
183 uptr (*malloc_usable_size)(void *mem); member
193 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
197 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_malloc_linux.cc188 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
247 uptr (*malloc_usable_size)(void *mem); member
255 uptr (*malloc_usable_size)(void *mem); member
265 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
269 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_malloc_linux.cc190 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
249 uptr (*malloc_usable_size)(void *mem); member
257 uptr (*malloc_usable_size)(void *mem); member
267 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
271 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
/netbsd-src/include/
H A Dmalloc.h50 size_t malloc_usable_size(const void *);
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
H A Dasan_test.cc440 EXPECT_EQ(0U, malloc_usable_size(NULL)); in TEST()
441 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST()
442 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST()
443 EXPECT_DEATH(malloc_usable_size((void*)0x123), kMallocUsableSizeErrorMsg); in TEST()
444 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), in TEST()
447 EXPECT_DEATH(malloc_usable_size(array), kMallocUsableSizeErrorMsg); in TEST()
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Djemalloc_shim.h
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_interceptors.cc133 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
138 INTERCEPT_FUNCTION(malloc_usable_size)
/netbsd-src/external/bsd/jemalloc/lib/
H A Djemalloc_stub.c114 malloc_usable_size(const void *p) in malloc_usable_size() function
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan_interceptors.cc131 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
136 INTERCEPT_FUNCTION(malloc_usable_size)
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/lsan/
H A Dlsan_interceptors.cpp157 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
162 INTERCEPT_FUNCTION(malloc_usable_size)
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cc180 void malloc_usable_size() { in malloc_usable_size() function
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_allocation_functions.cpp159 INTERCEPTOR_ALIAS(uptr, malloc_usable_size, const void *ptr);
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/msan/
H A Dmsan_interceptors.cc240 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
244 INTERCEPT_FUNCTION(malloc_usable_size)
/netbsd-src/external/mpl/bind/dist/
H A Dconfig.h.in
H A Dconfigure.ac
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_interceptors.cc723 TSAN_INTERCEPTOR(uptr, malloc_usable_size, void *p) { in TSAN_INTERCEPTOR() argument
724 SCOPED_INTERCEPTOR_RAW(malloc_usable_size, p); in TSAN_INTERCEPTOR()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_interceptors_posix.cpp720 TSAN_INTERCEPTOR(uptr, malloc_usable_size, void *p) { in TSAN_INTERCEPTOR() argument
721 SCOPED_INTERCEPTOR_RAW(malloc_usable_size, p); in TSAN_INTERCEPTOR()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_interceptors.cc734 TSAN_INTERCEPTOR(uptr, malloc_usable_size, void *p) { in TSAN_INTERCEPTOR() argument
735 SCOPED_INTERCEPTOR_RAW(malloc_usable_size, p); in TSAN_INTERCEPTOR()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/
H A Dmsan_test.cc4633 EXPECT_EQ(0U, malloc_usable_size(NULL)); in TEST()
4634 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST()
4635 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST()
/netbsd-src/lib/libc/stdlib/
H A Djemalloc.c3789 malloc_usable_size(const void *ptr) in malloc_usable_size() function
/netbsd-src/external/zlib/pigz/dist/
H A Dpigz.c336 # define MALLOC_SIZE(p) malloc_usable_size(p)
/netbsd-src/external/public-domain/sqlite/dist/
H A Dsqlite3.c26469 # define SQLITE_MALLOCSIZE(x) malloc_usable_size(x)