Lines Matching refs:nSrcLen
525 void WideString::AssignCopy(const wchar_t* pSrcData, size_t nSrcLen) { in AssignCopy() argument
526 AllocBeforeWrite(nSrcLen); in AssignCopy()
527 m_pData->CopyContents(pSrcData, nSrcLen); in AssignCopy()
528 m_pData->m_nDataLength = nSrcLen; in AssignCopy()
635 void WideString::Concat(const wchar_t* pSrcData, size_t nSrcLen) { in Concat() argument
636 if (!pSrcData || nSrcLen == 0) in Concat()
640 m_pData.Reset(StringData::Create(pSrcData, nSrcLen)); in Concat()
644 if (m_pData->CanOperateInPlace(m_pData->m_nDataLength + nSrcLen)) { in Concat()
645 m_pData->CopyContentsAt(m_pData->m_nDataLength, pSrcData, nSrcLen); in Concat()
646 m_pData->m_nDataLength += nSrcLen; in Concat()
651 StringData::Create(m_pData->m_nDataLength + nSrcLen)); in Concat()
653 pNewData->CopyContentsAt(m_pData->m_nDataLength, pSrcData, nSrcLen); in Concat()