Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dmaybe_owned.h24 explicit MaybeOwned(T* ptr) : m_pObj(ptr) {} in MaybeOwned() function
25 explicit MaybeOwned(const UnownedPtr<T>& ptr) : m_pObj(ptr.Get()) {} 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, UnownedPtr) { in TEST() argument
98 TEST(MaybeOwned, Owned) { in TEST() argument
139 TEST(MaybeOwned, Release) { in TEST() argument
157 TEST(MaybeOwned, Move) { in TEST() argument
/external/vm_tools/p9/src/server/
Dmod.rs220 enum MaybeOwned<'b, T> { enum
225 impl<'a, T> Deref for MaybeOwned<'a, T> { implementation