/external/pdfium/core/src/fxcrt/ |
D | fx_basic_buffer.cpp | 13 : m_AllocStep(0), m_pBuffer(NULL), m_DataSize(0), m_AllocSize(0) {} in CFX_BinaryBuf() 16 m_pBuffer = FX_Alloc(uint8_t, size); in CFX_BinaryBuf() 19 FX_Free(m_pBuffer); in ~CFX_BinaryBuf() 22 if (!m_pBuffer || start_index < 0 || start_index + count > m_DataSize) { in Delete() 25 FXSYS_memmove(m_pBuffer + start_index, m_pBuffer + start_index + count, in Delete() 34 m_pBuffer = NULL; in DetachBuffer() 38 FX_Free(m_pBuffer); in AttachData() 40 m_pBuffer = (uint8_t*)buffer; in AttachData() 69 uint8_t* pNewBuffer = m_pBuffer; in ExpandBuf() 71 pNewBuffer = FX_Realloc(uint8_t, m_pBuffer, new_size); in ExpandBuf() [all …]
|
D | xml_int.h | 20 : m_pBuffer(pBuffer), m_dwSize(size), m_dwCurPos(0) {} in CXML_DataBufAcc() 38 const uint8_t* GetBlockBuffer() override { return m_pBuffer; } in GetBlockBuffer() 43 const uint8_t* m_pBuffer; 51 : m_pFileRead(pFileRead), m_pBuffer(NULL), m_nStart(0), m_dwSize(0) { in CXML_DataStmAcc() 54 ~CXML_DataStmAcc() override { FX_Free(m_pBuffer); } in ~CXML_DataStmAcc() 76 if (!m_pBuffer) { 77 m_pBuffer = FX_Alloc(uint8_t, m_dwSize); 79 return m_pFileRead->ReadBlock(m_pBuffer, m_nStart, m_dwSize); 81 const uint8_t* GetBlockBuffer() override { return (const uint8_t*)m_pBuffer; } in GetBlockBuffer() 87 uint8_t* m_pBuffer; variable [all …]
|
D | fx_xml_parser.cpp | 41 m_pBuffer = m_pDataAcc->GetBlockBuffer(); in ReadNextBlock() 112 g_FXCRT_XML_IsWhiteSpace(m_pBuffer[m_dwIndex])) { in SkipWhiteSpaces() 130 ch = m_pBuffer[m_dwIndex]; in GetName() 156 if (str.GetAt(i) != m_pBuffer[m_dwIndex++]) { in SkipLiterals() 190 ch = m_pBuffer[m_dwIndex]; in GetCharRef() 274 ch = m_pBuffer[m_dwIndex]; in GetAttrValue() 318 ch = m_pBuffer[m_dwIndex]; in GetTagName() 378 if (!g_FXCRT_XML_IsNameIntro(m_pBuffer[m_dwIndex])) { in ParseElement() 386 if (m_pBuffer[m_dwIndex] != '=') { in ParseElement() 407 uint8_t ch = m_pBuffer[m_dwIndex++]; in ParseElement() [all …]
|
D | fx_basic_maps.cpp | 172 uint8_t* m_pBuffer; member 176 FX_Free(pCompact->m_pBuffer); in _CompactStringRelease() 192 return FXSYS_memcmp(pCompact->m_pBuffer, pStr, len) == 0; in _CompactStringSame() 205 pCompact->m_pBuffer = FX_Alloc(uint8_t, len); in _CompactStringStore() 206 FXSYS_memcpy(pCompact->m_pBuffer, pStr, len); in _CompactStringStore() 210 return CFX_ByteStringC(pCompact->m_pBuffer, in _CompactStringGet()
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_main.cpp | 59 m_pBuffer = NULL; in CFX_DIBitmap() 68 m_pBuffer = NULL; in Create() 85 m_pBuffer = pBuffer; in Create() 91 m_pBuffer = FX_TryAlloc(uint8_t, size); in Create() 92 if (!m_pBuffer) { in Create() 96 m_pBuffer = FX_Alloc(uint8_t, size); in Create() 107 FX_Free(m_pBuffer); in Create() 108 m_pBuffer = NULL; in Create() 117 if (m_pBuffer) { in Copy() 126 FXSYS_memcpy(m_pBuffer + row * m_Pitch, pSrc->GetScanline(row), m_Pitch); in Copy() [all …]
|
D | fx_dib_convert.cpp | 1159 uint8_t* scanline = m_pBuffer + row * m_Pitch + 3; in ConvertFormat() 1225 FX_Free(m_pBuffer); in ConvertFormat() 1228 m_pBuffer = dest_buf; in ConvertFormat()
|
D | fx_dib_composite.cpp | 4658 if (!m_pBuffer) { in CompositeBitmap() 4690 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * dest_Bpp; in CompositeBitmap() 4702 clip_scan = pClipMask->m_pBuffer + in CompositeBitmap() 4731 if (!m_pBuffer) { in CompositeMask() 4766 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * Bpp; in CompositeMask() 4774 clip_scan = pClipMask->m_pBuffer + in CompositeMask() 4795 if (!m_pBuffer) { in CompositeRect() 4838 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left; in CompositeRect() 4913 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect() 4936 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect()
|
/external/pdfium/xfa/src/fdp/src/css/ |
D | fde_csssyntax.h | 23 return (m_pBuffer[m_iDatLen++] = wch), TRUE; in AppendChar() 28 while (m_iDatLen > 0 && m_pBuffer[m_iDatLen - 1] <= ' ') { in TrimEnd() 36 FX_WCHAR GetAt(int32_t index) const { return m_pBuffer[index]; } in GetAt() 37 FX_WCHAR GetChar() const { return m_pBuffer[m_iDatPos]; } in GetChar() 39 return (m_iDatPos + 1 >= m_iDatLen) ? 0 : m_pBuffer[m_iDatPos + 1]; in GetNextChar() 43 const FX_WCHAR* GetBuffer() const { return m_pBuffer; } in GetBuffer() 48 FX_WCHAR* m_pBuffer; variable
|
D | fde_csssyntax.cpp | 410 m_pBuffer(NULL), in CFDE_CSSTextBuf() 419 FX_Free(m_pBuffer); in Reset() 420 m_pBuffer = NULL; in Reset() 427 m_pBuffer = (FX_WCHAR*)pBuffer; in AttachBuffer() 451 m_iDatLen = pTxtStream->ReadString(m_pBuffer, iMaxChars, bEOS); in LoadFromStream() 459 if (!m_pBuffer) { in ExpandBuf() 460 m_pBuffer = FX_Alloc(FX_WCHAR, iDesiredSize); in ExpandBuf() 462 m_pBuffer = FX_Realloc(FX_WCHAR, m_pBuffer, iDesiredSize); in ExpandBuf() 466 if (!m_pBuffer) { in ExpandBuf() 481 FXSYS_memmove(m_pBuffer, m_pBuffer + iStart, iLength * sizeof(FX_WCHAR)); in Subtract()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_colors.cpp | 1394 m_pBuffer = FX_Alloc(FX_FLOAT, nComps); in CPDF_Color() 1396 m_pBuffer[i] = 0; in CPDF_Color() 1404 if (!m_pBuffer) { in ReleaseBuffer() 1408 PatternValue* pvalue = (PatternValue*)m_pBuffer; in ReleaseBuffer() 1418 FX_Free(m_pBuffer); in ReleaseBuffer() 1419 m_pBuffer = NULL; in ReleaseBuffer() 1429 if (!m_pBuffer) { in SetColorSpace() 1430 m_pBuffer = pCS->CreateBuf(); in SetColorSpace() 1440 m_pBuffer = pCS->CreateBuf(); in SetColorSpace() 1441 pCS->GetDefaultColor(m_pBuffer); in SetColorSpace() [all …]
|
/external/pdfium/xfa/src/fdp/src/xml/ |
D | fde_xml.cpp | 1462 m_pBuffer(nullptr), in CFDE_XMLSyntaxParser() 1484 FXSYS_assert(m_pStream == NULL && m_pBuffer == NULL); in Init() 1492 FXSYS_assert(m_pBuffer == NULL); in Init() 1493 m_pBuffer = FX_Alloc(FX_WCHAR, m_iXMLPlaneSize); in Init() 1494 m_pStart = m_pEnd = m_pBuffer; in Init() 1506 FXSYS_assert(m_pStream && m_pBuffer && m_BlockBuffer.IsInitialized()); in DoSyntaxParse() 1517 m_iParsedChars += (m_pEnd - m_pBuffer); in DoSyntaxParse() 1524 m_pStream->ReadString(m_pBuffer, m_iXMLPlaneSize, m_bEOS); in DoSyntaxParse() 1533 m_pStart = m_pBuffer; in DoSyntaxParse() 1534 m_pEnd = m_pBuffer + m_iBufferChars; in DoSyntaxParse() [all …]
|
D | fde_xml.h | 296 return m_iParsedChars + (m_pStart - m_pBuffer); in GetCurrentPos() 342 FX_WCHAR* m_pBuffer; variable
|
/external/pdfium/core/src/fxge/android/ |
D | fpf_skiafontmgr.h | 74 CFPF_SkiaBufferFont() : m_pBuffer(NULL), m_szBuffer(0) {} in CFPF_SkiaBufferFont() 79 void* m_pBuffer; variable
|
D | fpf_skiafont.cpp | 197 m_Face = pFontMgr->GetFontFace((const uint8_t*)pFont->m_pBuffer, in InitFont()
|
/external/pdfium/core/include/fxge/ |
D | fx_dib.h | 302 uint8_t* GetBuffer() const override { return m_pBuffer; } in GetBuffer() 304 return m_pBuffer ? m_pBuffer + line * m_Pitch : NULL; in GetScanline() 395 uint8_t* m_pBuffer;
|
/external/pdfium/core/include/fxcrt/ |
D | fx_basic.h | 55 m_pBuffer[m_DataSize++] = byte; in AppendByte() 68 uint8_t* GetBuffer() const { return m_pBuffer; } in GetBuffer() 79 uint8_t* m_pBuffer; variable 126 FX_WCHAR* GetBuffer() const { return (FX_WCHAR*)m_pBuffer; } in GetBuffer() 222 uint8_t* m_pBuffer; variable
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_resource.h | 602 CPDF_Color() : m_pCS(NULL), m_pBuffer(NULL) {} in CPDF_Color() 608 FX_BOOL IsNull() const { return !m_pBuffer; } in IsNull() 637 FX_FLOAT* m_pBuffer; variable
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_dib.cpp | 274 (LPVOID*)&m_pBuffer, NULL, 0); in CFX_WindowsDIB()
|