Lines Matching refs:pNewData
373 RetainPtr<StringData> pNewData(StringData::Create(nNewLength)); in ReallocBeforeWrite() local
376 pNewData->CopyContents(m_pData->m_String, nCopyLength); in ReallocBeforeWrite()
377 pNewData->m_nDataLength = nCopyLength; in ReallocBeforeWrite()
379 pNewData->m_nDataLength = 0; in ReallocBeforeWrite()
381 pNewData->m_String[pNewData->m_nDataLength] = 0; in ReallocBeforeWrite()
382 m_pData.Swap(pNewData); in ReallocBeforeWrite()
440 RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer() local
441 pNewData->CopyContents(*m_pData); in GetBuffer()
442 pNewData->m_nDataLength = m_pData->m_nDataLength; in GetBuffer()
443 m_pData.Swap(pNewData); in GetBuffer()
483 RetainPtr<StringData> pNewData( in Concat() local
485 pNewData->CopyContents(*m_pData); in Concat()
486 pNewData->CopyContentsAt(m_pData->m_nDataLength, pSrcData, nSrcLen); in Concat()
487 m_pData.Swap(pNewData); in Concat()
529 RetainPtr<StringData> pNewData( in AllocCopy() local
531 dest.m_pData.Swap(pNewData); in AllocCopy()
674 RetainPtr<StringData> pNewData(StringData::Create(nNewLength)); in Replace() local
676 char* pDest = pNewData->m_String; in Replace()
687 m_pData.Swap(pNewData); in Replace()