Lines Matching refs:from
22 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() local
25 T* memory = from.data(); in tests()
28 tracked_safe_allocation<T> to(std::move(from)); in tests()
32 CHECK(from.data() == nullptr); in tests()
33 CHECK(from.size() == 0); in tests()
42 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() local
45 T* memory = from.data(); in tests()
48 tracked_safe_allocation<T> to{std::move(from)}; in tests()
52 CHECK(from.data() == nullptr); in tests()
53 CHECK(from.size() == 0); in tests()
62 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() local
65 T* memory = from.data(); in tests()
68 tracked_safe_allocation<T> to = std::move(from); in tests()
72 CHECK(from.data() == nullptr); in tests()
73 CHECK(from.size() == 0); in tests()
84 tracked_safe_allocation<T> from = nullptr; in tests() local
88 tracked_safe_allocation<T> to(std::move(from)); in tests()
92 CHECK(from.data() == nullptr); in tests()
93 CHECK(from.size() == 0); in tests()