Home
last modified time | relevance | path

Searched refs:m_RefCount (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_shared_copy_on_write.h60 CountedObj(Args... params) : ObjClass(params...), m_RefCount(0) {} in CountedObj()
62 CountedObj(const CountedObj& src) : ObjClass(src), m_RefCount(0) {} in CountedObj()
63 ~CountedObj() { m_RefCount = 0; } in ~CountedObj()
65 bool HasOneRef() const { return m_RefCount == 1; } in HasOneRef()
66 void Retain() { m_RefCount++; } in Retain()
68 ASSERT(m_RefCount); in Release()
69 if (--m_RefCount == 0) in Release()
79 intptr_t m_RefCount;
/external/pdfium/core/fxge/ge/
Dcttfontdesc.cpp37 m_RefCount--; in ReleaseFace()
38 if (m_RefCount) in ReleaseFace()
39 return m_RefCount; in ReleaseFace()
Dcttfontdesc.h23 CTTFontDesc() : m_Type(0), m_pFontData(nullptr), m_RefCount(0) {} in CTTFontDesc()
37 int m_RefCount; variable
Dcfx_fontmgr.cpp137 pFontDesc->m_RefCount++; in GetCachedFace()
151 pFontDesc->m_RefCount = 1; in AddCachedFace()
180 pFontDesc->m_RefCount++; in GetCachedTTCFace()
199 pFontDesc->m_RefCount++; in AddCachedTTCFace()
/external/pdfium/fpdfsdk/javascript/
DJS_GlobalData.cpp50 ++g_pInstance->m_RefCount; in GetRetainedInstance()
55 if (!--m_RefCount) { in Release()
62 : m_RefCount(0), m_sFilePath(SDK_JS_GLOBALDATA_FILENAME) { in CJS_GlobalData()
DJS_GlobalData.h72 size_t m_RefCount; variable
/external/pdfium/core/fxge/win32/
Dfx_win32_gdipext.cpp1261 GpStream() : m_RefCount(1), m_ReadPos(0) {} in GpStream()
1275 return (ULONG)InterlockedIncrement(&m_RefCount); in AddRef()
1278 ULONG res = (ULONG)InterlockedDecrement(&m_RefCount); in Release()
1388 LONG m_RefCount; member in GpStream