Home
last modified time | relevance | path

Searched refs:tracked_safe_allocation (Results 1 – 8 of 8) sorted by relevance

/xnu-11417.121.6/tests/safe_allocation_src/
H A Dassign.move.cpp22 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 Dswap.cpp20 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 Dctor.move.cpp22 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 Dassign.nullptr.cpp20 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 Dctor.allocate.cpp30 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 Ddtor.cpp28 tracked_safe_allocation<T> array(10, libkern::allocate_memory); in tests()
37 tracked_safe_allocation<T> array = nullptr; in tests()
H A Dctor.adopt.cpp22 tracked_safe_allocation<T> array(memory, 10, libkern::adopt_memory); in tests()
H A Dtest_utils.h106 using tracked_safe_allocation = libkern::safe_allocation<T, tracking_allocator, assert_trapping_pol… variable