Home
last modified time | relevance | path

Searched refs:nSrcLen (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxcrt/
Dbytestring.cpp358 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()
[all …]
Dwidestring.cpp525 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()
[all …]
Dbytestring.h196 void AssignCopy(const char* pSrcData, size_t nSrcLen);
197 void Concat(const char* lpszSrcData, size_t nSrcLen);
Dwidestring.h199 void AssignCopy(const wchar_t* pSrcData, size_t nSrcLen);
200 void Concat(const wchar_t* lpszSrcData, size_t nSrcLen);