/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | wrappers_c_test.cpp | 43 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 62 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 93 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 100 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 123 EXPECT_LE(Alignment * 4U, malloc_usable_size(P)); in TEST() 146 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 151 EXPECT_LE(Size * 2U, malloc_usable_size(P)); in TEST() 157 EXPECT_LE(Size / 2U, malloc_usable_size(P)); in TEST() 179 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 185 EXPECT_LE(Size * 2U, malloc_usable_size(P)); in TEST() [all …]
|
/external/scudo/standalone/tests/ |
D | wrappers_c_test.cpp | 43 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 73 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 116 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 123 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 146 EXPECT_LE(Alignment * 4U, malloc_usable_size(P)); in TEST() 169 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 174 EXPECT_LE(Size * 2U, malloc_usable_size(P)); in TEST() 180 EXPECT_LE(Size / 2U, malloc_usable_size(P)); in TEST() 202 EXPECT_LE(Size, malloc_usable_size(P)); in TEST() 208 EXPECT_LE(Size * 2U, malloc_usable_size(P)); in TEST() [all …]
|
/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/libwebsockets/lib/core/ |
D | alloc.c | 103 allocated -= malloc_usable_size(ptr); in _realloc() 112 allocated += malloc_usable_size(v); in _realloc() 118 allocated -= malloc_usable_size(ptr); in _realloc()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cpp | 197 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument 256 uptr (*malloc_usable_size)(void *mem); member 264 uptr (*malloc_usable_size)(void *mem); member 274 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 278 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
|
/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/llvm-project/compiler-rt/test/scudo/ |
D | valloc.c | 41 assert(malloc_usable_size(p) >= round_up_to(size, page_size)); in main() 50 assert(malloc_usable_size(p) >= round_up_to(size, page_size)); in main()
|
/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_mangle_jet.h | 23 # define malloc_usable_size jet_malloc_usable_size macro
|
D | jemalloc_rename.h | 42 # define je_malloc_usable_size malloc_usable_size
|
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/llvm-project/compiler-rt/lib/scudo/ |
D | scudo_malloc.cpp | 74 INTERCEPTOR_ATTRIBUTE size_t malloc_usable_size(void *ptr) { in malloc_usable_size() function
|
/external/compiler-rt/lib/scudo/ |
D | scudo_interceptors.cpp | 67 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() argument
|
/external/llvm-project/compiler-rt/lib/asan/tests/ |
D | asan_test.cpp | 439 EXPECT_EQ(0U, malloc_usable_size(NULL)); in TEST() 440 EXPECT_EQ(kArraySize, malloc_usable_size(array)); in TEST() 441 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST() 442 EXPECT_DEATH(malloc_usable_size((void*)0x123), kMallocUsableSizeErrorMsg); in TEST() 443 EXPECT_DEATH(malloc_usable_size(array + kArraySize / 2), in TEST() 446 EXPECT_DEATH(malloc_usable_size(array), kMallocUsableSizeErrorMsg); in TEST()
|
/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/jemalloc_new/test/integration/ |
D | posix_memalign.c | 103 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
|
D | allocated.c | 73 usize = malloc_usable_size(p); in thd_start()
|
D | aligned_alloc.c | 109 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
|
/external/jemalloc_new/test/stress/ |
D | microbench.c | 111 malloc_usable_size(p); in malloc_mus_free()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_testlib.cc | 143 void malloc_usable_size() { in malloc_usable_size() function
|