Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp633 FX_STRSIZE nSourceLen = FXSYS_wcslen(lpszOld); in Replace() local
634 if (nSourceLen == 0) { in Replace()
645 lpszStart = lpszTarget + nSourceLen; in Replace()
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()
667 …FXSYS_memmove32(lpszTarget + nReplacementLen, lpszTarget + nSourceLen, nBalance * sizeof(FX_WCHAR)… in Replace()
671 nOldLength += (nReplacementLen - nSourceLen); in Replace()
Dfx_basic_bstring.cpp885 FX_STRSIZE nSourceLen = lpszOld.GetLength(); in Replace() local
891 … FX_LPCSTR pTarget = FX_strstr(pStart, (FX_STRSIZE)(pEnd - pStart), lpszOld.GetCStr(), nSourceLen); in Replace()
896 pStart = pTarget + nSourceLen; in Replace()
901 FX_STRSIZE nNewLength = m_pData->m_nDataLength + (nReplacementLen - nSourceLen) * nCount; in Replace()
913 … FX_LPCSTR pTarget = FX_strstr(pStart, (FX_STRSIZE)(pEnd - pStart), lpszOld.GetCStr(), nSourceLen); in Replace()
918 pStart = pTarget + nSourceLen; in Replace()