Home
last modified time | relevance | path

Searched refs:MakeRetain (Results 1 – 25 of 113) sorted by relevance

12345

/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser_unittest.cpp22 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 0, false), 0); in TEST()
31 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 2, false), 0); in TEST()
40 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 4, false), 0); in TEST()
49 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 10, false), 0); in TEST()
58 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 4, false), 0); in TEST()
67 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 4, false), 0); in TEST()
76 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 9, false), 0); in TEST()
85 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 5, false), 0); in TEST()
107 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 4, false), 0); in TEST()
116 parser.InitParser(pdfium::MakeRetain<CFX_MemoryStream>(data, 5, false), 0); in TEST()
[all …]
Dcpdf_read_validator_unittest.cpp70 auto file = pdfium::MakeRetain<CFX_MemoryStream>(test_data.data(), in TEST()
73 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
94 auto file = pdfium::MakeRetain<CFX_MemoryStream>(test_data.data(), in TEST()
97 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
137 auto file = pdfium::MakeRetain<CFX_InvalidSeekableReadStream>(kTestDataSize); in TEST()
138 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, nullptr); in TEST()
150 auto file = pdfium::MakeRetain<CFX_MemoryStream>(test_data.data(), in TEST()
153 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
170 auto file = pdfium::MakeRetain<CFX_InvalidSeekableReadStream>(kTestDataSize); in TEST()
173 auto validator = pdfium::MakeRetain<CPDF_ReadValidator>(file, &file_avail); in TEST()
[all …]
Dcpdf_page_object_avail_unittest.cpp28 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
35 pdfium::MakeRetain<CFX_InvalidSeekableReadStream>(100), in TestReadValidator()
46 TestHolder() : validator_(pdfium::MakeRetain<TestReadValidator>()) {} in TestHolder()
Dcpdf_stream.cpp82 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(this); in CloneNonCyclic()
149 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(this); in GetUnicodeText()
158 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(this); in WriteTo()
/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration.cpp437 return pdfium::MakeRetain<CFX_CSSNumberValue>(eUnit, fValue); in ParseNumber()
444 return pValue ? pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName) : nullptr; in ParseEnum()
452 return pdfium::MakeRetain<CFX_CSSColorValue>(dwColor); in ParseColor()
464 return pdfium::MakeRetain<CFX_CSSStringValue>( in ParseString()
488 pdfium::MakeRetain<CFX_CSSNumberValue>(eNumType, fValue)); in ParseValueListProperty()
495 list.push_back(pdfium::MakeRetain<CFX_CSSColorValue>(dwColor)); in ParseValueListProperty()
503 list.push_back(pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName)); in ParseValueListProperty()
508 list.push_back(pdfium::MakeRetain<CFX_CSSStringValue>( in ParseValueListProperty()
516 list.push_back(pdfium::MakeRetain<CFX_CSSColorValue>(dwColor)); in ParseValueListProperty()
547 auto pList = pdfium::MakeRetain<CFX_CSSValueList>(list); in ParseValueListProperty()
[all …]
/external/pdfium/core/fxcodec/jbig2/
DJBig2_BitStream_unittest.cpp19 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST()
44 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST()
56 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST()
72 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST()
89 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST()
110 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST()
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlsyntaxparser_unittest.cpp30 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
78 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
115 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
150 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
180 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
210 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
240 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
277 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
311 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
345 pdfium::MakeRetain<CFX_SeekableStreamProxy>( in TEST()
[all …]
/external/pdfium/fpdfsdk/
Dfpdfsave.cpp101 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pTemplateStream); in SaveXFADocumentData()
104 pdfium::MakeRetain<CFX_MemoryStream>( in SaveXFADocumentData()
139 pdfium::MakeRetain<CFX_MemoryStream>(false); in SaveXFADocumentData()
169 pdfium::MakeRetain<CFX_MemoryStream>(false); in SaveXFADocumentData()
260 pdfium::MakeRetain<FSDK_FileWriteAdapter>(pFileWrite)); in FPDF_Doc_Save()
Dfpdfview.cpp112 pdfium::MakeRetain<CPDF_OCContext>(pPage->m_pDocument.Get(), usage)); in RenderPageImpl()
137 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
176 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
427 return pdfium::MakeRetain<CPDF_CustomAccess>(pFileAccess); in MakeSeekableReadStream()
433 return pdfium::MakeRetain<FPDF_FileHandlerContext>(pFilehandler); in MakeSeekableStream()
643 return LoadDocumentImpl(pdfium::MakeRetain<CPDF_CustomAccess>(pFileAccess), in FPDF_LoadCustomDocument()
840 RetainPtr<CFX_DIBitmap> pDst = pdfium::MakeRetain<CFX_DIBitmap>(); in GetMaskBitmap()
857 RetainPtr<CFX_DIBitmap> pDst = pdfium::MakeRetain<CFX_DIBitmap>(); in RenderBitmap()
900 pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in FPDF_RenderPage()
962 auto pDst = pdfium::MakeRetain<CFX_DIBitmap>(); in FPDF_RenderPage()
[all …]
Dfpdf_dataavail.cpp65 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
107 m_FileRead(pdfium::MakeRetain<FPDF_FileAccessContext>()) {} in FPDF_AvailContext()
/external/pdfium/core/fxcrt/
Dcfx_seekablemultistream_unittest.cpp19 auto fileread = pdfium::MakeRetain<CFX_SeekableMultiStream>(streams); in TEST()
31 auto fileread = pdfium::MakeRetain<CFX_SeekableMultiStream>(streams); in TEST()
56 auto fileread = pdfium::MakeRetain<CFX_SeekableMultiStream>(streams); in TEST()
Dfx_stream.cpp23 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
59 return pdfium::MakeRetain<CFX_CRTFileStream>(std::move(pFA)); in CreateFromFilename()
69 return pdfium::MakeRetain<CFX_CRTFileStream>(std::move(pFA)); in CreateFromFilename()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_flateencoder.cpp16 : m_dwSize(0), m_pAcc(pdfium::MakeRetain<CPDF_StreamAcc>(pStream)) { in CPDF_FlateEncoder()
21 auto pDestAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in CPDF_FlateEncoder()
/external/pdfium/testing/libfuzzer/
Dpdf_codec_jbig2_fuzzer.cc39 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LLVMFuzzerTestOneInput()
46 auto src_stream = pdfium::MakeRetain<CPDF_StreamAcc>(stream->AsStream()); in LLVMFuzzerTestOneInput()
Dxfa_codec_fuzzer.h35 auto source = pdfium::MakeRetain<CFX_BufferSeekableReadStream>(data, size); in Fuzz()
50 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in Fuzz()
Dpdf_cmap_fuzzer.cc11 auto cmap = pdfium::MakeRetain<CPDF_CMap>(); in LLVMFuzzerTestOneInput()
Dpdf_cfx_saxreader_fuzzer.cc14 if (reader.StartParse(pdfium::MakeRetain<CFX_MemoryStream>( in LLVMFuzzerTestOneInput()
/external/pdfium/testing/
Dfx_string_testhelpers.h19 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
37 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp51 m_pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in Initialize()
66 auto pBuffer = pdfium::MakeRetain<CFX_DIBitmap>(); in OutputToDevice()
Dcpdf_docrenderdata.cpp53 auto pCache = pdfium::MakeRetain<CPDF_Type3Cache>(pFont); in GetCachedType3()
91 auto pTransfer = pdfium::MakeRetain<CPDF_TransferFunc>(m_pPDFDoc.Get()); in GetTransferFunc()
/external/pdfium/core/fpdfapi/page/
Dcpdf_contentparser.cpp39 m_pSingleStream = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in CPDF_ContentParser()
104 pdfium::MakeRetain<CPDF_StreamAcc>(pForm->m_pFormStream.Get()); in CPDF_ContentParser()
151 pdfium::MakeRetain<CPDF_StreamAcc>(pStreamObj); in Continue()
Dcpdf_docpagedata.cpp399 auto pImage = pdfium::MakeRetain<CPDF_Image>(m_pPDFDoc.Get(), dwStreamObjNum); in GetImage()
420 auto pAccessor = pdfium::MakeRetain<CPDF_StreamAcc>(pProfileStream); in GetIccProfile()
433 auto pProfile = pdfium::MakeRetain<CPDF_IccProfile>( in GetIccProfile()
460 auto pFontAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pFontStream); in GetFontFileStreamAcc()
/external/pdfium/core/fxge/
Dcfx_cliprgn.cpp57 m_Mask = pdfium::MakeRetain<CFX_DIBitmap>(); in IntersectMaskRect()
88 auto new_dib = pdfium::MakeRetain<CFX_DIBitmap>(); in IntersectMaskF()
/external/pdfium/core/fxge/win32/
Dfx_win32_dib.cpp66 auto pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in _FX_WindowsDIB_LoadFromBuf()
136 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LoadFromFile()
171 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LoadDIBitmap()
/external/pdfium/xfa/fgas/font/
Dcfgas_gefont.cpp31 auto pFont = pdfium::MakeRetain<CFGAS_GEFont>(pFontMgr); in LoadFont()
41 auto pFont = pdfium::MakeRetain<CFGAS_GEFont>(pFontMgr); in LoadFont()
51 auto pFont = pdfium::MakeRetain<CFGAS_GEFont>(pFontMgr); in LoadFont()

12345