Home
last modified time | relevance | path

Searched refs:__sanitizer_get_allocated_size (Results 1 – 12 of 12) sorted by relevance

/external/compiler-rt/lib/asan/tests/
Dasan_interface_test.cc36 EXPECT_EQ(kArraySize, __sanitizer_get_allocated_size(array)); in TEST()
38 EXPECT_EQ(sizeof(int), __sanitizer_get_allocated_size(int_ptr)); in TEST()
44 EXPECT_DEATH(__sanitizer_get_allocated_size(wild_addr), in TEST()
47 EXPECT_DEATH(__sanitizer_get_allocated_size(array + kArraySize / 2), in TEST()
53 EXPECT_EQ(0U, __sanitizer_get_allocated_size(NULL)); in TEST()
59 EXPECT_DEATH(__sanitizer_get_allocated_size(array), in TEST()
69 EXPECT_LT(__sanitizer_get_allocated_size(zero_alloc), 2U); in TEST()
418 EXPECT_EQ(sizes[idx], __sanitizer_get_allocated_size(pointers[idx])); in TEST()
/external/compiler-rt/include/sanitizer/
Dallocator_interface.h32 size_t __sanitizer_get_allocated_size(const volatile void *p);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_interface.h26 __sanitizer_get_allocated_size(const void *p);
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cc123 EXPECT_EQ(10U, __sanitizer_get_allocated_size(p)); in TEST()
/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc249 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc244 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size() function
Dmsan_interceptors.cc246 return __sanitizer_get_allocated_size(ptr); in INTERCEPTOR()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc293 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function
/external/compiler-rt/lib/asan/
Dasan_win_dll_thunk.cc316 INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
Dasan_allocator.cc899 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc3263 EXPECT_EQ(2 * PageSize, __sanitizer_get_allocated_size(p)); in TEST()
3268 EXPECT_EQ(PageSize, __sanitizer_get_allocated_size(p)); in TEST()
4332 EXPECT_EQ(100U, __sanitizer_get_allocated_size(array)); in TEST()
4335 EXPECT_EQ(sizeof(*int_ptr), __sanitizer_get_allocated_size(int_ptr)); in TEST()
4339 EXPECT_EQ(0U, __sanitizer_get_allocated_size(wild_addr)); in TEST()
4342 EXPECT_EQ(0U, __sanitizer_get_allocated_size(array + 50)); in TEST()
4346 EXPECT_EQ(0U, __sanitizer_get_allocated_size(NULL)); in TEST()
4350 EXPECT_EQ(0U, __sanitizer_get_allocated_size(array)); in TEST()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp633 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function