Lines Matching refs:from
22 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() local
23 T* memory = from.data(); in tests()
28 tracked_safe_allocation<T>& ref = (to = std::move(from)); in tests()
32 CHECK(from.data() == nullptr); in tests()
33 CHECK(from.size() == 0); in tests()
48 tracked_safe_allocation<T> from = nullptr; in tests() local
53 tracked_safe_allocation<T>& ref = (to = std::move(from)); in tests()
57 CHECK(from.data() == nullptr); in tests()
58 CHECK(from.size() == 0); in tests()
73 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() local
74 T* memory = from.data(); in tests()
79 tracked_safe_allocation<T>& ref = (to = std::move(from)); in tests()
83 CHECK(from.data() == nullptr); in tests()
84 CHECK(from.size() == 0); in tests()
99 tracked_safe_allocation<T> from = nullptr; in tests() local
104 tracked_safe_allocation<T>& ref = (to = std::move(from)); in tests()
108 CHECK(from.data() == nullptr); in tests()
109 CHECK(from.size() == 0); in tests()