Lines Matching refs:ptr
39 test_bounded_ptr<QualT> const ptr(array.begin() + 0, array.begin(), array.end()); in tests() local
40 QualT* raw = ptr.discard_bounds(); in tests()
48 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests() local
49 QualT* raw = ptr.discard_bounds(); in tests()
57 test_bounded_ptr<QualT> const ptr(array.begin() + 2, array.begin(), array.end()); in tests() local
58 QualT* raw = ptr.discard_bounds(); in tests()
66 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests() local
67 QualT* raw = ptr.discard_bounds(); in tests()
76 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin() + 1, array.begin(), array.end()); in tests() local
78 (void)*ptr; in tests()
79 (void)ptr->i; in tests()
89 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests() local
91 (void)ptr.discard_bounds(); in tests()
99 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin(), array.begin() + 1, array.end()); in tests() local
101 (void)ptr.discard_bounds(); in tests()
111 …libkern::bounded_ptr<QualT, tracking_policy> ptr(reinterpret_cast<QualT*>(just_off), array.begin()… in tests() local
114 (void)ptr.discard_bounds(); in tests()