/external/pdfium/core/fpdfapi/page/ |
D | cpdf_color.cpp | 15 CPDF_Color::CPDF_Color() : m_pCS(nullptr), m_pBuffer(nullptr) {} in CPDF_Color() 27 if (!m_pBuffer) in ReleaseBuffer() 31 PatternValue* pvalue = (PatternValue*)m_pBuffer; in ReleaseBuffer() 40 FX_Free(m_pBuffer); in ReleaseBuffer() 41 m_pBuffer = nullptr; in ReleaseBuffer() 53 if (!m_pBuffer) in SetColorSpace() 54 m_pBuffer = pCS->CreateBuf(); in SetColorSpace() 65 m_pBuffer = pCS->CreateBuf(); in SetColorSpace() 66 pCS->GetDefaultColor(m_pBuffer); in SetColorSpace() 71 if (!m_pBuffer) in SetValue() [all …]
|
D | cpdf_color.h | 20 bool IsNull() const { return !m_pBuffer; } in IsNull() 38 FX_FLOAT* m_pBuffer; variable
|
/external/pdfium/core/fxcrt/ |
D | fx_basic_buffer.cpp | 21 m_pBuffer.reset(FX_Alloc(uint8_t, size)); in CFX_BinaryBuf() 27 if (!m_pBuffer || start_index < 0 || count < 0 || count > m_DataSize || in Delete() 31 FXSYS_memmove(m_pBuffer.get() + start_index, in Delete() 32 m_pBuffer.get() + start_index + count, in Delete() 44 return std::move(m_pBuffer); in DetachBuffer() 64 m_pBuffer.reset(m_pBuffer in ExpandBuf() 65 ? FX_Realloc(uint8_t, m_pBuffer.release(), m_AllocSize) in ExpandBuf() 75 FXSYS_memcpy(m_pBuffer.get() + m_DataSize, pBuf, size); in AppendBlock() 77 FXSYS_memset(m_pBuffer.get() + m_DataSize, 0, size); in AppendBlock() 89 FXSYS_memmove(m_pBuffer.get() + pos + size, m_pBuffer.get() + pos, in InsertBlock() [all …]
|
D | fx_xml_parser.cpp | 89 const uint8_t* m_pBuffer; member in __anone56f78be0111::CXML_DataBufAcc 95 : m_pBuffer(pBuffer), m_dwSize(size), m_dwCurPos(0) {} in CXML_DataBufAcc() 123 return m_pBuffer; in GetBlockBuffer() 154 uint8_t* m_pBuffer; member in __anone56f78be0111::CXML_DataStmAcc 161 : m_pFileRead(pFileRead), m_pBuffer(nullptr), m_nStart(0), m_dwSize(0) { in CXML_DataStmAcc() 166 FX_Free(m_pBuffer); in ~CXML_DataStmAcc() 194 if (!m_pBuffer) in ReadNextBlock() 195 m_pBuffer = FX_Alloc(uint8_t, m_dwSize); in ReadNextBlock() 197 return m_pFileRead->ReadBlock(m_pBuffer, m_nStart, m_dwSize); in ReadNextBlock() 201 return (const uint8_t*)m_pBuffer; in GetBlockBuffer() [all …]
|
D | fx_basic.h | 29 uint8_t* GetBuffer() const { return m_pBuffer.get(); } in GetBuffer() 41 m_pBuffer.get()[m_DataSize++] = byte; in AppendByte() 56 std::unique_ptr<uint8_t, FxFreeDeleter> m_pBuffer; variable 63 return CFX_ByteString(m_pBuffer.get(), m_DataSize); in MakeString() 66 return CFX_ByteStringC(m_pBuffer.get(), m_DataSize); in AsStringC() 88 return reinterpret_cast<FX_WCHAR*>(m_pBuffer.get()); in GetBuffer() 92 return CFX_WideStringC(reinterpret_cast<const FX_WCHAR*>(m_pBuffer.get()), in AsStringC() 96 return CFX_WideString(reinterpret_cast<const FX_WCHAR*>(m_pBuffer.get()), in MakeString() 130 std::unique_ptr<uint8_t, FxFreeDeleter> m_pBuffer; variable
|
D | xml_int.h | 45 const uint8_t* m_pBuffer; variable
|
/external/pdfium/xfa/fde/css/ |
D | cfde_csstextbuf.cpp | 13 m_pBuffer(nullptr), in CFDE_CSSTextBuf() 24 FX_Free(m_pBuffer); in Reset() 25 m_pBuffer = nullptr; in Reset() 32 m_pBuffer = const_cast<FX_WCHAR*>(pBuffer); in AttachBuffer() 58 m_iDatLen = pTxtStream->ReadString(m_pBuffer, iMaxChars, bEOS); in LoadFromStream() 65 if (!m_pBuffer) in ExpandBuf() 66 m_pBuffer = FX_Alloc(FX_WCHAR, iDesiredSize); in ExpandBuf() 68 m_pBuffer = FX_Realloc(FX_WCHAR, m_pBuffer, iDesiredSize); in ExpandBuf() 72 if (!m_pBuffer) { in ExpandBuf() 84 FXSYS_memmove(m_pBuffer, m_pBuffer + iStart, iLength * sizeof(FX_WCHAR)); in Subtract()
|
D | cfde_csstextbuf.h | 29 m_pBuffer[m_iDatLen++] = wch; in AppendChar() 37 while (m_iDatLen > 0 && m_pBuffer[m_iDatLen - 1] <= ' ') in TrimEnd() 46 FX_WCHAR GetAt(int32_t index) const { return m_pBuffer[index]; } in GetAt() 47 FX_WCHAR GetChar() const { return m_pBuffer[m_iDatPos]; } in GetChar() 49 return (m_iDatPos + 1 >= m_iDatLen) ? 0 : m_pBuffer[m_iDatPos + 1]; in GetNextChar() 55 const FX_WCHAR* GetBuffer() const { return m_pBuffer; } in GetBuffer() 60 FX_WCHAR* m_pBuffer; variable
|
/external/pdfium/core/fxge/dib/ |
D | fx_dib_main.cpp | 68 m_pBuffer = nullptr; in CFX_DIBitmap() 81 m_pBuffer = nullptr; in Create() 98 m_pBuffer = pBuffer; in Create() 104 m_pBuffer = FX_TryAlloc(uint8_t, size); in Create() 105 if (!m_pBuffer) { in Create() 109 m_pBuffer = FX_Alloc(uint8_t, size); in Create() 120 FX_Free(m_pBuffer); in Create() 121 m_pBuffer = nullptr; in Create() 131 if (m_pBuffer) in Copy() 140 FXSYS_memcpy(m_pBuffer + row * m_Pitch, pSrc->GetScanline(row), m_Pitch); in Copy() [all …]
|
D | fx_dib_convert.cpp | 842 uint8_t* scanline = m_pBuffer + row * m_Pitch + 3; in ConvertFormat() 904 FX_Free(m_pBuffer); in ConvertFormat() 906 m_pBuffer = dest_buf; in ConvertFormat()
|
D | fx_dib_composite.cpp | 4496 if (!m_pBuffer) { in CompositeBitmap() 4528 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * dest_Bpp; in CompositeBitmap() 4540 clip_scan = pClipMask->m_pBuffer + in CompositeBitmap() 4570 if (!m_pBuffer) { in CompositeMask() 4605 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * Bpp; in CompositeMask() 4613 clip_scan = pClipMask->m_pBuffer + in CompositeMask() 4635 if (!m_pBuffer) { in CompositeRect() 4678 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left; in CompositeRect() 4754 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect() 4777 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect()
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiabufferfont.h | 16 CFPF_SkiaBufferFont() : m_pBuffer(nullptr), m_szBuffer(0) {} in CFPF_SkiaBufferFont() 21 void* m_pBuffer; variable
|
D | cfpf_skiafont.cpp | 203 m_Face = pFontMgr->GetFontFace((const uint8_t*)pFont->m_pBuffer, in InitFont()
|
/external/pdfium/xfa/fde/xml/ |
D | fde_xml_imp.cpp | 1250 m_pBuffer(nullptr), in CFDE_XMLSyntaxParser() 1273 ASSERT(!m_pStream && !m_pBuffer); in Init() 1281 ASSERT(!m_pBuffer); in Init() 1290 m_pBuffer = FX_Alloc( in Init() 1292 m_pStart = m_pEnd = m_pBuffer; in Init() 1305 ASSERT(m_pStream && m_pBuffer && m_BlockBuffer.IsInitialized()); in DoSyntaxParse() 1316 m_iParsedChars += (m_pEnd - m_pBuffer); in DoSyntaxParse() 1322 m_pStream->ReadString(m_pBuffer, m_iXMLPlaneSize, m_bEOS); in DoSyntaxParse() 1330 m_pStart = m_pBuffer; in DoSyntaxParse() 1331 m_pEnd = m_pBuffer + m_iBufferChars; in DoSyntaxParse() [all …]
|
D | fde_xml_imp.h | 265 return m_iParsedChars + (m_pStart - m_pBuffer); in GetCurrentPos() 323 FX_WCHAR* m_pBuffer; variable
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_dib.cpp | 201 (LPVOID*)&m_pBuffer, nullptr, 0); in CFX_WindowsDIB()
|
/external/pdfium/core/fxge/ |
D | fx_dib.h | 391 uint8_t* m_pBuffer; variable
|