/external/compiler-rt/lib/asan/tests/ |
D | asan_interface_test.cc | 36 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/llvm-project/compiler-rt/lib/asan/tests/ |
D | asan_interface_test.cpp | 37 EXPECT_EQ(kArraySize, __sanitizer_get_allocated_size(array)); in TEST() 39 EXPECT_EQ(sizeof(int), __sanitizer_get_allocated_size(int_ptr)); in TEST() 45 EXPECT_DEATH(__sanitizer_get_allocated_size(wild_addr), in TEST() 48 EXPECT_DEATH(__sanitizer_get_allocated_size(array + kArraySize / 2), in TEST() 54 EXPECT_EQ(0U, __sanitizer_get_allocated_size(NULL)); in TEST() 60 EXPECT_DEATH(__sanitizer_get_allocated_size(array), in TEST() 70 EXPECT_LT(__sanitizer_get_allocated_size(zero_alloc), 2U); in TEST() 408 EXPECT_EQ(sizes[idx], __sanitizer_get_allocated_size(pointers[idx])); in TEST()
|
/external/llvm-project/compiler-rt/test/scudo/ |
D | sizes.cpp | 57 size_t size = __sanitizer_get_allocated_size(p); in main() 62 size = __sanitizer_get_allocated_size(p); in main()
|
D | realloc.cpp | 40 usable_size = __sanitizer_get_allocated_size(p); in main() 61 size = __sanitizer_get_allocated_size(p); in main()
|
D | interface.cpp | 40 assert(__sanitizer_get_allocated_size(p) >= size); in main()
|
/external/llvm-project/compiler-rt/test/hwasan/TestCases/ |
D | sizes.cpp | 72 size_t size = __sanitizer_get_allocated_size(p); in main() 77 size = __sanitizer_get_allocated_size(p); in main()
|
D | malloc-test.c | 14 assert(__sanitizer_get_allocated_size(a1) == 0); in main()
|
D | new-test.cpp | 16 assert(__sanitizer_get_allocated_size(a1) == 0); in main()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/ |
D | global-address.cpp | 11 return (int)__sanitizer_get_allocated_size(&g_i); in main()
|
/external/llvm-project/compiler-rt/test/memprof/TestCases/ |
D | interface_test.cpp | 17 __sanitizer_get_allocated_size(p); in main()
|
/external/compiler-rt/include/sanitizer/ |
D | allocator_interface.h | 32 size_t __sanitizer_get_allocated_size(const volatile void *p);
|
/external/llvm-project/compiler-rt/include/sanitizer/ |
D | allocator_interface.h | 31 size_t __sanitizer_get_allocated_size(const volatile void *p);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator_interface.h | 26 __sanitizer_get_allocated_size(const void *p);
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator_interface.h | 25 __sanitizer_get_allocated_size(const void *p);
|
D | sanitizer_common_interface.inc | 31 INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
|
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mman_test.cpp | 124 EXPECT_EQ(10U, __sanitizer_get_allocated_size(p)); in TEST() 153 EXPECT_EQ(page_size, __sanitizer_get_allocated_size(p)); in TEST()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mman_test.cc | 123 EXPECT_EQ(10U, __sanitizer_get_allocated_size(p)); in TEST()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_allocator.cc | 249 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function
|
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 244 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size() function
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_interceptors.cpp | 120 return __sanitizer_get_allocated_size(ptr); in __sanitizer_malloc_usable_size()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mman.cc | 293 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function
|
/external/compiler-rt/lib/asan/ |
D | asan_win_dll_thunk.cc | 316 INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_allocator.cpp | 344 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function
|
/external/llvm-project/compiler-rt/lib/msan/ |
D | msan_allocator.cpp | 370 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size() function
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_mman.cpp | 393 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function
|