Home
last modified time | relevance | path

Searched refs:malloc_usable_size (Results 1 – 25 of 47) 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.cc105 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/
Dsizes.cpp45 size_t size = malloc_usable_size(p); in main()
52 size = malloc_usable_size(p); in main()
Drealloc.cpp27 size = malloc_usable_size(p); in main()
/external/libchrome/base/allocator/
Dallocator_shim_default_dispatch_to_linker_wrapped_symbols.cc75 using MallocUsableSizeFunction = decltype(malloc_usable_size)*; in RealSizeEstimate()
88 return malloc_usable_size(address); in RealSizeEstimate()
Dallocator_shim_default_dispatch_to_glibc.cc59 return malloc_usable_size(address); in GlibcGetSizeEstimate()
/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/compiler-rt/lib/lsan/
Dlsan_interceptors.cc125 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
288 INTERCEPT_FUNCTION(malloc_usable_size); in InitializeInterceptors()
/external/compiler-rt/lib/asan/tests/
Dasan_test.cc414 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/
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_defs.h.in23 * size_t malloc_usable_size(const void *ptr);
Djemalloc_protos.h.in53 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW @je_@malloc_usable_size(
Djemalloc.h350 # define malloc_usable_size je_malloc_usable_size macro
/external/compiler-rt/lib/scudo/
Dscudo_interceptors.cpp67 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
/external/jemalloc/test/integration/
Dallocated.c70 usize = malloc_usable_size(p); in thd_start()
Dposix_memalign.c108 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
Daligned_alloc.c114 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
/external/jemalloc/test/stress/
Dmicrobench.c122 malloc_usable_size(p); in malloc_mus_free()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc143 void malloc_usable_size() { in malloc_usable_size() function
/external/dlmalloc/
Dmalloc.h64 #define dlmalloc_usable_size malloc_usable_size
/external/valgrind/coregrind/
Dm_tooliface.c343 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/
DdeMemory.c196 const size_t oldSize = malloc_usable_size(ptr); in deAlignedRealloc()

12