Searched refs:nMinBufLength (Results 1 – 2 of 2) sorted by relevance
276 FX_WCHAR* CFX_WideString::GetBuffer(FX_STRSIZE nMinBufLength) { in GetBuffer() argument278 if (nMinBufLength == 0) in GetBuffer()281 m_pData.Reset(StringData::Create(nMinBufLength)); in GetBuffer()287 if (m_pData->CanOperateInPlace(nMinBufLength)) in GetBuffer()290 nMinBufLength = std::max(nMinBufLength, m_pData->m_nDataLength); in GetBuffer()291 if (nMinBufLength == 0) in GetBuffer()294 CFX_RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer()
327 FX_CHAR* CFX_ByteString::GetBuffer(FX_STRSIZE nMinBufLength) { in GetBuffer() argument329 if (nMinBufLength == 0) in GetBuffer()332 m_pData.Reset(StringData::Create(nMinBufLength)); in GetBuffer()338 if (m_pData->CanOperateInPlace(nMinBufLength)) in GetBuffer()341 nMinBufLength = std::max(nMinBufLength, m_pData->m_nDataLength); in GetBuffer()342 if (nMinBufLength == 0) in GetBuffer()345 CFX_RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer()