Home
last modified time | relevance | path

Searched refs:nMinBufLength (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fxcrt/
Dbytestring.cpp422 char* ByteString::GetBuffer(size_t nMinBufLength) { in GetBuffer() argument
424 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()
Dwidestring.cpp589 wchar_t* WideString::GetBuffer(size_t nMinBufLength) { in GetBuffer() argument
591 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()