Searched refs:__sanitizer_get_ownership (Results 1 – 11 of 11) sorted by relevance
35 EXPECT_EQ(true, __sanitizer_get_ownership(array)); in TEST()37 EXPECT_EQ(true, __sanitizer_get_ownership(int_ptr)); in TEST()43 EXPECT_FALSE(__sanitizer_get_ownership(wild_addr)); in TEST()46 EXPECT_FALSE(__sanitizer_get_ownership(array + kArraySize / 2)); in TEST()52 EXPECT_FALSE(__sanitizer_get_ownership(NULL)); in TEST()58 EXPECT_FALSE(__sanitizer_get_ownership(array)); in TEST()67 EXPECT_TRUE(__sanitizer_get_ownership(zero_alloc)); in TEST()424 EXPECT_FALSE(__sanitizer_get_ownership(&pointers)); in TEST()425 EXPECT_FALSE(__sanitizer_get_ownership((void*)0x1234)); in TEST()427 EXPECT_TRUE(__sanitizer_get_ownership(pointers[idx])); in TEST()
16 if (__sanitizer_get_ownership(ptr)) { in __sanitizer_malloc_hook()22 if (__sanitizer_get_ownership(ptr) && ptr == global_ptr) in __sanitizer_free_hook()
28 int __sanitizer_get_ownership(const volatile void *p);
24 SANITIZER_INTERFACE_ATTRIBUTE int __sanitizer_get_ownership(const void *p);
122 EXPECT_TRUE(__sanitizer_get_ownership(p)); in TEST()
244 int __sanitizer_get_ownership(const void *p) { return Metadata(p) != 0; } in __sanitizer_get_ownership() function
212 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
225 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership() function
313 INTERFACE_FUNCTION(__sanitizer_get_ownership)
879 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
4221 EXPECT_TRUE(__sanitizer_get_ownership(array)); in TEST()4224 EXPECT_TRUE(__sanitizer_get_ownership(int_ptr)); in TEST()4228 EXPECT_FALSE(__sanitizer_get_ownership(wild_addr)); in TEST()4231 EXPECT_FALSE(__sanitizer_get_ownership(array + 50)); in TEST()4235 EXPECT_FALSE(__sanitizer_get_ownership(NULL)); in TEST()4239 EXPECT_FALSE(__sanitizer_get_ownership(array)); in TEST()