Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_basic_wstring.cpp209 void CFX_WideString::AssignCopy(const FX_WCHAR* pSrcData, FX_STRSIZE nSrcLen) { in AssignCopy() argument
210 AllocBeforeWrite(nSrcLen); in AssignCopy()
211 m_pData->CopyContents(pSrcData, nSrcLen); in AssignCopy()
212 m_pData->m_nDataLength = nSrcLen; in AssignCopy()
324 void CFX_WideString::Concat(const FX_WCHAR* pSrcData, FX_STRSIZE nSrcLen) { in Concat() argument
325 if (!pSrcData || nSrcLen <= 0) in Concat()
329 m_pData.Reset(StringData::Create(pSrcData, nSrcLen)); in Concat()
333 if (m_pData->CanOperateInPlace(m_pData->m_nDataLength + nSrcLen)) { in Concat()
334 m_pData->CopyContentsAt(m_pData->m_nDataLength, pSrcData, nSrcLen); in Concat()
335 m_pData->m_nDataLength += nSrcLen; in Concat()
[all …]
Dfx_basic_bstring.cpp260 void CFX_ByteString::AssignCopy(const FX_CHAR* pSrcData, FX_STRSIZE nSrcLen) { in AssignCopy() argument
261 AllocBeforeWrite(nSrcLen); in AssignCopy()
262 m_pData->CopyContents(pSrcData, nSrcLen); in AssignCopy()
263 m_pData->m_nDataLength = nSrcLen; in AssignCopy()
375 void CFX_ByteString::Concat(const FX_CHAR* pSrcData, FX_STRSIZE nSrcLen) { in Concat() argument
376 if (!pSrcData || nSrcLen <= 0) in Concat()
380 m_pData.Reset(StringData::Create(pSrcData, nSrcLen)); in Concat()
384 if (m_pData->CanOperateInPlace(m_pData->m_nDataLength + nSrcLen)) { in Concat()
385 m_pData->CopyContentsAt(m_pData->m_nDataLength, pSrcData, nSrcLen); in Concat()
386 m_pData->m_nDataLength += nSrcLen; in Concat()
[all …]
Dfx_string.h167 void AssignCopy(const FX_CHAR* pSrcData, FX_STRSIZE nSrcLen);
168 void Concat(const FX_CHAR* lpszSrcData, FX_STRSIZE nSrcLen);
361 void AssignCopy(const FX_WCHAR* pSrcData, FX_STRSIZE nSrcLen);
362 void Concat(const FX_WCHAR* lpszSrcData, FX_STRSIZE nSrcLen);
/external/pdfium/xfa/fde/xml/
Dfde_xml_imp.cpp1817 int32_t nSrcLen = m_pStart - m_pBuffer; in GetCurrentBinaryPos() local
1818 int32_t nDstLen = FX_GetUTF8EncodeLength(m_pBuffer, nSrcLen); in GetCurrentBinaryPos()