Home
last modified time | relevance | path

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

123

/external/valgrind/main/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/main/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.cc32 DECLARE_REAL_AND_INTERCEPTOR(uptr, malloc_usable_size, void *mem)
40 uptr (*malloc_usable_size)(void *mem); member
45 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
121 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dlibc_override_gcc_and_weak.h98 size_t malloc_usable_size(const void* p) __THROW
101 size_t malloc_usable_size(void* p) __THROW ALIAS(tc_malloc_size);
Dlibc_override_redefine.h86 size_t malloc_usable_size(void* p) __THROW { return tc_malloc_size(p); } in malloc_usable_size() function
Dlibc_override_osx.h205 size_t malloc_usable_size(void* p) { return tc_malloc_size(p); } in malloc_usable_size() function
/external/qemu/android/base/memory/
DMallocUsableSize.h31 # define malloc_usable_size malloc_size macro
DMallocUsableSize_unittest.cpp37 EXPECT_LE(size, ::malloc_usable_size(blocks[n])) in TEST()
/external/jemalloc/include/jemalloc/internal/
Dpublic_symbols.txt19 malloc_usable_size:je_malloc_usable_size
Dpublic_namespace.h19 #define je_malloc_usable_size JEMALLOC_N(malloc_usable_size)
/external/valgrind/main/include/
Dpub_tool_mallocfree.h50 extern SizeT VG_(malloc_usable_size)( void* p );
/external/jemalloc/include/jemalloc/
Djemalloc_defs.h.in14 * size_t malloc_usable_size(const void *ptr);
Djemalloc_mangle_jet.h30 # define malloc_usable_size jet_malloc_usable_size macro
Djemalloc_mangle.h30 # define malloc_usable_size je_malloc_usable_size macro
Djemalloc_protos.h.in36 JEMALLOC_EXPORT size_t @je_@malloc_usable_size(
/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/compiler-rt/lib/lsan/
Dlsan_interceptors.cc130 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
290 INTERCEPT_FUNCTION(malloc_usable_size); in InitializeInterceptors()
/external/jemalloc/test/integration/
Dposix_memalign.c96 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
Dallocated.c69 usize = malloc_usable_size(p); in thd_start()
Daligned_alloc.c102 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dlibc_override_redefine.h86 size_t malloc_usable_size(void* p) __THROW { return tc_malloc_size(p); } in malloc_usable_size() function
Dlibc_override_gcc_and_weak.h90 size_t malloc_usable_size(void* p) __THROW ALIAS(tc_malloc_size);
Dlibc_override_osx.h205 size_t malloc_usable_size(void* p) { return tc_malloc_size(p); } in malloc_usable_size() function
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc141 void malloc_usable_size() { in malloc_usable_size() function
/external/qemu/android/base/containers/
DPodVector.cpp125 size_t usableSize = malloc_usable_size(mBegin); in reserve()

123