/external/pdfium/core/fxcrt/ |
D | retain_ptr_unittest.cpp | 30 TEST(RetainPtr, Null) { in TEST() argument 31 RetainPtr<PseudoRetainable> ptr; in TEST() 35 TEST(RetainPtr, Normal) { in TEST() argument 38 RetainPtr<PseudoRetainable> ptr(&obj); in TEST() 47 TEST(RetainPtr, CopyCtor) { in TEST() argument 50 RetainPtr<PseudoRetainable> ptr1(&obj); in TEST() 52 RetainPtr<PseudoRetainable> ptr2(ptr1); in TEST() 63 TEST(RetainPtr, MoveCtor) { in TEST() argument 66 RetainPtr<PseudoRetainable> ptr1(&obj); in TEST() 68 RetainPtr<PseudoRetainable> ptr2(std::move(ptr1)); in TEST() [all …]
|
D | retain_ptr.h | 24 class RetainPtr { 26 explicit RetainPtr(T* pObj) : m_pObj(pObj) { in RetainPtr() function 31 RetainPtr() = default; 32 RetainPtr(const RetainPtr& that) : RetainPtr(that.Get()) {} in RetainPtr() function 33 RetainPtr(RetainPtr&& that) noexcept { Swap(that); } in RetainPtr() function 37 RetainPtr(std::nullptr_t ptr) {} in RetainPtr() function 40 RetainPtr(const RetainPtr<U>& that) : RetainPtr(that.Get()) {} in RetainPtr() function 43 RetainPtr<U> As() const { in As() 44 return RetainPtr<U>(static_cast<U*>(Get())); in As() 54 void Swap(RetainPtr& that) { m_pObj.swap(that.m_pObj); } in Swap() [all …]
|
/external/pdfium/xfa/fgas/font/ |
D | cfgas_gefont.h | 26 friend class RetainPtr; 28 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); 30 static RetainPtr<CFGAS_GEFont> LoadFont(const wchar_t* pszFontFamily, 34 static RetainPtr<CFGAS_GEFont> LoadFont(CFX_Font* pExternalFont, 36 static RetainPtr<CFGAS_GEFont> LoadFont( 49 RetainPtr<CFGAS_GEFont> GetSubstFont(int32_t iGlyphIndex); 70 bool LoadFontInternal(const RetainPtr<CFX_SeekableStreamProxy>& pFontStream, 76 std::pair<int32_t, RetainPtr<CFGAS_GEFont>> GetGlyphIndexAndFont( 85 RetainPtr<CFGAS_GEFont> m_pSrcFont; // Only set by ctor, so no cycles. 88 RetainPtr<CFX_SeekableStreamProxy> m_pStream; [all …]
|
D | cfgas_fontmgr.h | 107 std::pair<bool, RetainPtr<IFX_SeekableStream>> GetNext(); 134 RetainPtr<CFGAS_GEFont> GetFontByCodePage(uint16_t wCodePage, 137 RetainPtr<CFGAS_GEFont> GetFontByUnicode(wchar_t wUnicode, 140 RetainPtr<CFGAS_GEFont> LoadFont(const wchar_t* pszFontFamily, 143 void RemoveFont(const RetainPtr<CFGAS_GEFont>& pFont); 162 void RegisterFaces(const RetainPtr<IFX_SeekableReadStream>& pFontStream, 180 RetainPtr<CFGAS_GEFont> LoadFont(const WideString& wsFaceName, 183 FXFT_Face LoadFace(const RetainPtr<IFX_SeekableReadStream>& pFontStream, 185 RetainPtr<IFX_SeekableReadStream> CreateFontStream( 189 RetainPtr<IFX_SeekableReadStream> CreateFontStream( [all …]
|
D | cfgas_gefont.cpp | 21 RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont(const wchar_t* pszFontFamily, in LoadFont() 39 RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont(CFX_Font* pExternalFont, in LoadFont() 48 RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont( in LoadFont() 167 if (!m_pProvider || !m_pProvider->GetCharWidth(RetainPtr<CFGAS_GEFont>(this), in GetCharWidth() 169 RetainPtr<CFGAS_GEFont> pFont; in GetCharWidth() 195 RetainPtr<CFGAS_GEFont> pFont; in GetCharBBox() 228 RetainPtr<CFGAS_GEFont> font; in GetGlyphIndex() 233 std::pair<int32_t, RetainPtr<CFGAS_GEFont>> CFGAS_GEFont::GetGlyphIndexAndFont( in GetGlyphIndexAndFont() 238 return {iGlyphIndex, RetainPtr<CFGAS_GEFont>(this)}; in GetGlyphIndexAndFont() 250 RetainPtr<CFGAS_GEFont> font; in GetGlyphIndexAndFont() [all …]
|
D | cfgas_pdffontmgr.h | 28 void SetFont(const RetainPtr<CFGAS_GEFont>& pFont, CPDF_Font* pPDFFont); 29 RetainPtr<CFGAS_GEFont> GetFont(const WideStringView& wsFontFamily, 33 bool GetCharWidth(const RetainPtr<CFGAS_GEFont>& pFont, 38 RetainPtr<CFGAS_GEFont> FindFont(const ByteString& strFamilyName, 54 std::map<RetainPtr<CFGAS_GEFont>, CPDF_Font*> m_FDE2PDFFont; 55 std::map<ByteString, RetainPtr<CFGAS_GEFont>> m_FontMap;
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.h | 27 CFX_SkiaDeviceDriver(const RetainPtr<CFX_DIBitmap>& pBitmap, 29 const RetainPtr<CFX_DIBitmap>& pOriDevice, 80 bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, 84 RetainPtr<CFX_DIBitmap> GetBackDrop() override; 86 bool SetDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 93 bool SetBitsWithMask(const RetainPtr<CFX_DIBSource>& pBitmap, 94 const RetainPtr<CFX_DIBSource>& pMask, 105 bool StretchDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 115 bool StartDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 126 bool DrawBitsWithMask(const RetainPtr<CFX_DIBSource>& pBitmap, [all …]
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_imagecacheentry.h | 27 const RetainPtr<CPDF_Image>& pImage); 30 void Reset(const RetainPtr<CFX_DIBitmap>& pBitmap); 41 RetainPtr<CFX_DIBSource> DetachBitmap(); 42 RetainPtr<CFX_DIBSource> DetachMask(); 52 RetainPtr<CPDF_Image> const m_pImage; 53 RetainPtr<CFX_DIBSource> m_pCurBitmap; 54 RetainPtr<CFX_DIBSource> m_pCurMask; 55 RetainPtr<CFX_DIBSource> m_pCachedBitmap; 56 RetainPtr<CFX_DIBSource> m_pCachedMask;
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.h | 28 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); 45 RetainPtr<CFX_DIBSource> LoadDIBSource() const; 47 void SetImage(const RetainPtr<CFX_DIBitmap>& pDIBitmap); 48 void SetJpegImage(const RetainPtr<IFX_SeekableReadStream>& pFile); 49 void SetJpegImageInline(const RetainPtr<IFX_SeekableReadStream>& pFile); 51 void ResetCache(CPDF_Page* pPage, const RetainPtr<CFX_DIBitmap>& pDIBitmap); 58 RetainPtr<CFX_DIBSource> DetachBitmap(); 59 RetainPtr<CFX_DIBSource> DetachMask(); 61 RetainPtr<CFX_DIBSource> m_pDIBSource; 62 RetainPtr<CFX_DIBSource> m_pMask;
|
D | cpdf_docpagedata.h | 56 RetainPtr<CPDF_Image> GetImage(uint32_t dwStreamObjNum); 59 RetainPtr<CPDF_IccProfile> GetIccProfile(CPDF_Stream* pProfileStream); 62 RetainPtr<CPDF_StreamAcc> GetFontFileStreamAcc(CPDF_Stream* pFontStream); 75 std::map<const CPDF_Stream*, RetainPtr<CPDF_StreamAcc>> m_FontFileMap; 77 std::map<const CPDF_Stream*, RetainPtr<CPDF_IccProfile>> m_IccProfileMap; 78 std::map<uint32_t, RetainPtr<CPDF_Image>> m_ImageMap;
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.h | 117 RetainPtr<CFX_DIBitmap> GetBitmap() const; 118 void SetBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap); 119 bool CreateCompatibleBitmap(const RetainPtr<CFX_DIBitmap>& pDIB, 151 RetainPtr<CFX_DIBitmap> GetBackDrop(); 152 bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, int left, int top); 153 bool SetDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, int left, int top) { in SetDIBits() 156 bool SetDIBitsWithBlend(const RetainPtr<CFX_DIBSource>& pBitmap, 160 bool StretchDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, in StretchDIBits() 168 bool StretchDIBitsWithFlagsAndBlend(const RetainPtr<CFX_DIBSource>& pBitmap, 175 bool SetBitMask(const RetainPtr<CFX_DIBSource>& pBitmap, [all …]
|
D | cfx_defaultrenderdevice.h | 20 bool Attach(const RetainPtr<CFX_DIBitmap>& pBitmap, 22 const RetainPtr<CFX_DIBitmap>& pOriDevice, 27 const RetainPtr<CFX_DIBitmap>& pOriDevice); 34 bool SetBitsWithMask(const RetainPtr<CFX_DIBSource>& pBitmap, 35 const RetainPtr<CFX_DIBSource>& pMask,
|
D | ifx_renderdevicedriver.h | 63 virtual bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, 66 virtual RetainPtr<CFX_DIBitmap> GetBackDrop(); 67 virtual bool SetDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 73 virtual bool StretchDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 82 virtual bool StartDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 104 virtual bool SetBitsWithMask(const RetainPtr<CFX_DIBSource>& pBitmap, 105 const RetainPtr<CFX_DIBSource>& pMask,
|
D | ifx_renderdevicedriver.cpp | 49 bool IFX_RenderDeviceDriver::GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, in GetDIBits() 55 RetainPtr<CFX_DIBitmap> IFX_RenderDeviceDriver::GetBackDrop() { in GetBackDrop() 56 return RetainPtr<CFX_DIBitmap>(); in GetBackDrop() 88 const RetainPtr<CFX_DIBSource>& pBitmap, in SetBitsWithMask() 89 const RetainPtr<CFX_DIBSource>& pMask, in SetBitsWithMask()
|
/external/pdfium/core/fxge/win32/ |
D | win32_int.h | 41 const RetainPtr<CFX_DIBitmap>& pBitmap, 50 const RetainPtr<CFX_DIBitmap>& pBitmap, 103 bool GdipCreateBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap, void** bitmap); 111 RetainPtr<CFX_DIBitmap> LoadDIBitmap(WINDIB_Open_Args_ args); 162 bool GDI_SetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, 166 bool GDI_StretchDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, 172 bool GDI_StretchBitMask(const RetainPtr<CFX_DIBitmap>& pBitmap, 195 bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, 198 bool SetDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 204 bool StretchDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, [all …]
|
D | cfx_windowsdib.h | 33 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); 37 static ByteString GetBitmapInfo(const RetainPtr<CFX_DIBitmap>& pBitmap); 38 static HBITMAP GetDDBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap, HDC hDC); 40 static RetainPtr<CFX_DIBitmap> LoadFromBuf(BITMAPINFO* pbmi, void* pData); 41 static RetainPtr<CFX_DIBitmap> LoadFromFile(const wchar_t* filename); 42 static RetainPtr<CFX_DIBitmap> LoadFromFile(const char* filename); 43 static RetainPtr<CFX_DIBitmap> LoadDIBitmap(WINDIB_Open_Args_ args);
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibsource.h | 75 RetainPtr<CFX_DIBitmap> Clone(const FX_RECT* pClip) const; 76 RetainPtr<CFX_DIBitmap> CloneConvert(FXDIB_Format format); 77 RetainPtr<CFX_DIBitmap> StretchTo(int dest_width, 81 RetainPtr<CFX_DIBitmap> TransformTo(const CFX_Matrix* pMatrix, 84 RetainPtr<CFX_DIBitmap> SwapXY(bool bXFlip, bool bYFlip) const; 85 RetainPtr<CFX_DIBitmap> FlipImage(bool bXFlip, bool bYFlip) const; 87 RetainPtr<CFX_DIBitmap> CloneAlphaMask() const; 90 bool SetAlphaMask(const RetainPtr<CFX_DIBSource>& pAlphaMask, 107 RetainPtr<CFX_DIBitmap> m_pAlphaMask; 117 const RetainPtr<CFX_DIBSource>& pSrcBitmap,
|
D | cfx_dibitmap.h | 19 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); 29 bool Copy(const RetainPtr<CFX_DIBSource>& pSrc); 42 void TakeOver(RetainPtr<CFX_DIBitmap>&& pSrcBitmap); 50 const RetainPtr<CFX_DIBSource>& pSrcBitmap, 55 bool MultiplyAlpha(const RetainPtr<CFX_DIBSource>& pAlphaMask); 61 const RetainPtr<CFX_DIBSource>& pSrcBitmap, 69 const RetainPtr<CFX_DIBSource>& pSrcBitmap, 80 const RetainPtr<CFX_DIBSource>& pMask,
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_progressivedecoder.h | 48 FXCODEC_STATUS LoadImageInfo(const RetainPtr<IFX_SeekableReadStream>& pFile, 61 FXCODEC_STATUS StartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap, 160 void PngOneOneMapResampleHorz(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap, 175 void ReSampleScanline(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap, 179 void Resample(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap, 183 void ResampleVert(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap, 186 void ResampleVertBT(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap, 189 void GifDoubleLineResampleVert(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap, 193 FXCODEC_STATUS JpegStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap); 194 FXCODEC_STATUS PngStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap); [all …]
|
D | ccodec_tiffmodule.cpp | 30 bool InitDecoder(const RetainPtr<IFX_SeekableReadStream>& file_ptr); 37 bool Decode(const RetainPtr<CFX_DIBitmap>& pDIBitmap); 39 RetainPtr<IFX_SeekableReadStream> io_in() const { return m_io_in; } in io_in() 44 bool IsSupport(const RetainPtr<CFX_DIBitmap>& pDIBitmap) const; 45 void SetPalette(const RetainPtr<CFX_DIBitmap>& pDIBitmap, uint16_t bps); 46 bool Decode1bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap, 51 bool Decode8bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap, 56 bool Decode24bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap, 62 RetainPtr<IFX_SeekableReadStream> m_io_in; 232 const RetainPtr<IFX_SeekableReadStream>& file_ptr) { in InitDecoder() [all …]
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.h | 35 CFX_AggDeviceDriver(const RetainPtr<CFX_DIBitmap>& pBitmap, 37 const RetainPtr<CFX_DIBitmap>& pOriDevice, 66 bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, 69 RetainPtr<CFX_DIBitmap> GetBackDrop() override; 70 bool SetDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 76 bool StretchDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 85 bool StartDIBits(const RetainPtr<CFX_DIBSource>& pBitmap, 112 RetainPtr<CFX_DIBitmap> m_pBitmap; 120 RetainPtr<CFX_DIBitmap> m_pOriDevice;
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textuserdata.h | 18 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); 20 RetainPtr<CFX_CSSComputedStyle> m_pStyle; 21 RetainPtr<CXFA_LinkUserData> m_pLinkData; 24 explicit CXFA_TextUserData(const RetainPtr<CFX_CSSComputedStyle>& pStyle); 25 CXFA_TextUserData(const RetainPtr<CFX_CSSComputedStyle>& pStyle, 26 const RetainPtr<CXFA_LinkUserData>& pLinkData);
|
D | cxfa_ffdoc.h | 28 FX_IMAGEDIB_AND_DPI(const RetainPtr<CFX_DIBSource>& pDib, 33 RetainPtr<CFX_DIBSource> pDibSource; 43 const RetainPtr<CFX_DIBSource>& pDib, in FX_IMAGEDIB_AND_DPI() 74 RetainPtr<CFX_DIBitmap> GetPDFNamedImage(const WideStringView& wsName, 80 const RetainPtr<IFX_SeekableStream>& pFile, 82 bool ImportData(const RetainPtr<IFX_SeekableStream>& pStream, 88 RetainPtr<IFX_SeekableStream> m_pStream;
|
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssdeclaration.h | 37 RetainPtr<CFX_CSSValue> GetProperty(CFX_CSSProperty eProperty, 66 RetainPtr<CFX_CSSValue>& pWidth) const; 71 void Add4ValuesProperty(const std::vector<RetainPtr<CFX_CSSValue>>& list, 77 RetainPtr<CFX_CSSValue> ParseNumber(const wchar_t* pszValue, 79 RetainPtr<CFX_CSSValue> ParseEnum(const wchar_t* pszValue, int32_t iValueLen); 80 RetainPtr<CFX_CSSValue> ParseColor(const wchar_t* pszValue, 82 RetainPtr<CFX_CSSValue> ParseString(const wchar_t* pszValue, 85 RetainPtr<CFX_CSSValue> pValue,
|
/external/clang/test/SemaObjCXX/ |
D | contextual-convert-to-id.mm | 15 template<typename T> struct RetainPtr { struct 19 void methodCallToSpecific(RetainPtr<A> a) { argument 24 void explicitCast(RetainPtr<A> a, RetainPtr<B> b, RetainPtr<C> c) { argument 26 …(void)(A*)b; // expected-error{{cannot convert 'RetainPtr<B>' to 'A *' without a conversion operat… 30 …(void)static_cast<A*>(b); // expected-error{{cannot convert 'RetainPtr<B>' to 'A *' without a con…
|