Lines Matching refs:arr
248 char *arr = Ident((char*)malloc(kSize));
254 __asan_unpoison_memory_region(arr, kSize);
255 __asan_poison_memory_region(arr + l1, s1);
256 __asan_poison_memory_region(arr + l2, s2);
263 ASSERT_EQ(expected[i], __asan_address_is_poisoned(arr + i));
266 __asan_poison_memory_region(arr, kSize);
267 __asan_unpoison_memory_region(arr + l1, s1);
268 __asan_unpoison_memory_region(arr + l2, s2);
275 ASSERT_EQ(expected[i], __asan_address_is_poisoned(arr + i));
281 free(arr);