Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp41 if (m_pData) { in ~CFX_WideString()
42 m_pData->Release(); in ~CFX_WideString()
47 if (stringSrc.m_pData == NULL) { in CFX_WideString()
48 m_pData = NULL; in CFX_WideString()
51 if (stringSrc.m_pData->m_nRefs >= 0) { in CFX_WideString()
52 m_pData = stringSrc.m_pData; in CFX_WideString()
53 m_pData->Retain(); in CFX_WideString()
55 m_pData = NULL; in CFX_WideString()
64 m_pData = StringData::Create(nLen); in CFX_WideString()
65 if (m_pData) { in CFX_WideString()
[all …]
Dfx_basic_bstring.cpp80 if (m_pData) { in ~CFX_ByteString()
81 m_pData->Release(); in ~CFX_ByteString()
90 m_pData = StringData::Create(nLen); in CFX_ByteString()
91 if (m_pData) { in CFX_ByteString()
92 FXSYS_memcpy32(m_pData->m_String, lpsz, nLen); in CFX_ByteString()
95 m_pData = NULL; in CFX_ByteString()
101 m_pData = StringData::Create(nLen); in CFX_ByteString()
102 if (m_pData) { in CFX_ByteString()
103 FXSYS_memcpy32(m_pData->m_String, lpsz, nLen); in CFX_ByteString()
106 m_pData = NULL; in CFX_ByteString()
[all …]
Dfx_basic_array.cpp11 : m_pData(NULL) in CFX_BasicArray()
23 FX_Free(m_pData); in ~CFX_BasicArray()
28 FX_Free(m_pData); in SetSize()
29 m_pData = NULL; in SetSize()
34 if (m_pData == NULL) { in SetSize()
41 m_pData = FX_Alloc(FX_BYTE, totalSize.ValueOrDie()); in SetSize()
45 FXSYS_memset32(m_pData + m_nSize * m_nUnitSize, 0, (nNewSize - m_nSize) * m_nUnitSize); in SetSize()
55 FX_LPBYTE pNewData = FX_Realloc(FX_BYTE, m_pData, totalSize.ValueOrDie()); in SetSize()
60 m_pData = pNewData; in SetSize()
75 FXSYS_memcpy32(m_pData + nOldSize * m_nUnitSize, src.m_pData, src.m_nSize * m_nUnitSize); in Append()
[all …]
Dfx_basic_buffer.cpp386 m_pData = pData; in Init()
404 int bit = (m_pData[m_BitPos / 8] & (1 << (7 - m_BitPos % 8))) ? 1 : 0; in GetBits()
413 result = (m_pData[byte_pos] & (0xff >> bit_pos)) >> (8 - bit_pos - bit_left); in GetBits()
418 result = (m_pData[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left; in GetBits()
422 result |= m_pData[byte_pos++] << bit_left; in GetBits()
425 result |= m_pData[byte_pos] >> (8 - bit_left); in GetBits()
Dfx_basic_util.cpp20 if (m_pData == NULL) { in FreeData()
24 delete (CFX_DestructObject*)m_pData; in FreeData()
26 m_pCallback(m_pData); in FreeData()
39 pList[i].m_pData = pData; in AddData()
79 return pList[i].m_pData; in GetPrivateData()
/external/pdfium/core/src/fpdfdoc/
Ddoc_metadata.cpp29 m_pData = FX_Alloc(PDFDOC_METADATA, 1); in CPDF_Metadata()
30 CFX_CMapByteStringToPtr *&pStringMap = ((PDFDOC_LPMETADATA)m_pData)->m_pStringMap; in CPDF_Metadata()
41 FXSYS_assert(m_pData != NULL); in ~CPDF_Metadata()
42 CXML_Element *&p = ((PDFDOC_LPMETADATA)m_pData)->m_pXmlElmnt; in ~CPDF_Metadata()
44 CFX_CMapByteStringToPtr *pStringMap = ((PDFDOC_LPMETADATA)m_pData)->m_pStringMap; in ~CPDF_Metadata()
49 FX_Free(m_pData); in ~CPDF_Metadata()
54 ((PDFDOC_LPMETADATA)m_pData)->m_pDoc = pDoc; in LoadDoc()
64 CXML_Element *&pXmlElmnt = ((PDFDOC_LPMETADATA)m_pData)->m_pXmlElmnt; in LoadDoc()
69 CXML_Element *&pElmntRdf = ((PDFDOC_LPMETADATA)m_pData)->m_pElmntRdf; in LoadDoc()
78 if (!((PDFDOC_LPMETADATA)m_pData)->m_pXmlElmnt) { in GetString()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp48 m_pData = pData; in CPDF_SimpleParser()
54 m_pData = str.GetPtr(); in CPDF_SimpleParser()
69 ch = m_pData[m_dwCurPos++]; in ParseWord()
75 ch = m_pData[m_dwCurPos++]; in ParseWord()
85 ch = m_pData[m_dwCurPos++]; in ParseWord()
93 pStart = m_pData + start_pos; in ParseWord()
100 ch = m_pData[m_dwCurPos++]; in ParseWord()
116 ch = m_pData[m_dwCurPos++]; in ParseWord()
126 ch = m_pData[m_dwCurPos++]; in ParseWord()
145 ch = m_pData[m_dwCurPos++]; in ParseWord()
[all …]
Dfpdf_parser_objects.cpp1063 m_pData = NULL; in CPDF_StreamAcc()
1079 m_pData = (FX_LPBYTE)pStream->m_pDataBuf; in LoadAllData()
1111 m_pData = pDecryptedData; in LoadAllData()
1115m_pData, m_dwSize, m_ImageDecoder, m_pImageParam, estimated_size, bImageAcc); in LoadAllData()
1117 m_pData = pDecryptedData; in LoadAllData()
1121 if (pSrcData != pStream->m_pDataBuf && pSrcData != m_pData) { in LoadAllData()
1124 if (pDecryptedData != pSrcData && pDecryptedData != m_pData) { in LoadAllData()
1128 m_bNewBuf = m_pData != pStream->m_pDataBuf; in LoadAllData()
1132 if (m_bNewBuf && m_pData) { in ~CPDF_StreamAcc()
1133 FX_Free(m_pData); in ~CPDF_StreamAcc()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_string.h183 m_pData = NULL; in CFX_ByteString()
209 return m_pData ? m_pData->m_String : ""; in c_str()
215 return m_pData ? m_pData->m_String : ""; in FX_LPCSTR()
220 return m_pData ? (FX_LPCBYTE)m_pData->m_String : NULL; in FX_LPCBYTE()
225 return m_pData ? m_pData->m_nDataLength : 0; in GetLength()
282 return m_pData ? m_pData->m_String[nIndex] : 0; in GetAt()
287 return m_pData ? m_pData->m_String[nIndex] : 0;
391 StringData* m_pData; variable
628 m_pData = NULL; in CFX_WideString()
657 return m_pData ? m_pData->m_String : L""; in c_str()
[all …]
Dfx_basic.h377 FX_LPBYTE m_pData;
416 return ((const TYPE*)m_pData)[nIndex]; in GetAt()
424 ((TYPE*)m_pData)[nIndex] = newElement; in SetAt()
433 return ((TYPE*)m_pData)[nIndex]; in ElementAt()
438 return (const TYPE*)m_pData; in GetData()
443 return (TYPE*)m_pData; in GetData()
455 ((TYPE*)m_pData)[nIndex] = newElement; in SetAtGrow()
466 ((TYPE*)m_pData)[m_nSize - 1] = newElement; in Add()
500 return ((const TYPE*)m_pData)[nIndex];
508 return ((TYPE*)m_pData)[nIndex];
[all …]
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_Image.cpp18 m_pData = NULL; in CJBig2_Image()
24 m_pData = (FX_BYTE *)m_pModule->JBig2_Malloc2(m_nStride, m_nHeight); in CJBig2_Image()
26 m_pData = NULL; in CJBig2_Image()
35 m_pData = pBuf; in CJBig2_Image()
44 if (im.m_pData) { in CJBig2_Image()
45 m_pData = (FX_BYTE*)m_pModule->JBig2_Malloc2(m_nStride, m_nHeight); in CJBig2_Image()
46 JBIG2_memcpy(m_pData, im.m_pData, m_nStride * m_nHeight); in CJBig2_Image()
48 m_pData = NULL; in CJBig2_Image()
54 if(m_bNeedFree && m_pData) { in ~CJBig2_Image()
55 m_pModule->JBig2_Free(m_pData); in ~CJBig2_Image()
[all …]
DJBig2_GeneralDecoder.cpp158 if (GBREG->m_pData == NULL) { in decode_Arith_Template0_opt2()
163 pLine = GBREG->m_pData; in decode_Arith_Template0_opt2()
225 if (GBREG->m_pData == NULL) { in decode_Arith_Template0_opt3()
230 pLine = GBREG->m_pData; in decode_Arith_Template0_opt3()
409 if (GBREG->m_pData == NULL) { in decode_Arith_Template1_opt2()
414 pLine = GBREG->m_pData; in decode_Arith_Template1_opt2()
476 if (GBREG->m_pData == NULL) { in decode_Arith_Template1_opt3()
481 pLine = GBREG->m_pData; in decode_Arith_Template1_opt3()
655 if (GBREG->m_pData == NULL) { in decode_Arith_Template2_opt2()
660 pLine = GBREG->m_pData; in decode_Arith_Template2_opt2()
[all …]
DJBig2_Segment.cpp25 m_pData = NULL; in init()
DJBig2_Segment.h57 FX_BYTE *m_pData; variable
DJBig2_Image.h64 FX_BYTE *m_pData; variable
DJBig2_Context.cpp500 pSegment->m_pData = m_pStream->getPointer(); in parseSegmentHeader()
630 FX_BYTE *key = pSegment->m_pData; in parseSymbolDict()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp312 FX_LPBYTE m_pData; member in CPDF_FlateEncoder
321 m_pData = NULL; in CPDF_FlateEncoder()
342 m_pData = (FX_LPBYTE)destAcc.DetachData(); in Initialize()
348 m_pData = (FX_LPBYTE)m_Acc.GetData(); in Initialize()
354 m_pData = NULL; in Initialize()
358 ::FlateEncode(m_Acc.GetData(), m_Acc.GetSize(), m_pData, m_dwSize); in Initialize()
368 m_pData = (FX_LPBYTE)pBuffer; in Initialize()
374 ::FlateEncode(pBuffer, size, 12, 1, 8, 7, m_pData, m_dwSize); in Initialize()
376 ::FlateEncode(pBuffer, size, m_pData, m_dwSize); in Initialize()
385 if (m_bNewData && m_pData) { in ~CPDF_FlateEncoder()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser_old.cpp911 m_pData = NULL; in CPDF_ContentParser()
934 if (m_pData && m_pSingleStream == NULL) { in Clear()
935 FX_Free((void*)m_pData); in Clear()
940 m_pData = NULL; in Clear()
1029 m_pData = (FX_LPBYTE)m_pSingleStream->GetData(); in Start()
1052 m_pData = FX_Alloc(FX_BYTE, m_Size); in Continue()
1055 … FXSYS_memcpy32(m_pData + pos, m_pStreamArray[i]->GetData(), m_pStreamArray[i]->GetSize()); in Continue()
1057 m_pData[pos - 1] = ' '; in Continue()
1063 m_pData = (FX_LPBYTE)m_pSingleStream->GetData(); in Continue()
1087 …m_CurrentOffset += m_pParser->Parse(m_pData + m_CurrentOffset, m_Size - m_CurrentOffset, PARSE_STE… in Continue()
Dpageint.h310 FX_LPBYTE m_pData; variable
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jbig.cpp72 dest_buf = dest_image->m_pData; in Decode()
146 dest_buf = m_pJbig2Context->m_dest_image->m_pData; in StartDecode()
158 dest_buf = m_pJbig2Context->m_dest_image->m_pData; in StartDecode()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_IconList.h54 void* m_pData; variable
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_IconList.cpp24 m_pData(NULL), in CPWL_IconList_Item()
100 m_pData = pData; in SetData()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h611 FX_LPBYTE m_pData;
Dfpdf_parser.h234 FX_LPCBYTE m_pData; variable
/external/pdfium/core/include/fpdfdoc/
Dfpdf_doc.h1599 FX_LPVOID m_pData;