Home
last modified time | relevance | path

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

12

/external/valgrind/massif/tests/
Dmalloc_usable.c14 assert(104 == malloc_usable_size(x) || in main()
15 112 == malloc_usable_size(x)); in main()
16 assert( 0 == malloc_usable_size(NULL)); in main()
17 assert( 0 == malloc_usable_size((void*)0xdeadbeef)); in main()
/external/valgrind/memcheck/tests/
Dmalloc_usable.c14 assert(99 == malloc_usable_size(x)); in main()
15 assert( 0 == malloc_usable_size(NULL)); in main()
16 assert( 0 == malloc_usable_size((void*)0xdeadbeef)); in main()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc82 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
136 uptr (*malloc_usable_size)(void *mem); member
144 uptr (*malloc_usable_size)(void *mem); member
154 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
158 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
/external/jemalloc/include/jemalloc/internal/
Dpublic_symbols.txt20 malloc_usable_size:je_malloc_usable_size
Dpublic_namespace.h20 #define je_malloc_usable_size JEMALLOC_N(malloc_usable_size)
/external/jemalloc/include/jemalloc/
Djemalloc_defs.h.in14 * size_t malloc_usable_size(const void *ptr);
Djemalloc_mangle.h31 # define malloc_usable_size je_malloc_usable_size macro
Djemalloc_mangle_jet.h31 # define malloc_usable_size jet_malloc_usable_size macro
Djemalloc_protos.h.in40 JEMALLOC_EXPORT size_t @je_@malloc_usable_size(
Djemalloc.h210 # define malloc_usable_size je_malloc_usable_size macro
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc115 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
275 INTERCEPT_FUNCTION(malloc_usable_size); in InitializeInterceptors()
/external/compiler-rt/lib/asan/tests/
Dasan_test.cc409 EXPECT_EQ(0U, malloc_usable_size(NULL)); in TEST()
410 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST()
411 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST()
412 EXPECT_DEATH(malloc_usable_size((void*)0x123), kMallocUsableSizeErrorMsg); in TEST()
413 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), in TEST()
416 EXPECT_DEATH(malloc_usable_size(array), kMallocUsableSizeErrorMsg); in TEST()
/external/jemalloc/test/integration/
Dallocated.c69 usize = malloc_usable_size(p); in thd_start()
Dposix_memalign.c96 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
Daligned_alloc.c102 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
/external/jemalloc/test/stress/
Dmicrobench.c121 malloc_usable_size(p); in malloc_mus_free()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc141 void malloc_usable_size() { in malloc_usable_size() function
/external/valgrind/coregrind/
Dm_tooliface.c341 SizeT (*malloc_usable_size) ( ThreadId, void* ), in VG_()
355 VG_(tdict).tool_malloc_usable_size = malloc_usable_size; in VG_()
/external/valgrind/coregrind/m_replacemalloc/
Dvg_replace_malloc.c946 MALLOC_USABLE_SIZE(VG_Z_LIBC_SONAME, malloc_usable_size);
947 MALLOC_USABLE_SIZE(SO_SYN_MALLOC, malloc_usable_size);
/external/jemalloc/
DChangeLog120 - Assure that the constness of malloc_usable_size()'s return type matches that
365 - Drop const from malloc_usable_size() argument on Linux.
450 - Check for NULL pointer in malloc_usable_size().
594 realloc(), malloc_usable_size(), and free(). These functions can be used to
Dconfigure.ac365 AC_MSG_CHECKING([whether malloc_usable_size definition can use const argument])
369 size_t malloc_usable_size(const void *ptr);
455 …llocx sdallocx nallocx mallctl mallctlnametomib mallctlbymib malloc_stats_print malloc_usable_size"
/external/valgrind/memcheck/
Dmc_include.h155 SizeT MC_(malloc_usable_size) ( ThreadId tid, void* p );
Dmc_malloc_wrappers.c626 SizeT MC_(malloc_usable_size) ( ThreadId tid, void* p ) in MC_() argument
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc242 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
1487 INTERCEPT_FUNCTION(malloc_usable_size); in InitializeInterceptors()
/external/valgrind/docs/internals/
D3_0_BUGSTATUS.txt615 Fixed broken malloc_usable_size()

12