Home
last modified time | relevance | path

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

12

/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/llvm-project/compiler-rt/lib/asan/tests/
Dasan_interface_test.cpp37 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/
Dsizes.cpp57 size_t size = __sanitizer_get_allocated_size(p); in main()
62 size = __sanitizer_get_allocated_size(p); in main()
Drealloc.cpp40 usable_size = __sanitizer_get_allocated_size(p); in main()
61 size = __sanitizer_get_allocated_size(p); in main()
Dinterface.cpp40 assert(__sanitizer_get_allocated_size(p) >= size); in main()
/external/llvm-project/compiler-rt/test/hwasan/TestCases/
Dsizes.cpp72 size_t size = __sanitizer_get_allocated_size(p); in main()
77 size = __sanitizer_get_allocated_size(p); in main()
Dmalloc-test.c14 assert(__sanitizer_get_allocated_size(a1) == 0); in main()
Dnew-test.cpp16 assert(__sanitizer_get_allocated_size(a1) == 0); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/
Dglobal-address.cpp11 return (int)__sanitizer_get_allocated_size(&g_i); in main()
/external/llvm-project/compiler-rt/test/memprof/TestCases/
Dinterface_test.cpp17 __sanitizer_get_allocated_size(p); in main()
/external/compiler-rt/include/sanitizer/
Dallocator_interface.h32 size_t __sanitizer_get_allocated_size(const volatile void *p);
/external/llvm-project/compiler-rt/include/sanitizer/
Dallocator_interface.h31 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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_interface.h25 __sanitizer_get_allocated_size(const void *p);
Dsanitizer_common_interface.inc31 INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cpp124 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/
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
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_interceptors.cpp120 return __sanitizer_get_allocated_size(ptr); in __sanitizer_malloc_usable_size()
/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)
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_allocator.cpp344 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_allocator.cpp370 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/
Dtsan_mman.cpp393 uptr __sanitizer_get_allocated_size(const void *p) { in __sanitizer_get_allocated_size() function

12