Home
last modified time | relevance | path

Searched refs:FxFreeDeleter (Results 1 – 25 of 72) sorted by relevance

123

/external/pdfium/core/fpdfapi/parser/
Dcpdf_stream_acc.cpp88 std::unique_ptr<uint8_t, FxFreeDeleter> CPDF_StreamAcc::DetachData() { in DetachData()
90 std::unique_ptr<uint8_t, FxFreeDeleter> p = m_pData.ReleaseAndClear(); in DetachData()
94 std::unique_ptr<uint8_t, FxFreeDeleter> p(FX_Alloc(uint8_t, m_dwSize)); in DetachData()
110 std::unique_ptr<uint8_t, FxFreeDeleter> pData = ReadRawStream(); in ProcessRawData()
124 MaybeOwned<uint8_t, FxFreeDeleter> pSrcData; in ProcessFilteredData()
128 std::unique_ptr<uint8_t, FxFreeDeleter> pTempSrcData = ReadRawStream(); in ProcessFilteredData()
135 std::unique_ptr<uint8_t, FxFreeDeleter> pDecodedData; in ProcessFilteredData()
159 std::unique_ptr<uint8_t, FxFreeDeleter> CPDF_StreamAcc::ReadRawStream() const { in ReadRawStream()
165 std::unique_ptr<uint8_t, FxFreeDeleter> pSrcData( in ReadRawStream()
Dfpdf_parser_decode.h52 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
56 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
60 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
64 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
68 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
75 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
86 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
Dcpdf_stream_acc.h45 std::unique_ptr<uint8_t, FxFreeDeleter> DetachData();
56 std::unique_ptr<uint8_t, FxFreeDeleter> ReadRawStream() const;
58 MaybeOwned<uint8_t, FxFreeDeleter> m_pData;
Dcpdf_stream.h45 void TakeData(std::unique_ptr<uint8_t, FxFreeDeleter> pData, uint32_t size);
66 CPDF_Stream(std::unique_ptr<uint8_t, FxFreeDeleter> pData,
78 std::unique_ptr<uint8_t, FxFreeDeleter> m_pDataBuf;
Dfpdf_parser_decode.cpp116 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in A85Decode()
197 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in HexDecode()
238 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in RunLengthDecode()
347 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in FlateOrLZWDecode()
401 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in PDF_DataDecode()
405 std::unique_ptr<uint8_t, FxFreeDeleter> result; in PDF_DataDecode()
414 std::unique_ptr<uint8_t, FxFreeDeleter> new_buf; in PDF_DataDecode()
593 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in FlateEncode()
600 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in FlateDecode()
Dcpdf_stream.cpp35 CPDF_Stream::CPDF_Stream(std::unique_ptr<uint8_t, FxFreeDeleter> pData, in CPDF_Stream()
131 std::unique_ptr<uint8_t, FxFreeDeleter> data_copy; in SetData()
139 void CPDF_Stream::TakeData(std::unique_ptr<uint8_t, FxFreeDeleter> pData, in TakeData()
Dfpdf_parser_decode_embeddertest.cpp42 std::unique_ptr<uint8_t, FxFreeDeleter> buf; in TEST_F()
78 std::unique_ptr<uint8_t, FxFreeDeleter> buf; in TEST_F()
/external/pdfium/core/fxcrt/
Dfx_memory_wrappers_unittest.cpp13 TEST(fxcrt, FxFreeDeleter) { in TEST() argument
14 std::unique_ptr<int, FxFreeDeleter> empty(nullptr); in TEST()
15 std::unique_ptr<int, FxFreeDeleter> thing(FX_Alloc(int, 1)); in TEST()
16 std::unique_ptr<int, FxFreeDeleter> several(FX_Alloc(int, 100)); in TEST()
Dcfx_readonlymemorystream.h29 CFX_ReadOnlyMemoryStream(std::unique_ptr<uint8_t, FxFreeDeleter> data,
34 std::unique_ptr<uint8_t, FxFreeDeleter> m_data;
Dcfx_memorystream.h38 CFX_MemoryStream(std::unique_ptr<uint8_t, FxFreeDeleter> pBuffer,
42 std::unique_ptr<uint8_t, FxFreeDeleter> m_data;
Dcfx_binarybuf.h46 std::unique_ptr<uint8_t, FxFreeDeleter> DetachBuffer();
54 std::unique_ptr<uint8_t, FxFreeDeleter> m_pBuffer;
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.h30 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
36 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
40 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
47 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
110 bool FaxCompressData(std::unique_ptr<uint8_t, FxFreeDeleter> src_buf,
113 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
Dcfx_psrenderer.cpp329 std::unique_ptr<uint8_t, FxFreeDeleter> src_buf( in DrawDIBits()
336 std::unique_ptr<uint8_t, FxFreeDeleter> output_buf; in DrawDIBits()
625 std::unique_ptr<uint8_t, FxFreeDeleter> src_buf, in FaxCompressData()
628 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in FaxCompressData()
655 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf_unique; in PSCompressData()
662 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf_unique; in PSCompressData()
679 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in WritePSBinary()
/external/pdfium/core/fxge/
Dcfx_fontmgr.h42 FontDesc(std::unique_ptr<uint8_t, FxFreeDeleter> pData, size_t size);
45 std::unique_ptr<uint8_t, FxFreeDeleter> const m_pFontData;
61 std::unique_ptr<uint8_t, FxFreeDeleter> pData,
68 std::unique_ptr<uint8_t, FxFreeDeleter> pData,
Dcfx_fontmgr.cpp71 CFX_FontMgr::FontDesc::FontDesc(std::unique_ptr<uint8_t, FxFreeDeleter> pData, in FontDesc()
123 std::unique_ptr<uint8_t, FxFreeDeleter> pData, in AddCachedFontDesc()
140 std::unique_ptr<uint8_t, FxFreeDeleter> pData, in AddCachedTTCFontDesc()
/external/pdfium/core/fxcodec/basic/
Drle_unittest.cpp17 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
29 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
43 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
45 std::unique_ptr<uint8_t, FxFreeDeleter> decoded_buf; in TEST()
93 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
95 std::unique_ptr<uint8_t, FxFreeDeleter> decoded_buf; in TEST()
Da85_unittest.cpp16 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
29 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
46 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
104 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
176 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in TEST()
Dbasicmodule.h30 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
34 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
/external/pdfium/core/fxcodec/flate/
Dflatemodule.cpp117 std::unique_ptr<uint8_t, FxFreeDeleter> TakeDestBuf() { in TakeDestBuf()
127 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf_;
362 std::unique_ptr<uint8_t, FxFreeDeleter>* data_buf, in PNG_Predictor()
373 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf( in PNG_Predictor()
497 std::unique_ptr<uint8_t, FxFreeDeleter>* data_buf, in TIFF_Predictor()
516 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, in FlateUncompress()
534 std::unique_ptr<uint8_t, FxFreeDeleter> guess_buf( in FlateUncompress()
538 std::vector<std::unique_ptr<uint8_t, FxFreeDeleter>> result_tmp_bufs; in FlateUncompress()
540 std::unique_ptr<uint8_t, FxFreeDeleter> cur_buf = std::move(guess_buf); in FlateUncompress()
565 std::unique_ptr<uint8_t, FxFreeDeleter> result_buf( in FlateUncompress()
[all …]
Dflatemodule.h42 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
47 std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf,
/external/pdfium/core/fxge/dib/
Dcfx_imagestretcher.h45 std::unique_ptr<uint8_t, FxFreeDeleter> m_pScanline;
46 std::unique_ptr<uint8_t, FxFreeDeleter> m_pMaskScanline;
Dcfx_dibbase.h119 std::unique_ptr<uint32_t, FxFreeDeleter>* pal);
132 std::unique_ptr<uint32_t, FxFreeDeleter> m_pPalette;
/external/pdfium/core/fpdfapi/render/
Dcpdf_docrenderdata_unittest.cpp92 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, len)); in CreateType0FunctionStream()
134 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, len)); in CreateType4FunctionStream()
154 std::unique_ptr<uint8_t, FxFreeDeleter> buf(FX_Alloc(uint8_t, len)); in CreateBadType4FunctionStream()
/external/pdfium/core/fpdfapi/page/
Dcpdf_dib.h149 std::unique_ptr<uint8_t, FxFreeDeleter> m_pLineBuf;
150 std::unique_ptr<uint8_t, FxFreeDeleter> m_pMaskedLine;
/external/pdfium/testing/fuzzers/
Dpdf_codec_a85_fuzzer.cc12 std::unique_ptr<uint8_t, FxFreeDeleter> dest_buf; in LLVMFuzzerTestOneInput()

123