Lines Matching refs:ptr

42 		test_bounded_ptr<QualT> const ptr(array.begin() + 0, array.begin(), array.end());  in tests()  local
43 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
51 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests() local
52 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
60 test_bounded_ptr<QualT> const ptr(array.begin() + 2, array.begin(), array.end()); in tests() local
61 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
69 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests() local
70 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
78 test_bounded_ptr<QualT> const ptr(array.end(), array.begin(), array.end()); in tests() local
79 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
87 test_bounded_ptr<QualT> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests() local
88 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
96 test_bounded_ptr<QualT> ptr(array.begin() + 1, array.begin(), array.end()); in tests() local
97 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
105 test_bounded_ptr<QualT> ptr(array.begin(), array.begin() + 1, array.end()); in tests() local
106 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
112 test_bounded_ptr<QualT> const ptr(nullptr, nullptr, nullptr); in tests() local
113 QualT* raw = ptr.unsafe_discard_bounds(); in tests()
130 libkern::bounded_ptr<QualT, tracking_policy> ptr(base, base, base + 1); in tests() local
131 ptr += offset; // now, `base_ + offset_` points outside of representable memory in tests()
134 (void)ptr.unsafe_discard_bounds(); in tests()