Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp1322 m_iAllocStep(iAllocStep), in CFDE_BlockBuffer()
1335 FX_WCHAR* pBlock = FX_Alloc(FX_WCHAR, m_iAllocStep); in GetAvailableBlock()
1337 m_iBufferSize += m_iAllocStep; in GetAvailableBlock()
1340 iIndexInBlock = iRealIndex % m_iAllocStep; in GetAvailableBlock()
1341 return (FX_WCHAR*)m_BlockArray[iRealIndex / m_iAllocStep]; in GetAvailableBlock()
1345 int32_t iNumOfBlock = (iBufferSize - 1) / m_iAllocStep + 1; in InitBuffer()
1347 m_BlockArray.Add(FX_Alloc(FX_WCHAR, m_iAllocStep)); in InitBuffer()
1349 m_iBufferSize = iNumOfBlock * m_iAllocStep; in InitBuffer()
1357 int32_t iBlockIndex = iRealIndex / m_iAllocStep; in SetTextChar()
1358 int32_t iInnerIndex = iRealIndex % m_iAllocStep; in SetTextChar()
[all …]
Dfde_xml.h237 FX_BOOL IsInitialized() { return m_iBufferSize / m_iAllocStep >= 1; } in IsInitialized()
240 inline int32_t GetAllocStep() const { return m_iAllocStep; } in GetAllocStep()
262 int32_t m_iAllocStep; variable
351 int32_t m_iAllocStep; variable