Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/page/
Dcpdf_color.cpp26 if (!m_pBuffer) in ReleaseBuffer()
30 PatternValue* pvalue = reinterpret_cast<PatternValue*>(m_pBuffer); in ReleaseBuffer()
39 FX_Free(m_pBuffer); in ReleaseBuffer()
40 m_pBuffer = nullptr; in ReleaseBuffer()
64 if (!m_pBuffer) in SetColorSpace()
65 m_pBuffer = pCS->CreateBuf(); in SetColorSpace()
76 m_pBuffer = pCS->CreateBuf(); in SetColorSpace()
77 pCS->GetDefaultColor(m_pBuffer); in SetColorSpace()
82 if (!m_pBuffer) in SetValue()
85 memcpy(m_pBuffer, comps, m_pCS->CountComponents() * sizeof(float)); in SetValue()
[all …]
Dcpdf_color.h20 bool IsNull() const { return !m_pBuffer; } in IsNull()
41 float* m_pBuffer = nullptr; variable
/external/pdfium/core/fxcrt/css/
Dcfx_csstextbuf.cpp12 : m_pBuffer(nullptr), m_iBufLen(0), m_iDatLen(0) {} in CFX_CSSTextBuf()
15 FX_Free(m_pBuffer); in ~CFX_CSSTextBuf()
16 m_pBuffer = nullptr; in ~CFX_CSSTextBuf()
28 m_pBuffer[m_iDatLen++] = wch; in AppendChar()
32 while (m_iDatLen > 0 && m_pBuffer[m_iDatLen - 1] <= ' ') in TrimEnd()
40 if (m_pBuffer && m_iBufLen == iDesiredSize) in ExpandBuf()
43 if (m_pBuffer) in ExpandBuf()
44 m_pBuffer = FX_Realloc(wchar_t, m_pBuffer, iDesiredSize); in ExpandBuf()
46 m_pBuffer = FX_Alloc(wchar_t, iDesiredSize); in ExpandBuf()
Dcfx_csstextbuf.h25 const wchar_t* GetBuffer() const { return m_pBuffer; } in GetBuffer()
30 wchar_t* m_pBuffer; variable
/external/pdfium/core/fxcrt/
Dcfx_binarybuf.cpp18 if (!m_pBuffer || count > m_DataSize || start_index > m_DataSize - count) in Delete()
21 memmove(m_pBuffer.get() + start_index, m_pBuffer.get() + start_index + count, in Delete()
37 return std::move(m_pBuffer); in DetachBuffer()
58 m_pBuffer.reset(m_pBuffer in ExpandBuf()
59 ? FX_Realloc(uint8_t, m_pBuffer.release(), m_AllocSize) in ExpandBuf()
69 memcpy(m_pBuffer.get() + m_DataSize, pBuf, size); in AppendBlock()
71 memset(m_pBuffer.get() + m_DataSize, 0, size); in AppendBlock()
Dcfx_widetextbuf.cpp15 *(wchar_t*)(m_pBuffer.get() + m_DataSize) = ch; in AppendChar()
34 wchar_t* str = (wchar_t*)(m_pBuffer.get() + m_DataSize); in operator <<()
46 wchar_t* str = (wchar_t*)(m_pBuffer.get() + m_DataSize); in operator <<()
60 AppendBlock(buf.m_pBuffer.get(), buf.m_DataSize); in operator <<()
Dcfx_binarybuf.h21 uint8_t* GetBuffer() const { return m_pBuffer.get(); } in GetBuffer()
35 m_pBuffer.get()[m_DataSize++] = byte; in AppendByte()
49 std::unique_ptr<uint8_t, FxFreeDeleter> m_pBuffer; variable
Dcfx_widetextbuf.h19 return reinterpret_cast<wchar_t*>(m_pBuffer.get()); in GetBuffer()
23 return WideStringView(reinterpret_cast<const wchar_t*>(m_pBuffer.get()), in AsStringView()
27 return WideString(reinterpret_cast<const wchar_t*>(m_pBuffer.get()), in MakeString()
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp38 m_pBuffer = nullptr; in Create()
51 m_pBuffer.Reset(pBuffer); in Create()
56 m_pBuffer = std::unique_ptr<uint8_t, FxFreeDeleter>( in Create()
58 if (!m_pBuffer) in Create()
61 m_pBuffer = std::unique_ptr<uint8_t, FxFreeDeleter>( in Create()
77 m_pBuffer = nullptr; in Create()
85 if (m_pBuffer) in Copy()
94 memcpy(m_pBuffer.Get() + row * m_Pitch, pSrc->GetScanline(row), m_Pitch); in Copy()
101 return m_pBuffer.Get(); in GetBuffer()
105 return m_pBuffer.Get() ? m_pBuffer.Get() + line * m_Pitch : nullptr; in GetScanline()
[all …]
Dcfx_dibitmap.h119 MaybeOwned<uint8_t, FxFreeDeleter> m_pBuffer; variable
/external/pdfium/core/fxcrt/xml/
Dcxml_parser.cpp83 m_pBuffer(nullptr), in CXML_Parser()
100 m_pBuffer = m_pDataAcc->GetBlockBuffer(); in ReadNextBlock()
118 g_FXCRT_XML_IsWhiteSpace(m_pBuffer[m_dwIndex])) { in SkipWhiteSpaces()
135 uint8_t ch = m_pBuffer[m_dwIndex]; in GetName()
161 if (str[i] != m_pBuffer[m_dwIndex++]) { in SkipLiterals()
194 ch = m_pBuffer[m_dwIndex]; in GetCharRef()
279 ch = m_pBuffer[m_dwIndex]; in GetAttrValue()
321 ch = m_pBuffer[m_dwIndex]; in GetTagName()
393 if (!g_FXCRT_XML_IsNameIntro(m_pBuffer[m_dwIndex])) in ParseElementInternal()
401 if (m_pBuffer[m_dwIndex] != '=') in ParseElementInternal()
[all …]
Dcxml_databufacc.h22 const uint8_t* GetBlockBuffer() const { return m_pBuffer; } in GetBlockBuffer()
26 const uint8_t* m_pBuffer;
Dcxml_databufacc.cpp10 : m_pBuffer(pBuffer), m_dwSize(size), m_dwCurPos(0) {} in CXML_DataBufAcc()
Dcxml_parser.h51 const uint8_t* m_pBuffer; variable
/external/pdfium/core/fxge/android/
Dcfpf_skiabufferfont.cpp10 : m_pBuffer(nullptr), m_szBuffer(0) {} in CFPF_SkiaBufferFont()
Dcfpf_skiabufferfont.h22 void* m_pBuffer; variable
Dcfpf_skiafont.cpp203 m_Face = pFontMgr->GetFontFace((const uint8_t*)pFont->m_pBuffer, in InitFont()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationWin32KeyedMutexTests.cpp638 m_pBuffer[i] = NULL; in DX11Operation()
657 hr = m_pDevice->CreateBuffer(&descBuf, NULL, &m_pBuffer[i]); in DX11Operation()
664 hr = m_pBuffer[i]->QueryInterface(__uuidof(IDXGIResource), (void**)&tempResource); in DX11Operation()
672 hr = m_pBuffer[i]->QueryInterface(__uuidof(IDXGIKeyedMutex), (void**)&m_keyedMutex[i]); in DX11Operation()
886 …m_pContext->CopySubresourceRegion(m_pBuffer[BUFFER_VK_READ], 0, 0, 0, 0, m_pBuffer[BUFFER_VK_WRITE… in copyMemory()
1083 if (m_pBuffer[i]) { in cleanup()
1084 m_pBuffer[i]->Release(); in cleanup()
1085 m_pBuffer[i] = NULL; in cleanup()
1186 ID3D11Buffer* m_pBuffer[BUFFER_COUNT]; member in vkt::synchronization::__anon5ba6bebb0111::DX11Operation
/external/pdfium/core/fxge/win32/
Dfx_win32_dib.cpp197 m_pBuffer.Reset(static_cast<uint8_t*>(pData)); in CFX_WindowsDIB()