Searched refs:__sanitizer_get_ownership (Results 1 – 12 of 12) 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()414 EXPECT_FALSE(__sanitizer_get_ownership(&pointers)); in TEST()415 EXPECT_FALSE(__sanitizer_get_ownership((void*)0x1234)); in TEST()417 EXPECT_TRUE(__sanitizer_get_ownership(pointers[idx])); in TEST()
18 if (__sanitizer_get_ownership(ptr) && sz == 4) { in __sanitizer_malloc_hook()24 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()
246 int __sanitizer_get_ownership(const void *p) { return Metadata(p) != nullptr; } in __sanitizer_get_ownership() function
242 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership() function
289 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
323 INTERFACE_FUNCTION(__sanitizer_get_ownership)
894 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
629 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
4331 EXPECT_TRUE(__sanitizer_get_ownership(array)); in TEST()4334 EXPECT_TRUE(__sanitizer_get_ownership(int_ptr)); in TEST()4338 EXPECT_FALSE(__sanitizer_get_ownership(wild_addr)); in TEST()4341 EXPECT_FALSE(__sanitizer_get_ownership(array + 50)); in TEST()4345 EXPECT_FALSE(__sanitizer_get_ownership(NULL)); in TEST()4349 EXPECT_FALSE(__sanitizer_get_ownership(array)); in TEST()