Lines Matching refs:unique_free_ptr
9 #include <fbl/unique_free_ptr.h>
12 static_assert(fbl::is_standard_layout<fbl::unique_free_ptr<int>>::value,
13 "fbl::unique_free_ptr<int>'s should have a standard layout");
15 // These tests mostly serve to exercise the unique_free_ptr type and work well with heap checkers as
22 fbl::unique_free_ptr<int> ptr(static_cast<int*>(malloc(sizeof(int))));
24 fbl::unique_free_ptr<int> ptr2 = fbl::move(ptr);
37 fbl::unique_free_ptr<int> ptr(nullptr);
51 fbl::unique_free_ptr<int> ptr1(static_cast<int*>(malloc(sizeof(int))));
54 fbl::unique_free_ptr<int> ptr2(static_cast<int*>(malloc(sizeof(int))));
70 fbl::unique_free_ptr<int> foo(static_cast<int*>(malloc(sizeof(int))));
83 fbl::unique_free_ptr<int> null_unique;
84 fbl::unique_free_ptr<int> lesser_unique(static_cast<int*>(malloc(sizeof(int))));
87 fbl::unique_free_ptr<int> greater_unique(static_cast<int*>(malloc(sizeof(int))));
103 // Comparison against other unique_free_ptr<>s
137 BEGIN_TEST_CASE(unique_free_ptr)
143 END_TEST_CASE(unique_free_ptr);