Home
last modified time | relevance | path

Searched refs:user_alloc_usable_size (Results 1 – 5 of 5) sorted by relevance

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cc45 EXPECT_EQ(10U, user_alloc_usable_size(p)); in TEST()
46 EXPECT_EQ(20U, user_alloc_usable_size(p2)); in TEST()
101 EXPECT_EQ(0U, user_alloc_usable_size(NULL)); in TEST()
102 EXPECT_EQ(10U, user_alloc_usable_size(p)); in TEST()
103 EXPECT_EQ(20U, user_alloc_usable_size(p2)); in TEST()
106 EXPECT_EQ(0U, user_alloc_usable_size((void*)0x4123)); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc206 uptr oldsz = user_alloc_usable_size(p); in user_realloc()
215 uptr user_alloc_usable_size(const void *p) { in user_alloc_usable_size() function
294 return user_alloc_usable_size(p); in __sanitizer_get_allocated_size()
Dtsan_mman.h37 uptr user_alloc_usable_size(const void *p);
Dtsan_malloc_mac.cc51 #define COMMON_MALLOC_SIZE(ptr) uptr size = user_alloc_usable_size(ptr);
Dtsan_interceptors.cc650 return user_alloc_usable_size(p); in TSAN_INTERCEPTOR()