/bionic/tests/ |
malloc_test.cpp | 31 ASSERT_LE(100U, malloc_usable_size(ptr)); 46 ASSERT_LE(alloc_len, malloc_usable_size(ptr)); 80 ASSERT_LE(100U, malloc_usable_size(ptr)) << "Failed at alignment " << alignment; 116 ASSERT_LE(100U, malloc_usable_size(ptr)); 122 ASSERT_LE(200U, malloc_usable_size(ptr)); 131 ASSERT_LE(300U, malloc_usable_size(ptr)); 139 ASSERT_LE(250U, malloc_usable_size(ptr)); 151 ASSERT_LE(100U, malloc_usable_size(ptr)); 156 ASSERT_LE(200U, malloc_usable_size(ptr)); 167 ASSERT_LE(200U, malloc_usable_size(ptr)) [all...] |
/bionic/libc/include/ |
malloc.h | 36 extern size_t malloc_usable_size(const void* p);
|
/development/ndk/platforms/android-3/include/ |
malloc.h | 36 extern size_t malloc_usable_size(const void*);
|
/development/ndk/platforms/android-L/include/ |
malloc.h | 36 extern size_t malloc_usable_size(const void* p);
|
/external/compiler-rt/lib/asan/ |
asan_malloc_linux.cc | 32 DECLARE_REAL_AND_INTERCEPTOR(uptr, malloc_usable_size, void *mem) 40 uptr (*malloc_usable_size)(void *mem); member in struct:MallocDebug 45 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 121 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
|
/external/jemalloc/include/jemalloc/internal/ |
public_namespace.h | 19 #define je_malloc_usable_size JEMALLOC_N(malloc_usable_size)
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
libc_override_gcc_and_weak.h | 98 size_t malloc_usable_size(const void* p) __THROW 101 size_t malloc_usable_size(void* p) __THROW ALIAS(tc_malloc_size);
|
libc_override_redefine.h | 86 size_t malloc_usable_size(void* p) __THROW { return tc_malloc_size(p); }
|
libc_override_osx.h | 205 size_t malloc_usable_size(void* p) { return tc_malloc_size(p); } function
|
/bionic/libc/bionic/ |
malloc_debug_common.h | 96 MallocDebugMallocUsableSize malloc_usable_size; member in struct:MallocDebug
|
malloc_debug_common.cpp | 71 Malloc(malloc_usable_size), 262 extern "C" size_t malloc_usable_size(const void* mem) { function 263 return __libc_malloc_dispatch->malloc_usable_size(mem); 316 InitMallocFunction<MallocDebugMallocUsableSize>(malloc_impl_handler, &table->malloc_usable_size, prefix, "malloc_usable_size"); 468 (malloc_dispatch_table.malloc_usable_size == NULL) ||
|
malloc_debug_leak.cpp | 226 size_t bytes = g_malloc_dispatch->malloc_usable_size(mem); 232 size_t oldSize = g_malloc_dispatch->malloc_usable_size(mem); 236 size_t newSize = g_malloc_dispatch->malloc_usable_size(newMem); 255 return g_malloc_dispatch->malloc_usable_size(mem); 390 return g_malloc_dispatch->malloc_usable_size(mem); 410 size_t ret = g_malloc_dispatch->malloc_usable_size(header);
|
/external/jemalloc/include/jemalloc/ |
jemalloc_mangle.h | 30 # define malloc_usable_size je_malloc_usable_size macro
|
jemalloc_mangle_jet.h | 30 # define malloc_usable_size jet_malloc_usable_size macro
|
jemalloc_protos.h.in | 36 JEMALLOC_EXPORT size_t @je_@malloc_usable_size(
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
libc_override_gcc_and_weak.h | 90 size_t malloc_usable_size(void* p) __THROW ALIAS(tc_malloc_size);
|
libc_override_redefine.h | 86 size_t malloc_usable_size(void* p) __THROW { return tc_malloc_size(p); }
|
libc_override_osx.h | 205 size_t malloc_usable_size(void* p) { return tc_malloc_size(p); } function
|
/external/jemalloc/test/integration/ |
allocated.c | 69 usize = malloc_usable_size(p);
|
posix_memalign.c | 96 total += malloc_usable_size(ps[i]);
|
aligned_alloc.c | 102 total += malloc_usable_size(ps[i]);
|
/external/compiler-rt/lib/lsan/ |
lsan_interceptors.cc | 130 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { 290 INTERCEPT_FUNCTION(malloc_usable_size);
|
/bionic/libc/upstream-dlmalloc/ |
malloc.h | 64 #define dlmalloc_usable_size malloc_usable_size 508 malloc_usable_size(void* p); 515 programming practice. malloc_usable_size can be more useful in 519 assert(malloc_usable_size(p) >= 256);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_testlib.cc | 141 void malloc_usable_size() { function
|
/external/compiler-rt/lib/asan/tests/ |
asan_test.cc | 403 "AddressSanitizer: attempting to call malloc_usable_size()"; 409 EXPECT_EQ(0U, malloc_usable_size(NULL)); 410 EXPECT_EQ(kArraySize, malloc_usable_size(array)); 411 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); 412 EXPECT_DEATH(malloc_usable_size((void*)0x123), kMallocUsableSizeErrorMsg); 413 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), 416 EXPECT_DEATH(malloc_usable_size(array), kMallocUsableSizeErrorMsg); [all...] |