Lines Matching refs:UniquePtr
7 using chre::UniquePtr;
31 TEST(UniquePtr, Construct) { in TEST() argument
32 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
44 TEST(UniquePtr, MakeUniqueZeroFill) { in TEST() argument
55 TEST(UniquePtr, MoveConstruct) { in TEST() argument
56 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
60 UniquePtr<Value> moved(std::move(myInt)); in TEST()
65 TEST(UniquePtr, Move) { in TEST() argument
69 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
73 UniquePtr<Value> myMovedInt = MakeUnique<Value>(0); in TEST()
85 TEST(UniquePtr, Release) { in TEST() argument
90 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
107 TEST(UniquePtr, Reset) { in TEST() argument
111 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
119 UniquePtr<Value> myInt2 = MakeUnique<Value>(0xface); in TEST()
133 TEST(UniquePtr, EqualityOperator) { in TEST() argument
137 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()