Lines Matching refs:nSrcLen
358 void ByteString::AssignCopy(const char* pSrcData, size_t nSrcLen) { in AssignCopy() argument
359 AllocBeforeWrite(nSrcLen); in AssignCopy()
360 m_pData->CopyContents(pSrcData, nSrcLen); in AssignCopy()
361 m_pData->m_nDataLength = nSrcLen; in AssignCopy()
468 void ByteString::Concat(const char* pSrcData, size_t nSrcLen) { in Concat() argument
469 if (!pSrcData || nSrcLen == 0) in Concat()
473 m_pData.Reset(StringData::Create(pSrcData, nSrcLen)); in Concat()
477 if (m_pData->CanOperateInPlace(m_pData->m_nDataLength + nSrcLen)) { in Concat()
478 m_pData->CopyContentsAt(m_pData->m_nDataLength, pSrcData, nSrcLen); in Concat()
479 m_pData->m_nDataLength += nSrcLen; in Concat()
484 StringData::Create(m_pData->m_nDataLength + nSrcLen)); in Concat()
486 pNewData->CopyContentsAt(m_pData->m_nDataLength, pSrcData, nSrcLen); in Concat()