/external/valgrind/massif/tests/ |
D | malloc_usable.c | 14 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/ |
D | malloc_usable.c | 14 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/ |
D | asan_malloc_linux.cc | 99 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument 153 uptr (*malloc_usable_size)(void *mem); member 161 uptr (*malloc_usable_size)(void *mem); member 171 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 175 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
|
/external/jemalloc/include/jemalloc/internal/ |
D | public_symbols.txt | 20 malloc_usable_size:je_malloc_usable_size
|
D | public_namespace.h | 20 #define je_malloc_usable_size JEMALLOC_N(malloc_usable_size)
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 115 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument 275 INTERCEPT_FUNCTION(malloc_usable_size); in InitializeInterceptors()
|
/external/jemalloc/include/jemalloc/ |
D | jemalloc_mangle.h | 31 # define malloc_usable_size je_malloc_usable_size macro
|
D | jemalloc_mangle_jet.h | 31 # define malloc_usable_size jet_malloc_usable_size macro
|
D | jemalloc_defs.h.in | 23 * size_t malloc_usable_size(const void *ptr);
|
D | jemalloc_protos.h.in | 53 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW @je_@malloc_usable_size(
|
D | jemalloc.h | 350 # define malloc_usable_size je_malloc_usable_size macro
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_test.cc | 412 EXPECT_EQ(0U, malloc_usable_size(NULL)); in TEST() 413 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST() 414 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST() 415 EXPECT_DEATH(malloc_usable_size((void*)0x123), kMallocUsableSizeErrorMsg); in TEST() 416 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), in TEST() 419 EXPECT_DEATH(malloc_usable_size(array), kMallocUsableSizeErrorMsg); in TEST()
|
/external/jemalloc/test/integration/ |
D | allocated.c | 69 usize = malloc_usable_size(p); in thd_start()
|
D | posix_memalign.c | 96 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
|
D | aligned_alloc.c | 102 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
|
/external/jemalloc/test/stress/ |
D | microbench.c | 121 malloc_usable_size(p); in malloc_mus_free()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_testlib.cc | 141 void malloc_usable_size() { in malloc_usable_size() function
|
/external/dlmalloc/ |
D | malloc.h | 64 #define dlmalloc_usable_size malloc_usable_size
|
/external/valgrind/coregrind/ |
D | m_tooliface.c | 341 SizeT (*malloc_usable_size) ( ThreadId, void* ), in VG_() 355 VG_(tdict).tool_malloc_usable_size = malloc_usable_size; in VG_()
|
/external/deqp/framework/delibs/debase/ |
D | deMemory.c | 196 const size_t oldSize = malloc_usable_size(ptr); in deAlignedRealloc()
|
/external/valgrind/coregrind/m_replacemalloc/ |
D | vg_replace_malloc.c | 1055 MALLOC_USABLE_SIZE(VG_Z_LIBC_SONAME, malloc_usable_size); 1056 MALLOC_USABLE_SIZE(SO_SYN_MALLOC, malloc_usable_size);
|
/external/valgrind/memcheck/ |
D | mc_include.h | 155 SizeT MC_(malloc_usable_size) ( ThreadId tid, void* p );
|
/external/jemalloc/ |
D | ChangeLog | 283 - Assure that the constness of malloc_usable_size()'s return type matches that 533 - Drop const from malloc_usable_size() argument on Linux. 618 - Check for NULL pointer in malloc_usable_size(). 762 realloc(), malloc_usable_size(), and free(). These functions can be used to
|
D | configure.ac | 397 AC_MSG_CHECKING([whether malloc_usable_size definition can use const argument]) 401 size_t malloc_usable_size(const void *ptr); 517 …llocx sdallocx nallocx mallctl mallctlnametomib mallctlbymib malloc_stats_print malloc_usable_size"
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 242 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument 1540 INTERCEPT_FUNCTION(malloc_usable_size); in InitializeInterceptors()
|