Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dbytestring.cpp399 pdfium::span<char> ByteString::GetBuffer(size_t nMinBufLength) { in GetBuffer() argument
401 if (nMinBufLength == 0) in GetBuffer()
404 m_pData.Reset(StringData::Create(nMinBufLength)); in GetBuffer()
410 if (m_pData->CanOperateInPlace(nMinBufLength)) in GetBuffer()
413 nMinBufLength = std::max(nMinBufLength, m_pData->m_nDataLength); in GetBuffer()
414 if (nMinBufLength == 0) in GetBuffer()
417 RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer()
Dwidestring.cpp566 pdfium::span<wchar_t> WideString::GetBuffer(size_t nMinBufLength) { in GetBuffer() argument
568 if (nMinBufLength == 0) in GetBuffer()
571 m_pData.Reset(StringData::Create(nMinBufLength)); in GetBuffer()
577 if (m_pData->CanOperateInPlace(nMinBufLength)) in GetBuffer()
580 nMinBufLength = std::max(nMinBufLength, m_pData->m_nDataLength); in GetBuffer()
581 if (nMinBufLength == 0) in GetBuffer()
584 RetainPtr<StringData> pNewData(StringData::Create(nMinBufLength)); in GetBuffer()
Dbytestring.h163 pdfium::span<char> GetBuffer(size_t nMinBufLength);
Dwidestring.h181 pdfium::span<wchar_t> GetBuffer(size_t nMinBufLength);