Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp650 FX_STRSIZE nOldLength = m_pData->m_nDataLength; in Replace() local
651 FX_STRSIZE nNewLength = nOldLength + (nReplacementLen - nSourceLen) * nCount; in Replace()
666 … FX_STRSIZE nBalance = nOldLength - (FX_STRSIZE)(lpszTarget - m_pData->m_String + nSourceLen); in Replace()
671 nOldLength += (nReplacementLen - nSourceLen); in Replace()
718 FX_STRSIZE nOldLength = m_pData->m_nDataLength; in Delete() local
719 if (nCount > 0 && nIndex < nOldLength) { in Delete()
721 int nBytesToCopy = nOldLength - (nIndex + nCount) + 1; in Delete()
724 m_pData->m_nDataLength = nOldLength - nCount; in Delete()
Dfx_basic_bstring.cpp393 FX_STRSIZE nOldLength = m_pData->m_nDataLength; in Delete() local
394 if (nCount > 0 && nIndex < nOldLength) { in Delete()
396 if (mLength >= nOldLength) { in Delete()
401 int nBytesToCopy = nOldLength - mLength + 1; in Delete()
404 m_pData->m_nDataLength = nOldLength - nCount; in Delete()