Home
last modified time | relevance | path

Searched defs:MaybeOwned (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fxcrt/
Dmaybe_owned.h24 MaybeOwned() : m_pObj(nullptr) {} in MaybeOwned() function
25 explicit MaybeOwned(T* ptr) : m_pObj(ptr) {} in MaybeOwned() function
26 explicit MaybeOwned(std::unique_ptr<T, D> ptr) in MaybeOwned() function
30 MaybeOwned(MaybeOwned&& that) noexcept in MaybeOwned() function
Dmaybe_owned_unittest.cpp31 TEST(MaybeOwned, Null) { in TEST() argument
42 TEST(MaybeOwned, NotOwned) { in TEST() argument
83 TEST(MaybeOwned, Owned) { in TEST() argument
124 TEST(MaybeOwned, Release) { in TEST() argument
142 TEST(MaybeOwned, Move) { in TEST() argument