Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp216 void CFX_WideString::ConcatInPlace(FX_STRSIZE nSrcLen, in ConcatInPlace() argument
218 if (nSrcLen == 0 || !lpszSrcData) { in ConcatInPlace()
222 m_pData = StringData::Create(nSrcLen); in ConcatInPlace()
224 FXSYS_memcpy(m_pData->m_String, lpszSrcData, nSrcLen * sizeof(FX_WCHAR)); in ConcatInPlace()
229 m_pData->m_nDataLength + nSrcLen > m_pData->m_nAllocLength) { in ConcatInPlace()
230 ConcatCopy(m_pData->m_nDataLength, m_pData->m_String, nSrcLen, lpszSrcData); in ConcatInPlace()
233 nSrcLen * sizeof(FX_WCHAR)); in ConcatInPlace()
234 m_pData->m_nDataLength += nSrcLen; in ConcatInPlace()
275 void CFX_WideString::AssignCopy(FX_STRSIZE nSrcLen, in AssignCopy() argument
277 AllocBeforeWrite(nSrcLen); in AssignCopy()
[all …]
Dfx_basic_bstring.cpp283 void CFX_ByteString::AssignCopy(FX_STRSIZE nSrcLen, in AssignCopy() argument
285 AllocBeforeWrite(nSrcLen); in AssignCopy()
286 FXSYS_memcpy(m_pData->m_String, lpszSrcData, nSrcLen); in AssignCopy()
287 m_pData->m_nDataLength = nSrcLen; in AssignCopy()
288 m_pData->m_String[nSrcLen] = 0; in AssignCopy()
382 void CFX_ByteString::ConcatInPlace(FX_STRSIZE nSrcLen, in ConcatInPlace() argument
384 if (nSrcLen == 0 || !lpszSrcData) { in ConcatInPlace()
388 m_pData = StringData::Create(nSrcLen); in ConcatInPlace()
392 FXSYS_memcpy(m_pData->m_String, lpszSrcData, nSrcLen); in ConcatInPlace()
396 m_pData->m_nDataLength + nSrcLen > m_pData->m_nAllocLength) { in ConcatInPlace()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_string.h338 void AssignCopy(FX_STRSIZE nSrcLen, const FX_CHAR* lpszSrcData);
343 void ConcatInPlace(FX_STRSIZE nSrcLen, const FX_CHAR* lpszSrcData);
718 void ConcatInPlace(FX_STRSIZE nSrcLen, const FX_WCHAR* lpszSrcData);
723 void AssignCopy(FX_STRSIZE nSrcLen, const FX_WCHAR* lpszSrcData);
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp2483 int32_t nSrcLen = m_pStart - m_pBuffer; in GetCurrentBinaryPos() local
2484 int32_t nDstLen = FX_GetUTF8EncodeLength(m_pBuffer, nSrcLen); in GetCurrentBinaryPos()