Searched refs:nNewLength (Results 1 – 4 of 4) sorted by relevance
341 void ByteString::ReallocBeforeWrite(size_t nNewLength) { in ReallocBeforeWrite() argument342 if (m_pData && m_pData->CanOperateInPlace(nNewLength)) in ReallocBeforeWrite()345 if (nNewLength == 0) { in ReallocBeforeWrite()350 RetainPtr<StringData> pNewData(StringData::Create(nNewLength)); in ReallocBeforeWrite()352 size_t nCopyLength = std::min(m_pData->m_nDataLength, nNewLength); in ReallocBeforeWrite()362 void ByteString::AllocBeforeWrite(size_t nNewLength) { in AllocBeforeWrite() argument363 if (m_pData && m_pData->CanOperateInPlace(nNewLength)) in AllocBeforeWrite()366 if (nNewLength == 0) { in AllocBeforeWrite()371 m_pData.Reset(StringData::Create(nNewLength)); in AllocBeforeWrite()374 void ByteString::ReleaseBuffer(size_t nNewLength) { in ReleaseBuffer() argument[all …]
508 void WideString::ReallocBeforeWrite(size_t nNewLength) { in ReallocBeforeWrite() argument509 if (m_pData && m_pData->CanOperateInPlace(nNewLength)) in ReallocBeforeWrite()512 if (nNewLength == 0) { in ReallocBeforeWrite()517 RetainPtr<StringData> pNewData(StringData::Create(nNewLength)); in ReallocBeforeWrite()519 size_t nCopyLength = std::min(m_pData->m_nDataLength, nNewLength); in ReallocBeforeWrite()529 void WideString::AllocBeforeWrite(size_t nNewLength) { in AllocBeforeWrite() argument530 if (m_pData && m_pData->CanOperateInPlace(nNewLength)) in AllocBeforeWrite()533 if (nNewLength == 0) { in AllocBeforeWrite()538 m_pData.Reset(StringData::Create(nNewLength)); in AllocBeforeWrite()541 void WideString::ReleaseBuffer(size_t nNewLength) { in ReleaseBuffer() argument[all …]
182 void ReleaseBuffer(size_t nNewLength);222 void ReallocBeforeWrite(size_t nNewLength);223 void AllocBeforeWrite(size_t nNewLength);
164 void ReleaseBuffer(size_t nNewLength);