Searched refs:user_alloc_usable_size (Results 1 – 5 of 5) sorted by relevance
45 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()
206 uptr oldsz = user_alloc_usable_size(p); in user_realloc()215 uptr user_alloc_usable_size(const void *p) { in user_alloc_usable_size() function294 return user_alloc_usable_size(p); in __sanitizer_get_allocated_size()
37 uptr user_alloc_usable_size(const void *p);
51 #define COMMON_MALLOC_SIZE(ptr) uptr size = user_alloc_usable_size(ptr);
650 return user_alloc_usable_size(p); in TSAN_INTERCEPTOR()