Searched refs:MaybeOwned (Results 1 – 12 of 12) sorted by relevance
/external/pdfium/core/fxcrt/ |
D | maybe_owned_unittest.cpp | 31 TEST(MaybeOwned, Null) { in TEST() argument 32 MaybeOwned<PseudoDeletable> ptr1; in TEST() 37 MaybeOwned<PseudoDeletable> ptr2; in TEST() 42 TEST(MaybeOwned, NotOwned) { in TEST() argument 46 MaybeOwned<PseudoDeletable> ptr(&thing1); in TEST() 53 MaybeOwned<PseudoDeletable> empty; in TEST() 62 MaybeOwned<PseudoDeletable> ptr(&thing1); in TEST() 73 MaybeOwned<PseudoDeletable> ptr(&thing1); in TEST() 83 TEST(MaybeOwned, UnownedPtr) { in TEST() argument 90 MaybeOwned<PseudoDeletable> ptr1(unowned1); in TEST() [all …]
|
D | maybe_owned.h | 21 class MaybeOwned { 23 MaybeOwned() = default; 24 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 29 MaybeOwned(const MaybeOwned& that) = delete; 30 MaybeOwned(MaybeOwned&& that) noexcept in MaybeOwned() function 65 MaybeOwned& operator=(const MaybeOwned& that) = delete; 66 MaybeOwned& operator=(MaybeOwned&& that) { 72 MaybeOwned& operator=(T* ptr) { [all …]
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_TrdProc.cpp | 141 MaybeOwned<CJBig2_Image> IBI; in DecodeHuffman() 233 MaybeOwned<CJBig2_ArithIntDecoder> pIADT; in DecodeArith() 242 MaybeOwned<CJBig2_ArithIntDecoder> pIAFS; in DecodeArith() 243 MaybeOwned<CJBig2_ArithIntDecoder> pIADS; in DecodeArith() 244 MaybeOwned<CJBig2_ArithIntDecoder> pIAIT; in DecodeArith() 245 MaybeOwned<CJBig2_ArithIntDecoder> pIARI; in DecodeArith() 246 MaybeOwned<CJBig2_ArithIntDecoder> pIARDW; in DecodeArith() 247 MaybeOwned<CJBig2_ArithIntDecoder> pIARDH; in DecodeArith() 248 MaybeOwned<CJBig2_ArithIntDecoder> pIARDX; in DecodeArith() 249 MaybeOwned<CJBig2_ArithIntDecoder> pIARDY; in DecodeArith() [all …]
|
D | JBig2_Image.h | 89 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_flateencoder.h | 40 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
|
D | cpdf_stream_acc.h | 58 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
|
D | cpdf_stream_acc.cpp | 124 MaybeOwned<uint8_t, FxFreeDeleter> pSrcData; in ProcessFilteredData()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_pagerendercache.h | 54 MaybeOwned<CPDF_ImageCacheEntry> m_pCurImageCacheEntry;
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_contentparser.h | 69 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
|
/external/pdfium/xfa/fgas/font/ |
D | cfgas_gefont.h | 83 MaybeOwned<CFX_Font> m_pFont; // Must come before |m_pFontEncoding|.
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibitmap.h | 119 MaybeOwned<uint8_t, FxFreeDeleter> m_pBuffer;
|
/external/vm_tools/p9/src/server/ |
D | mod.rs | 220 enum MaybeOwned<'b, T> { enum 225 impl<'a, T> Deref for MaybeOwned<'a, T> { implementation 228 use MaybeOwned::*; in deref() 760 MaybeOwned::Borrowed(file) in set_attr() 767 MaybeOwned::Owned(open_fid(&self.proc, &fid.path, P9_NONBLOCK | flags)?) in set_attr()
|