/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 | 105 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument 159 uptr (*malloc_usable_size)(void *mem); member 167 uptr (*malloc_usable_size)(void *mem); member 177 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 181 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
|
/external/compiler-rt/test/scudo/ |
D | sizes.cpp | 45 size_t size = malloc_usable_size(p); in main() 52 size = malloc_usable_size(p); in main()
|
D | realloc.cpp | 27 size = malloc_usable_size(p); in main()
|
/external/libchrome/base/allocator/ |
D | allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc | 75 using MallocUsableSizeFunction = decltype(malloc_usable_size)*; in RealSizeEstimate() 88 return malloc_usable_size(address); in RealSizeEstimate()
|
D | allocator_shim_default_dispatch_to_glibc.cc | 59 return malloc_usable_size(address); in GlibcGetSizeEstimate()
|
/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 | 125 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument 288 INTERCEPT_FUNCTION(malloc_usable_size); in InitializeInterceptors()
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_test.cc | 414 EXPECT_EQ(0U, malloc_usable_size(NULL)); in TEST() 415 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST() 416 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST() 417 EXPECT_DEATH(malloc_usable_size((void*)0x123), kMallocUsableSizeErrorMsg); in TEST() 418 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), in TEST() 421 EXPECT_DEATH(malloc_usable_size(array), kMallocUsableSizeErrorMsg); in TEST()
|
/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/scudo/ |
D | scudo_interceptors.cpp | 67 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
|
/external/jemalloc/test/integration/ |
D | allocated.c | 70 usize = malloc_usable_size(p); in thd_start()
|
D | posix_memalign.c | 108 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
|
D | aligned_alloc.c | 114 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
|
/external/jemalloc/test/stress/ |
D | microbench.c | 122 malloc_usable_size(p); in malloc_mus_free()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_testlib.cc | 143 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 | 343 SizeT (*malloc_usable_size) ( ThreadId, void* ), in VG_() 357 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()
|