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.h313 void Retain() { ++m_nRefs; } in Retain()
315 if (--m_nRefs <= 0) in Release()
319 intptr_t m_nRefs; // Would prefer ssize_t, but no windows support. variable
326 : m_nRefs(1), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringData()
694 void Retain() { ++m_nRefs; } in Retain()
696 if (--m_nRefs <= 0) in Release()
700 intptr_t m_nRefs; // Would prefer ssize_t, but no windows support. variable
707 : m_nRefs(1), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringData()
/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp52 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 =()
228 if (m_pData->m_nRefs > 1 || in ConcatInPlace()
256 if (!m_pData || m_pData->m_nRefs <= 1) { in CopyBeforeWrite()
269 if (m_pData && m_pData->m_nRefs <= 1 && m_pData->m_nAllocLength >= nLen) { in AllocBeforeWrite()
321 if (m_pData && m_pData->m_nRefs <= 1 && in GetBuffer()
632 if (m_pData->m_nAllocLength < nNewLength || m_pData->m_nRefs > 1) { in Replace()
Dfx_basic_bstring.cpp115 if (stringSrc.m_pData->m_nRefs >= 0) { in CFX_ByteString()
168 } else if ((m_pData && m_pData->m_nRefs < 0) || in operator =()
169 (stringSrc.m_pData && stringSrc.m_pData->m_nRefs < 0)) { in operator =()
291 if (!m_pData || m_pData->m_nRefs <= 1) { in CopyBeforeWrite()
303 if (m_pData && m_pData->m_nRefs <= 1 && m_pData->m_nAllocLength >= nLen) { in AllocBeforeWrite()
333 if (m_pData && m_pData->m_nRefs <= 1 && in GetBuffer()
395 if (m_pData->m_nRefs > 1 || in ConcatInPlace()