Searched refs:nMinBufLength (Results 1 – 4 of 4) sorted by relevance
399 pdfium::span<char> ByteString::GetBuffer(size_t nMinBufLength) { in GetBuffer() argument401 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()
566 pdfium::span<wchar_t> WideString::GetBuffer(size_t nMinBufLength) { in GetBuffer() argument568 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()
163 pdfium::span<char> GetBuffer(size_t nMinBufLength);
181 pdfium::span<wchar_t> GetBuffer(size_t nMinBufLength);