Searched refs:nMinBufLength (Results 1 – 2 of 2) sorted by relevance
422 char* ByteString::GetBuffer(size_t nMinBufLength) { in GetBuffer() argument424 if (nMinBufLength == 0) in GetBuffer()427 m_pData.Reset(StringData::Create(nMinBufLength)); in GetBuffer()433 if (m_pData->CanOperateInPlace(nMinBufLength)) in GetBuffer()436 nMinBufLength = std::max(nMinBufLength, m_pData->m_nDataLength); in GetBuffer()437 if (nMinBufLength == 0) in GetBuffer()440 RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer()
589 wchar_t* WideString::GetBuffer(size_t nMinBufLength) { in GetBuffer() argument591 if (nMinBufLength == 0) in GetBuffer()594 m_pData.Reset(StringData::Create(nMinBufLength)); in GetBuffer()600 if (m_pData->CanOperateInPlace(nMinBufLength)) in GetBuffer()603 nMinBufLength = std::max(nMinBufLength, m_pData->m_nDataLength); in GetBuffer()604 if (nMinBufLength == 0) in GetBuffer()607 RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer()