Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_basic_wstring.cpp276 FX_WCHAR* CFX_WideString::GetBuffer(FX_STRSIZE nMinBufLength) { in GetBuffer() argument
278 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()
Dfx_basic_bstring.cpp327 FX_CHAR* CFX_ByteString::GetBuffer(FX_STRSIZE nMinBufLength) { in GetBuffer() argument
329 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()