Lines Matching refs:from
24 tracked_shared_ptr<From> const from(&obj, libkern::no_retain); in tests() local
26 tracked_shared_ptr<To> to = libkern::const_pointer_cast<To>(from); in tests()
30 CHECK(from.get() == &obj); in tests()
33 tracked_shared_ptr<From> from(&obj, libkern::no_retain); in tests() local
35 tracked_shared_ptr<To> to = libkern::const_pointer_cast<To>(std::move(from)); in tests()
39 CHECK(from.get() == nullptr); in tests()
44 tracked_shared_ptr<From> const from = nullptr; in tests() local
46 tracked_shared_ptr<To> to = libkern::const_pointer_cast<To>(from); in tests()
50 CHECK(from.get() == nullptr); in tests()
53 tracked_shared_ptr<From> from = nullptr; in tests() local
55 tracked_shared_ptr<To> to = libkern::const_pointer_cast<To>(std::move(from)); in tests()
59 CHECK(from.get() == nullptr); in tests()