Lines Matching refs:mid
14 char *mid = beg + capacity; in TestContainer() local
20 old_mid = mid; in TestContainer()
21 mid = beg + size; in TestContainer()
22 __sanitizer_annotate_contiguous_container(beg, end, old_mid, mid); in TestContainer()
28 assert(__sanitizer_verify_contiguous_container(beg, mid, end)); in TestContainer()
30 __sanitizer_contiguous_container_find_bad_address(beg, mid, end)); in TestContainer()
31 if (mid != beg) { in TestContainer()
32 assert(!__sanitizer_verify_contiguous_container(beg, mid - 1, end)); in TestContainer()
33 assert(mid - 1 == __sanitizer_contiguous_container_find_bad_address( in TestContainer()
34 beg, mid - 1, end)); in TestContainer()
36 if (mid != end) { in TestContainer()
37 assert(!__sanitizer_verify_contiguous_container(beg, mid + 1, end)); in TestContainer()
38 assert(mid == __sanitizer_contiguous_container_find_bad_address( in TestContainer()
39 beg, mid + 1, end)); in TestContainer()
44 __sanitizer_annotate_contiguous_container(beg, end, mid, end); in TestContainer()