Home
last modified time | relevance | path

Searched refs:m_refCount (Results 1 – 25 of 903) sorted by relevance

12345678910>>...37

/dports/games/py-fife/fifengine-0.4.2/engine/core/util/base/
H A Dsharedptr.h69 : m_ptr(rhs.m_ptr), m_refCount(rhs.m_refCount) { in SharedPtr()
95 if (m_refCount && *m_refCount == 0) { in ~SharedPtr()
100 m_refCount = 0; in ~SharedPtr()
174 assert(m_refCount); in useCount()
176 if (!m_refCount) { in useCount()
180 return *m_refCount; in useCount()
188 return m_refCount; in useCountPtr()
224 std::swap(m_refCount, rhs.m_refCount); in swap()
231 if (m_refCount) { in incRefCount()
240 if (m_refCount) { in decRefCount()
[all …]
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/AdaptorOCL/SPIRV/Mangler/
H A DRefcount.h26 RefCount(): m_refCount(0), m_ptr(0) { in RefCount()
30 m_refCount = new int(1); in RefCount()
38 if (m_refCount) in ~RefCount()
45 if (m_refCount)
54 m_refCount = new int(1); in init()
96 m_refCount = other.m_refCount; in cpy()
98 if (m_refCount) ++*m_refCount; in cpy()
103 if (0 == --*m_refCount) { in dispose()
104 delete m_refCount; in dispose() local
107 m_refCount = 0; in dispose()
[all …]
/dports/graphics/aseprite/aseprite-1.2.9/laf/base/
H A Dshared_ptr.h77 , m_refCount(nullptr) in SharedPtr()
101 , m_refCount(other.m_refCount) in SharedPtr()
110 , m_refCount(const_cast<SharedPtrRefCounterBase*>(other.m_refCount)) in SharedPtr()
126 m_refCount = nullptr;
157 m_refCount = other.m_refCount;
169 m_refCount = const_cast<SharedPtrRefCounterBase*>(other.m_refCount);
180 long use_count() const { return (m_refCount ? m_refCount->use_count(): 0); } in use_count()
204 if (m_refCount) in add_ref()
207 ASSERT((m_refCount && m_ptr) || (!m_refCount && !m_ptr)); in add_ref()
213 if (m_refCount) in release()
[all …]
/dports/games/openlierox/OpenLieroX/include/
H A DRefCounter.h21 size_t* m_refCount;
25 m_refCount = r.m_refCount; in copy()
26 (*m_refCount)++; in copy()
32 if(m_refCount) { in uninit()
33 (*m_refCount)--; in uninit()
34 size_t* ref = m_refCount; in uninit()
35 m_refCount = NULL; in uninit()
44 RefCounter() : m_refCount(NULL) { m_refCount = new size_t(1); } in RefCounter()
45 RefCounter(const RefCounter& r) : m_refCount(NULL) { copy(r); } in RefCounter()
48 size_t refCount() const { return *m_refCount; } in refCount()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/wtf/
H A DThreadSafeRefCounted.h75 : m_refCount(initialRefCount) in m_refCount() function
82 atomicIncrement(&m_refCount); in ref()
85 ++m_refCount; in ref()
99 return static_cast<int const volatile &>(m_refCount); in refCount()
107 WTF_ANNOTATE_HAPPENS_BEFORE(&m_refCount); in derefBase()
108 if (atomicDecrement(&m_refCount) <= 0) { in derefBase()
109 WTF_ANNOTATE_HAPPENS_AFTER(&m_refCount); in derefBase()
116 --m_refCount; in derefBase()
117 refCount = m_refCount; in derefBase()
129 int m_refCount; variable
H A DRefCounted.h39 ++m_refCount; in ref()
45 return m_refCount == 1; in hasOneRef()
50 return m_refCount; in refCount()
65 return &m_refCount; in addressOfCount()
70 : m_refCount(1) in RefCountedBase()
90 ASSERT(m_refCount > 0); in derefBase()
91 if (m_refCount == 1) { in derefBase()
98 --m_refCount; in derefBase()
116 int m_refCount; variable
/dports/science/chrono/chrono-7.0.1/src/chrono_thirdparty/HACDv2/
H A DdgRefCounter.h39 int m_refCount;
45 m_refCount = 1; in dgRefCounter()
50 HACD_ASSERT (m_refCount <= 1); in ~dgRefCounter()
56 return m_refCount; in GetRef()
61 m_refCount --; in Release()
62 if (!m_refCount) { in Release()
66 return m_refCount; in Release()
71 m_refCount ++; in AddRef()
/dports/www/kf5-kjs/kjs-5.89.0/src/wtf/
H A DRefCounted.h34 : m_refCount(initialRefCount) in m_refCount() function
44 ++m_refCount; in ref()
50 ASSERT(m_refCount > 0); in deref()
51 if (m_refCount == 1) { in deref()
57 --m_refCount; in deref()
64 return m_refCount == 1; in hasOneRef()
69 return m_refCount; in refCount()
73 int m_refCount;
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/javascriptcore/JavaScriptCore/wtf/
H A DRefCounted.h37 ++m_refCount; in ref()
43 return m_refCount == 1; in hasOneRef()
48 return m_refCount; in refCount()
53 : m_refCount(1) in RefCountedBase()
68 ASSERT(m_refCount > 0); in derefBase()
69 if (m_refCount == 1) { in derefBase()
76 --m_refCount; in derefBase()
83 return &m_refCount; in addressOfCount()
97 int m_refCount; variable
/dports/devel/qt5-script/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/wtf/
H A DRefCounted.h37 ++m_refCount; in ref()
43 return m_refCount == 1; in hasOneRef()
48 return m_refCount; in refCount()
53 : m_refCount(1) in RefCountedBase()
68 ASSERT(m_refCount > 0); in derefBase()
69 if (m_refCount == 1) { in derefBase()
76 --m_refCount; in derefBase()
83 return &m_refCount; in addressOfCount()
97 int m_refCount; variable
/dports/devel/qt5-scripttools/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/wtf/
H A DRefCounted.h37 ++m_refCount; in ref()
43 return m_refCount == 1; in hasOneRef()
48 return m_refCount; in refCount()
53 : m_refCount(1) in RefCountedBase()
68 ASSERT(m_refCount > 0); in derefBase()
69 if (m_refCount == 1) { in derefBase()
76 --m_refCount; in derefBase()
83 return &m_refCount; in addressOfCount()
97 int m_refCount; variable
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/bytecompiler/
H A DRegisterID.h41 : m_refCount(0) in RegisterID()
50 : m_refCount(0) in RegisterID()
61 ASSERT(!m_refCount); in setIndex()
86 ++m_refCount; in ref()
91 --m_refCount; in deref()
92 ASSERT(m_refCount >= 0); in deref()
97 return m_refCount; in refCount()
102 int m_refCount;
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler/
H A DRegisterID.h41 : m_refCount(0) in RegisterID()
50 : m_refCount(0) in RegisterID()
61 ASSERT(!m_refCount); in setIndex()
86 ++m_refCount; in ref()
91 --m_refCount; in deref()
92 ASSERT(m_refCount >= 0); in deref()
97 return m_refCount; in refCount()
102 int m_refCount;
/dports/devel/qt5-scripttools/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler/
H A DRegisterID.h41 : m_refCount(0) in RegisterID()
50 : m_refCount(0) in RegisterID()
61 ASSERT(!m_refCount); in setIndex()
86 ++m_refCount; in ref()
91 --m_refCount; in deref()
92 ASSERT(m_refCount >= 0); in deref()
97 return m_refCount; in refCount()
102 int m_refCount;
/dports/devel/qt5-script/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler/
H A DRegisterID.h41 : m_refCount(0) in RegisterID()
50 : m_refCount(0) in RegisterID()
61 ASSERT(!m_refCount); in setIndex()
86 ++m_refCount; in ref()
91 --m_refCount; in deref()
92 ASSERT(m_refCount >= 0); in deref()
97 return m_refCount; in refCount()
102 int m_refCount;
/dports/graphics/cal3d/cal3d-20060720/src/cal3d/
H A Drefcounted.h35 : m_refCount(0) in RefCounted()
48 assert(m_refCount == 0 && "_refCount nonzero in destructor"); in ~RefCounted()
55 assert(m_refCount >= 0 && "_refCount is less than zero in incRef()!"); in incRef()
56 ++m_refCount; in incRef()
65 assert(m_refCount > 0 && in decRef()
67 if (--m_refCount == 0) in decRef()
76 return m_refCount; in getRefCount()
87 int m_refCount;
/dports/graphics/blender/blender-2.91.0/intern/memutil/
H A DMEM_RefCounted.h46 MEM_RefCounted() : m_refCount(1) in MEM_RefCounted()
80 int m_refCount;
85 return m_refCount; in getRef()
90 return ++m_refCount; in incRef()
95 m_refCount--; in decRef()
96 if (m_refCount == 0) { in decRef()
100 return m_refCount; in decRef()
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/include/ossim/base/
H A DossimReferenced.h27 : m_refCount(0) in ossimReferenced()
31 : m_refCount(0) in ossimReferenced()
61 --m_refCount; in unref_nodelete()
67 inline int referenceCount() const { return m_refCount.load(); } in referenceCount()
74 mutable std::atomic_int m_refCount;
79 ++m_refCount; in ref()
89 needDelete = m_refCount.fetch_sub(1) <= 1; in unref()
/dports/science/massxpert/massxpert-c229f4a1abde3c20b83a90e50f9c5d79104dfa5f/lib/
H A DchemEntVignetteRenderer.cpp57 m_refCount = 0; in ChemEntVignetteRenderer()
66 m_refCount = 0; in ChemEntVignetteRenderer()
75 m_refCount = 0; in ChemEntVignetteRenderer()
99 m_refCount = value; in setRefCount()
106 return m_refCount; in refCount()
117 ++m_refCount; in incrementRefCount()
128 --m_refCount; in decrementRefCount()
130 if (!m_refCount) in decrementRefCount()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/
H A DTreeShared.h39 : m_refCount(1) in TreeShared()
54 ASSERT(!m_refCount); in ~TreeShared()
65 ++m_refCount; in ref()
71 ASSERT(m_refCount >= 0); in deref()
75 if (--m_refCount <= 0 && !m_parent) { in deref()
87 return m_refCount == 1; in hasOneRef()
92 return m_refCount; in refCount()
126 int m_refCount; variable
/dports/math/scilab/scilab-6.1.1/scilab/modules/scicos/includes/model/
H A DBaseObject.hxx33 m_id(ScicosID()), m_kind(k), m_refCount() in BaseObject()
38 m_id(b.m_id), m_kind(b.m_kind), m_refCount() in BaseObject()
42 m_id(b.m_id), m_kind(b.m_kind), m_refCount() in BaseObject()
46 m_id(id), m_kind(k), m_refCount() in BaseObject()
83 return m_refCount; in refCount()
100 unsigned m_refCount; member in org_scilab_modules_scicos::model::BaseObject
145 m_refCount(0), m_datatype_id(d.m_datatype_id), m_rows(d.m_rows), m_columns(d.m_columns) {}; in Datatype()
147 m_refCount(0), m_datatype_id(v[2]), m_rows(v[0]), m_columns(v[1]) {}; in Datatype()
150 int m_refCount; member
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/ndb/src/ndbapi/
H A DDictCache.cpp216 if (ver->m_refCount == 0) in get()
223 ver->m_refCount++; in get()
288 ver.m_refCount == 0){ in put()
357 if (ver->m_refCount == 0) in invalidate_all()
386 if (ver->m_refCount == 0) in invalidateDb()
434 ver.m_refCount--; in release()
492 if (ver.m_refCount == 0) in alter_table_rep()
543 ver.m_refCount++; in chg_ref_count()
549 if (ver.m_refCount == 0) in chg_ref_count()
551 ver.m_refCount--; in chg_ref_count()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/ndb/src/ndbapi/
H A DDictCache.cpp216 if (ver->m_refCount == 0) in get()
223 ver->m_refCount++; in get()
288 ver.m_refCount == 0){ in put()
357 if (ver->m_refCount == 0) in invalidate_all()
386 if (ver->m_refCount == 0) in invalidateDb()
434 ver.m_refCount--; in release()
492 if (ver.m_refCount == 0) in alter_table_rep()
543 ver.m_refCount++; in chg_ref_count()
549 if (ver.m_refCount == 0) in chg_ref_count()
551 ver.m_refCount--; in chg_ref_count()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/ndb/src/ndbapi/
H A DDictCache.cpp216 if (ver->m_refCount == 0) in get()
223 ver->m_refCount++; in get()
288 ver.m_refCount == 0){ in put()
357 if (ver->m_refCount == 0) in invalidate_all()
386 if (ver->m_refCount == 0) in invalidateDb()
434 ver.m_refCount--; in release()
492 if (ver.m_refCount == 0) in alter_table_rep()
543 ver.m_refCount++; in chg_ref_count()
549 if (ver.m_refCount == 0) in chg_ref_count()
551 ver.m_refCount--; in chg_ref_count()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/ndb/src/ndbapi/
H A DDictCache.cpp216 if (ver->m_refCount == 0) in get()
223 ver->m_refCount++; in get()
288 ver.m_refCount == 0){ in put()
357 if (ver->m_refCount == 0) in invalidate_all()
386 if (ver->m_refCount == 0) in invalidateDb()
434 ver.m_refCount--; in release()
492 if (ver.m_refCount == 0) in alter_table_rep()
543 ver.m_refCount++; in chg_ref_count()
549 if (ver.m_refCount == 0) in chg_ref_count()
551 ver.m_refCount--; in chg_ref_count()
[all …]

12345678910>>...37