Home
last modified time | relevance | path

Searched refs:m_nAllocLength (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fxcrt/
Dstring_data_template.h57 return m_nRefs <= 1 && nTotalLen <= m_nAllocLength; in CanOperateInPlace()
61 ASSERT(other.m_nDataLength <= m_nAllocLength); in CopyContents()
68 ASSERT(nLen <= m_nAllocLength); in CopyContents()
77 ASSERT(offset + nLen <= m_nAllocLength); in CopyContentsAt()
94 size_t m_nAllocLength; variable
101 : m_nRefs(0), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringDataTemplate()
Dbytestring.cpp378 nNewLength = std::min(nNewLength, m_pData->m_nAllocLength); in ReleaseBuffer()
387 if (m_pData->m_nAllocLength - nNewLength >= 32) { in ReleaseBuffer()
407 return pdfium::span<char>(m_pData->m_String, m_pData->m_nAllocLength); in GetBuffer()
411 return pdfium::span<char>(m_pData->m_String, m_pData->m_nAllocLength); in GetBuffer()
421 return pdfium::span<char>(m_pData->m_String, m_pData->m_nAllocLength); in GetBuffer()
Dwidestring.cpp545 nNewLength = std::min(nNewLength, m_pData->m_nAllocLength); in ReleaseBuffer()
554 if (m_pData->m_nAllocLength - nNewLength >= 32) { in ReleaseBuffer()
574 return pdfium::span<wchar_t>(m_pData->m_String, m_pData->m_nAllocLength); in GetBuffer()
578 return pdfium::span<wchar_t>(m_pData->m_String, m_pData->m_nAllocLength); in GetBuffer()
588 return pdfium::span<wchar_t>(m_pData->m_String, m_pData->m_nAllocLength); in GetBuffer()