Searched refs:tracked_safe_allocation (Results 1 – 8 of 8) sorted by relevance
| /xnu-12377.81.4/tests/safe_allocation_src/ |
| H A D | assign.move.cpp | 22 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() 25 tracked_safe_allocation<T> to(20, libkern::allocate_memory); in tests() 28 tracked_safe_allocation<T>& ref = (to = std::move(from)); in tests() 48 tracked_safe_allocation<T> from = nullptr; in tests() 50 tracked_safe_allocation<T> to(20, libkern::allocate_memory); in tests() 53 tracked_safe_allocation<T>& ref = (to = std::move(from)); in tests() 73 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() 76 tracked_safe_allocation<T> to = nullptr; in tests() 79 tracked_safe_allocation<T>& ref = (to = std::move(from)); in tests() 99 tracked_safe_allocation<T> from = nullptr; in tests() [all …]
|
| H A D | swap.cpp | 20 tracked_safe_allocation<T> a(10, libkern::allocate_memory); in tests() 21 tracked_safe_allocation<T> b(20, libkern::allocate_memory); in tests() 38 tracked_safe_allocation<T> a(10, libkern::allocate_memory); in tests() 39 tracked_safe_allocation<T> b = nullptr; in tests() 55 tracked_safe_allocation<T> a = nullptr; in tests() 56 tracked_safe_allocation<T> b(20, libkern::allocate_memory); in tests() 72 tracked_safe_allocation<T> a = nullptr; in tests() 73 tracked_safe_allocation<T> b = nullptr; in tests() 88 tracked_safe_allocation<T> a(10, libkern::allocate_memory); in tests()
|
| H A D | ctor.move.cpp | 22 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() 28 tracked_safe_allocation<T> to(std::move(from)); in tests() 42 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() 48 tracked_safe_allocation<T> to{std::move(from)}; in tests() 62 tracked_safe_allocation<T> from(10, libkern::allocate_memory); in tests() 68 tracked_safe_allocation<T> to = std::move(from); in tests() 84 tracked_safe_allocation<T> from = nullptr; in tests() 88 tracked_safe_allocation<T> to(std::move(from)); in tests()
|
| H A D | assign.nullptr.cpp | 20 tracked_safe_allocation<T> array(10, libkern::allocate_memory); in tests() 23 tracked_safe_allocation<T>& ref = (array = nullptr); in tests() 32 tracked_safe_allocation<T> array = nullptr; in tests() 35 tracked_safe_allocation<T>& ref = (array = nullptr); in tests()
|
| H A D | ctor.allocate.cpp | 30 tracked_safe_allocation<T> array(10, libkern::allocate_memory); in tests() 46 tracked_safe_allocation<T> array(max_n + 1, libkern::allocate_memory); in tests() 62 tracked_safe_allocation<TrackInit> array(10, libkern::allocate_memory);
|
| H A D | dtor.cpp | 28 tracked_safe_allocation<T> array(10, libkern::allocate_memory); in tests() 37 tracked_safe_allocation<T> array = nullptr; in tests()
|
| H A D | ctor.adopt.cpp | 22 tracked_safe_allocation<T> array(memory, 10, libkern::adopt_memory); in tests()
|
| H A D | test_utils.h | 106 using tracked_safe_allocation = libkern::safe_allocation<T, tracking_allocator, assert_trapping_pol… variable
|