Home
last modified time | relevance | path

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

1234

/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/libchrome/base/allocator/
Dallocator_shim_default_dispatch_to_linker_wrapped_symbols.cc14 size_t malloc_usable_size(const void*);
78 using MallocUsableSizeFunction = decltype(malloc_usable_size)*; in RealSizeEstimate()
91 return malloc_usable_size(address); in RealSizeEstimate()
Dallocator_shim_default_dispatch_to_glibc.cc59 return malloc_usable_size(address); in GlibcGetSizeEstimate()
/external/scudo/standalone/tests/
Dwrappers_c_test.cpp159 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/
Dalloc.c127 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/
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/skia/src/ports/
DSkMemory_malloc.cpp127 completeSize = malloc_usable_size(addr); in sk_malloc_size()
130 completeSize = malloc_usable_size(addr); in sk_malloc_size()
/external/musl/src/malloc/oldmalloc/
Dmalloc_usable_size.c6 size_t malloc_usable_size(void *p) in malloc_usable_size() function
/external/trusty/musl/src/malloc/
Dmalloc_usable_size.c6 size_t malloc_usable_size(void *p) in malloc_usable_size() function
/external/trusty/musl/include/
Dmalloc.h19 size_t malloc_usable_size(void *);
/external/musl/src/malloc/mallocng/
Dmalloc_usable_size.c4 size_t malloc_usable_size(void *p) in malloc_usable_size() function
/external/trusty/musl/
Ddynamic.list16 malloc_usable_size;
/external/musl/
Ddynamic.list16 malloc_usable_size;
/external/musl/include/
Dmalloc.h19 size_t malloc_usable_size(void *);
/external/jemalloc_new/include/jemalloc/internal/
Dpublic_namespace.h12 #define je_malloc_usable_size JEMALLOC_N(malloc_usable_size)
/external/jemalloc_new/include/jemalloc/
Djemalloc_mangle.h23 # define malloc_usable_size je_malloc_usable_size macro
Djemalloc_rename.h42 # define je_malloc_usable_size malloc_usable_size
Djemalloc_mangle_jet.h23 # define malloc_usable_size jet_malloc_usable_size macro
Djemalloc_defs.h.in23 * size_t malloc_usable_size(const void *ptr);
/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/scudo/
Dscudo_interceptors.cpp67 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
/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/rust/android-crates-io/crates/tikv-jemallocator/tests/
Dffi.rs20 assert_eq!(exp_size, ffi::malloc_usable_size(ptr)); in test_basic_alloc()
/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/shim/
Dallocator_shim_override_libc_symbols.h83 SHIM_ALWAYS_EXPORT size_t malloc_usable_size(void* address) __THROW { in malloc_usable_size() function

1234