Lines Matching refs:mRefCnt
113 nsAutoRefCnt mRefCnt; \
134 NS_PRECONDITION(PRInt32(mRefCnt) >= 0, "illegal refcnt"); \
136 ++mRefCnt; \
137 NS_LOG_ADDREF(this, mRefCnt, #_class, sizeof(*this)); \
138 return mRefCnt; \
177 NS_PRECONDITION(0 != mRefCnt, "dup release"); \
179 --mRefCnt; \
180 NS_LOG_RELEASE(this, mRefCnt, #_class); \
181 if (mRefCnt == 0) { \
182 mRefCnt = 1; /* stabilize */ \
186 return mRefCnt; \
482 * causing an ambiguity. In this case you don't need another mRefCnt, you
690 NS_PRECONDITION(PRInt32(mRefCnt) >= 0, "illegal refcnt"); \
692 count = PR_AtomicIncrement((PRInt32*)&mRefCnt); \
706 NS_PRECONDITION(0 != mRefCnt, "dup release"); \
707 count = PR_AtomicDecrement((PRInt32 *)&mRefCnt); \
710 mRefCnt = 1; /* stabilize */ \