Home
last modified time | relevance | path

Searched refs:MaybeOwned (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fxcrt/
Dmaybe_owned_unittest.cpp31 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 …]
Dmaybe_owned.h21 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/
DJBig2_TrdProc.cpp141 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 …]
DJBig2_Image.h89 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
/external/pdfium/core/fpdfapi/parser/
Dcpdf_flateencoder.h40 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
Dcpdf_stream_acc.h58 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
Dcpdf_stream_acc.cpp124 MaybeOwned<uint8_t, FxFreeDeleter> pSrcData; in ProcessFilteredData()
/external/pdfium/core/fpdfapi/render/
Dcpdf_pagerendercache.h54 MaybeOwned<CPDF_ImageCacheEntry> m_pCurImageCacheEntry;
/external/pdfium/core/fpdfapi/page/
Dcpdf_contentparser.h69 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
/external/pdfium/xfa/fgas/font/
Dcfgas_gefont.h83 MaybeOwned<CFX_Font> m_pFont; // Must come before |m_pFontEncoding|.
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.h119 MaybeOwned<uint8_t, FxFreeDeleter> m_pBuffer;
/external/vm_tools/p9/src/server/
Dmod.rs220 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()