Lines Matching refs:from
40 test_bounded_ptr<From> from(array.begin() + 2, array.begin(), array.end()); in tests() local
41 test_bounded_ptr<To> to = libkern::reinterpret_pointer_cast<To>(from); in tests()
42 _assert(to.discard_bounds() == reinterpret_cast<To const*>(from.discard_bounds())); in tests()
46 test_bounded_ptr<From> from(array.begin() + 2, array.begin(), array.end()); in tests() local
47 test_bounded_ptr<To> to = libkern::reinterpret_pointer_cast<To>(from); in tests()
48 _assert(to.discard_bounds() == reinterpret_cast<To const volatile*>(from.discard_bounds())); in tests()
53 test_bounded_ptr<From> from(nullptr, nullptr, nullptr); in tests() local
54 test_bounded_ptr<To> to = libkern::reinterpret_pointer_cast<To>(from); in tests()
60 libkern::bounded_ptr<From, non_default_policy> from(array.begin(), array.begin(), array.end()); in tests() local
61 libkern::bounded_ptr<To, non_default_policy> to = libkern::reinterpret_pointer_cast<To>(from); in tests()
62 _assert(to.discard_bounds() == reinterpret_cast<To const*>(from.discard_bounds())); in tests()