Home
last modified time | relevance | path

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

/external/pdfium/core/include/fxcrt/
Dfx_string.h365 void Retain() { ++m_nRefs; } in Retain()
366 void Release() { if (--m_nRefs <= 0) FX_Free(this); } in Release()
368 intptr_t m_nRefs; // Would prefer ssize_t, but no windows support. variable
375 : m_nRefs(1), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringData()
792 void Retain() { ++m_nRefs; } in Retain()
793 void Release() { if (--m_nRefs <= 0) FX_Free(this); } in Release()
795 intptr_t m_nRefs; // Would prefer ssize_t, but no windows support. variable
802 : m_nRefs(1), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringData()
/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp51 if (stringSrc.m_pData->m_nRefs >= 0) { in CFX_WideString()
145 } else if ((m_pData && m_pData->m_nRefs < 0) || in operator =()
146 (stringSrc.m_pData && stringSrc.m_pData->m_nRefs < 0)) { in operator =()
236 if (m_pData->m_nRefs > 1 || m_pData->m_nDataLength + nSrcLen > m_pData->m_nAllocLength) { in ConcatInPlace()
262 if (m_pData == NULL || m_pData->m_nRefs <= 1) { in CopyBeforeWrite()
275 if (m_pData && m_pData->m_nRefs <= 1 && m_pData->m_nAllocLength >= nLen) { in AllocBeforeWrite()
333 if (m_pData && m_pData->m_nRefs <= 1 && m_pData->m_nAllocLength >= nMinBufLength) { in GetBuffer()
652 if (m_pData->m_nAllocLength < nNewLength || m_pData->m_nRefs > 1) { in Replace()
Dfx_basic_bstring.cpp122 if (stringSrc.m_pData->m_nRefs >= 0) { in CFX_ByteString()
178 } else if ((m_pData && m_pData->m_nRefs < 0) || in operator =()
179 (stringSrc.m_pData && stringSrc.m_pData->m_nRefs < 0)) { in operator =()
313 if (m_pData == NULL || m_pData->m_nRefs <= 1) { in CopyBeforeWrite()
326 if (m_pData && m_pData->m_nRefs <= 1 && m_pData->m_nAllocLength >= nLen) { in AllocBeforeWrite()
359 if (m_pData && m_pData->m_nRefs <= 1 && m_pData->m_nAllocLength >= nMinBufLength) { in GetBuffer()
421 if (m_pData->m_nRefs > 1 || m_pData->m_nDataLength + nSrcLen > m_pData->m_nAllocLength) { in ConcatInPlace()