| /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/libchrome/base/allocator/ |
| D | allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc | 14 size_t malloc_usable_size(const void*); 78 using MallocUsableSizeFunction = decltype(malloc_usable_size)*; in RealSizeEstimate() 91 return malloc_usable_size(address); in RealSizeEstimate()
|
| D | allocator_shim_default_dispatch_to_glibc.cc | 59 return malloc_usable_size(address); in GlibcGetSizeEstimate()
|
| /external/scudo/standalone/tests/ |
| D | wrappers_c_test.cpp | 159 EXPECT_LE(Size, malloc_usable_size(P)); in TEST_F() 192 EXPECT_LE(Size, malloc_usable_size(P)); in TEST_F() 247 EXPECT_LE(Size, malloc_usable_size(P)); in TEST_F() 257 EXPECT_LE(Size, malloc_usable_size(P)); in TEST_F() 286 EXPECT_LE(Alignment * 4U, malloc_usable_size(P)); in TEST_F() 318 EXPECT_LE(Size, malloc_usable_size(P)); in TEST_F() 325 EXPECT_LE(Size * 2U, malloc_usable_size(P)); in TEST_F() 342 EXPECT_LE(Size / 2U, malloc_usable_size(P)); in TEST_F() 372 EXPECT_LE(Size, malloc_usable_size(P)); in TEST_F() 378 EXPECT_LE(Size * 2U, malloc_usable_size(P)); in TEST_F() [all …]
|
| /external/libwebsockets/lib/core/ |
| D | alloc.c | 127 allocated -= malloc_usable_size(ptr); in _realloc() 136 allocated += malloc_usable_size(v); in _realloc() 142 allocated -= malloc_usable_size(ptr); in _realloc()
|
| /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/skia/src/ports/ |
| D | SkMemory_malloc.cpp | 127 completeSize = malloc_usable_size(addr); in sk_malloc_size() 130 completeSize = malloc_usable_size(addr); in sk_malloc_size()
|
| /external/musl/src/malloc/oldmalloc/ |
| D | malloc_usable_size.c | 6 size_t malloc_usable_size(void *p) in malloc_usable_size() function
|
| /external/trusty/musl/src/malloc/ |
| D | malloc_usable_size.c | 6 size_t malloc_usable_size(void *p) in malloc_usable_size() function
|
| /external/trusty/musl/include/ |
| D | malloc.h | 19 size_t malloc_usable_size(void *);
|
| /external/musl/src/malloc/mallocng/ |
| D | malloc_usable_size.c | 4 size_t malloc_usable_size(void *p) in malloc_usable_size() function
|
| /external/trusty/musl/ |
| D | dynamic.list | 16 malloc_usable_size;
|
| /external/musl/ |
| D | dynamic.list | 16 malloc_usable_size;
|
| /external/musl/include/ |
| D | malloc.h | 19 size_t malloc_usable_size(void *);
|
| /external/jemalloc_new/include/jemalloc/internal/ |
| D | public_namespace.h | 12 #define je_malloc_usable_size JEMALLOC_N(malloc_usable_size)
|
| /external/jemalloc_new/include/jemalloc/ |
| D | jemalloc_mangle.h | 23 # define malloc_usable_size je_malloc_usable_size macro
|
| D | jemalloc_rename.h | 42 # define je_malloc_usable_size malloc_usable_size
|
| D | jemalloc_mangle_jet.h | 23 # define malloc_usable_size jet_malloc_usable_size macro
|
| D | jemalloc_defs.h.in | 23 * size_t malloc_usable_size(const void *ptr);
|
| /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/scudo/ |
| D | scudo_interceptors.cpp | 67 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
|
| /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/rust/android-crates-io/crates/tikv-jemallocator/tests/ |
| D | ffi.rs | 20 assert_eq!(exp_size, ffi::malloc_usable_size(ptr)); in test_basic_alloc()
|
| /external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/shim/ |
| D | allocator_shim_override_libc_symbols.h | 83 SHIM_ALWAYS_EXPORT size_t malloc_usable_size(void* address) __THROW { in malloc_usable_size() function
|