Home
last modified time | relevance | path

Searched refs:m_BlockArray (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_blockbuffer.cpp28 if (m_BlockArray.empty()) in GetAvailableBlock()
33 m_BlockArray.emplace_back(FX_Alloc(wchar_t, kAllocStep)); in GetAvailableBlock()
35 return {m_BlockArray.back().get(), 0}; in GetAvailableBlock()
37 return {m_BlockArray[realIndex / kAllocStep].get(), realIndex % kAllocStep}; in GetAvailableBlock()
41 m_BlockArray.clear(); in InitBuffer()
42 m_BlockArray.emplace_back(FX_Alloc(wchar_t, kAllocStep)); in InitBuffer()
50 if (blockIndex >= m_BlockArray.size()) { in SetTextChar()
51 size_t newBlocks = blockIndex - m_BlockArray.size() + 1; in SetTextChar()
53 m_BlockArray.emplace_back(FX_Alloc(wchar_t, kAllocStep)); in SetTextChar()
57 wchar_t* pTextData = m_BlockArray[blockIndex].get(); in SetTextChar()
[all …]
Dcfx_blockbuffer.h45 std::vector<std::unique_ptr<wchar_t, FxFreeDeleter>> m_BlockArray; variable