Home
last modified time | relevance | path

Searched refs:nOldLength (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_basic_wstring.cpp308 FX_STRSIZE nOldLength = m_pData->m_nDataLength; in Delete() local
309 if (nCount > 0 && nIndex < nOldLength) { in Delete()
311 if (mLength >= nOldLength) { in Delete()
315 ReallocBeforeWrite(nOldLength); in Delete()
316 int nCharsToCopy = nOldLength - mLength + 1; in Delete()
319 m_pData->m_nDataLength = nOldLength - nCount; in Delete()
Dfx_basic_bstring.cpp359 FX_STRSIZE nOldLength = m_pData->m_nDataLength; in Delete() local
360 if (nCount > 0 && nIndex < nOldLength) { in Delete()
362 if (mLength >= nOldLength) { in Delete()
366 ReallocBeforeWrite(nOldLength); in Delete()
367 int nCharsToCopy = nOldLength - mLength + 1; in Delete()
370 m_pData->m_nDataLength = nOldLength - nCount; in Delete()
/external/pdfium/xfa/fde/
Dcfde_txtedtengine.cpp749 int32_t nOldLength = wsText.GetLength(); in GetPreInsertText() local
751 FX_WCHAR* lpBuffer = wsTemp.GetBuffer(nOldLength + nLength); in GetPreInsertText()
755 (nOldLength - nIndex) * sizeof(FX_WCHAR)); in GetPreInsertText()
756 wsTemp.ReleaseBuffer(nOldLength + nLength); in GetPreInsertText()