Searched refs:nSrcLen (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_bstring.cpp | 304 void CFX_ByteString::AssignCopy(FX_STRSIZE nSrcLen, FX_LPCSTR lpszSrcData) in AssignCopy() argument 306 AllocBeforeWrite(nSrcLen); in AssignCopy() 307 FXSYS_memcpy32(m_pData->m_String, lpszSrcData, nSrcLen); in AssignCopy() 308 m_pData->m_nDataLength = nSrcLen; in AssignCopy() 309 m_pData->m_String[nSrcLen] = 0; in AssignCopy() 408 void CFX_ByteString::ConcatInPlace(FX_STRSIZE nSrcLen, FX_LPCSTR lpszSrcData) in ConcatInPlace() argument 410 if (nSrcLen == 0 || lpszSrcData == NULL) { in ConcatInPlace() 414 m_pData = StringData::Create(nSrcLen); in ConcatInPlace() 418 FXSYS_memcpy32(m_pData->m_String, lpszSrcData, nSrcLen); in ConcatInPlace() 421 if (m_pData->m_nRefs > 1 || m_pData->m_nDataLength + nSrcLen > m_pData->m_nAllocLength) { in ConcatInPlace() [all …]
|
D | fx_basic_wstring.cpp | 224 void CFX_WideString::ConcatInPlace(FX_STRSIZE nSrcLen, FX_LPCWSTR lpszSrcData) in ConcatInPlace() argument 226 if (nSrcLen == 0 || lpszSrcData == NULL) { in ConcatInPlace() 230 m_pData = StringData::Create(nSrcLen); in ConcatInPlace() 232 FXSYS_memcpy32(m_pData->m_String, lpszSrcData, nSrcLen * sizeof(FX_WCHAR)); in ConcatInPlace() 236 if (m_pData->m_nRefs > 1 || m_pData->m_nDataLength + nSrcLen > m_pData->m_nAllocLength) { in ConcatInPlace() 237 ConcatCopy(m_pData->m_nDataLength, m_pData->m_String, nSrcLen, lpszSrcData); in ConcatInPlace() 239 …FXSYS_memcpy32(m_pData->m_String + m_pData->m_nDataLength, lpszSrcData, nSrcLen * sizeof(FX_WCHAR)… in ConcatInPlace() 240 m_pData->m_nDataLength += nSrcLen; in ConcatInPlace() 281 void CFX_WideString::AssignCopy(FX_STRSIZE nSrcLen, FX_LPCWSTR lpszSrcData) in AssignCopy() argument 283 AllocBeforeWrite(nSrcLen); in AssignCopy() [all …]
|
/external/pdfium/core/include/fxcrt/ |
D | fx_string.h | 385 void AssignCopy(FX_STRSIZE nSrcLen, FX_LPCSTR lpszSrcData); 387 void ConcatInPlace(FX_STRSIZE nSrcLen, FX_LPCSTR lpszSrcData); 813 void ConcatInPlace(FX_STRSIZE nSrcLen, FX_LPCWSTR lpszSrcData); 815 void AssignCopy(FX_STRSIZE nSrcLen, FX_LPCWSTR lpszSrcData);
|