Home
last modified time | relevance | path

Searched refs:m_pBuffer (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dfx_basic_buffer.cpp11 , m_pBuffer(NULL) in CFX_BinaryBuf()
21 m_pBuffer = FX_Alloc(FX_BYTE, size); in CFX_BinaryBuf()
25 if (m_pBuffer) { in ~CFX_BinaryBuf()
26 FX_Free(m_pBuffer); in ~CFX_BinaryBuf()
31 if (!m_pBuffer || start_index < 0 || start_index + count > m_DataSize) { in Delete()
34 …FXSYS_memmove32(m_pBuffer + start_index, m_pBuffer + start_index + count, m_DataSize - start_index… in Delete()
44 m_pBuffer = NULL; in DetachBuffer()
49 if (m_pBuffer) { in AttachData()
50 FX_Free(m_pBuffer); in AttachData()
53 m_pBuffer = (FX_LPBYTE)buffer; in AttachData()
[all …]
Dxml_int.h14 : m_pBuffer(pBuffer) in CXML_DataBufAcc()
49 return m_pBuffer; in GetBlockBuffer()
60 FX_LPCBYTE m_pBuffer;
70 , m_pBuffer(NULL) in CXML_DataStmAcc()
78 if (m_pBuffer) { in ~CXML_DataStmAcc()
79 FX_Free(m_pBuffer); in ~CXML_DataStmAcc()
109 if (!m_pBuffer) {
110 m_pBuffer = FX_Alloc(FX_BYTE, m_dwSize);
112 return m_pFileRead->ReadBlock(m_pBuffer, m_nStart, m_dwSize);
116 return (FX_LPCBYTE)m_pBuffer; in GetBlockBuffer()
[all …]
Dfx_xml_parser.cpp44 m_pBuffer = m_pDataAcc->GetBlockBuffer(); in ReadNextBlock()
116 while (m_dwIndex < m_dwBufferSize && g_FXCRT_XML_IsWhiteSpace(m_pBuffer[m_dwIndex])) { in SkipWhiteSpaces()
135 ch = m_pBuffer[m_dwIndex]; in GetName()
162 if (str.GetAt(i) != m_pBuffer[m_dwIndex ++]) { in SkipLiterals()
197 ch = m_pBuffer[m_dwIndex]; in GetCharRef()
282 ch = m_pBuffer[m_dwIndex]; in GetAttrValue()
324 ch = m_pBuffer[m_dwIndex]; in GetTagName()
384 if (!g_FXCRT_XML_IsNameIntro(m_pBuffer[m_dwIndex])) { in ParseElement()
392 if (m_pBuffer[m_dwIndex] != '=') { in ParseElement()
413 FX_BYTE ch = m_pBuffer[m_dwIndex ++]; in ParseElement()
[all …]
Dfx_basic_maps.cpp384 FX_LPBYTE m_pBuffer; member
389 FX_Free(pCompact->m_pBuffer); in _CompactStringRelease()
403 return FXSYS_memcmp32(pCompact->m_pBuffer, pStr, len) == 0; in _CompactStringSame()
415 pCompact->m_pBuffer = FX_Alloc(FX_BYTE, len); in _CompactStringStore()
416 FXSYS_memcpy32(pCompact->m_pBuffer, pStr, len); in _CompactStringStore()
421 return CFX_ByteStringC(pCompact->m_pBuffer, pCompact->m_LenHigh * 256 + pCompact->m_LenLow); in _CompactStringGet()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp58 m_pBuffer = NULL; in CFX_DIBitmap()
64 m_pBuffer = NULL; in Create()
81 m_pBuffer = pBuffer; in Create()
87 m_pBuffer = FX_TryAlloc(FX_BYTE, size); in Create()
88 if (m_pBuffer == NULL) { in Create()
92 m_pBuffer = FX_Alloc(FX_BYTE, size); in Create()
102 if (!m_bExtBuf && m_pBuffer) { in Create()
103 FX_Free(m_pBuffer); in Create()
104 m_pBuffer = NULL; in Create()
114 if (m_pBuffer) { in Copy()
[all …]
Dfx_dib_convert.cpp989 FX_LPBYTE scanline = m_pBuffer + row * m_Pitch + 3; in ConvertFormat()
1060 FX_Free(m_pBuffer); in ConvertFormat()
1063 m_pBuffer = dest_buf; in ConvertFormat()
Dfx_dib_composite.cpp4099 if (m_pBuffer == NULL) { in CompositeBitmap()
4129 FX_LPBYTE dest_scan = m_pBuffer + (dest_top + row) * m_Pitch + dest_left * dest_Bpp; in CompositeBitmap()
4135 …clip_scan = pClipMask->m_pBuffer + (dest_top + row - clip_box.top) * pClipMask->m_Pitch + (dest_le… in CompositeBitmap()
4149 if (m_pBuffer == NULL) { in CompositeMask()
4179 FX_LPBYTE dest_scan = m_pBuffer + (dest_top + row) * m_Pitch + dest_left * Bpp; in CompositeMask()
4184 …clip_scan = pClipMask->m_pBuffer + (dest_top + row - clip_box.top) * pClipMask->m_Pitch + (dest_le… in CompositeMask()
4196 if (m_pBuffer == NULL) { in CompositeRect()
4237 FX_LPBYTE dest_scan = m_pBuffer + row * m_Pitch + rect.left; in CompositeRect()
4308 FX_LPBYTE dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect()
4329 FX_LPBYTE dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp1295 m_pBuffer = FX_Alloc(FX_FLOAT, nComps); in CPDF_Color()
1297 m_pBuffer[i] = 0; in CPDF_Color()
1307 if (!m_pBuffer) { in ReleaseBuffer()
1311 PatternValue* pvalue = (PatternValue*)m_pBuffer; in ReleaseBuffer()
1320 FX_Free(m_pBuffer); in ReleaseBuffer()
1321 m_pBuffer = NULL; in ReleaseBuffer()
1333 if (m_pBuffer == NULL) { in SetColorSpace()
1334 m_pBuffer = pCS->CreateBuf(); in SetColorSpace()
1344 m_pBuffer = pCS->CreateBuf(); in SetColorSpace()
1345 pCS->GetDefaultColor(m_pBuffer); in SetColorSpace()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_filters.cpp188 pStreamFilter->m_pBuffer = NULL; in GetStreamFilter()
197 if (m_pBuffer) { in ~CPDF_StreamFilter()
198 delete m_pBuffer; in ~CPDF_StreamFilter()
217 if (m_pBuffer) { in ReadBlock()
225 ASSERT(m_pBuffer == NULL); in ReadBlock()
229 m_pBuffer = new CFX_BinaryBuf; in ReadBlock()
230 m_pBuffer->EstimateSize(FPDF_FILTER_BUFFER_SIZE, FPDF_FILTER_BUFFER_SIZE); in ReadBlock()
235 m_pFilter->FilterFinish(*m_pBuffer); in ReadBlock()
245 m_pFilter->FilterIn(m_SrcBuffer, src_size, *m_pBuffer); in ReadBlock()
246 if (m_pBuffer->GetSize() >= (int)buf_size) { in ReadBlock()
[all …]
/external/pdfium/core/src/fxge/android/
Dfpf_skiafontmgr.h84 CFPF_SkiaBufferFont() : m_pBuffer(NULL), m_szBuffer(0) {} in CFPF_SkiaBufferFont()
89 FX_LPVOID m_pBuffer; variable
Dfpf_skiafont.cpp187 …m_Face = pFontMgr->GetFontFace((FX_LPCBYTE)pFont->m_pBuffer, pFont->m_szBuffer, pFont->m_iFaceInde… in InitFont()
/external/pdfium/core/include/fxge/
Dfx_dib.h300 return m_pBuffer; in GetBuffer()
305 return m_pBuffer ? m_pBuffer + line * m_Pitch : NULL; in GetScanline()
350 FX_LPBYTE m_pBuffer;
/external/pdfium/core/include/fxcrt/
Dfx_basic.h56 m_pBuffer[m_DataSize++] = byte; in AppendByte()
71 return m_pBuffer; in GetBuffer()
86 FX_LPBYTE m_pBuffer; variable
148 return (FX_LPWSTR)m_pBuffer; in GetBuffer()
259 FX_LPBYTE m_pBuffer; variable
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h674 CPDF_Color() :m_pCS(NULL), m_pBuffer(NULL) in CPDF_Color()
684 return m_pBuffer == NULL; in IsNull()
715 FX_FLOAT* m_pBuffer; variable
Dfpdf_objects.h654 CFX_BinaryBuf* m_pBuffer; variable
/external/pdfium/core/src/fxge/win32/
Dfx_win32_dib.cpp264 …m_hBitmap = CreateDIBSection(hDC, (BITMAPINFO*)&bmih, DIB_RGB_COLORS, (LPVOID*)&m_pBuffer, NULL, 0… in CFX_WindowsDIB()