Lines Matching refs:mRefCnt
119 NS_PRECONDITION(PRInt32(agg->mRefCnt) >= 0, "illegal refcnt"); \
120 ++agg->mRefCnt; \
121 NS_LOG_ADDREF(this, agg->mRefCnt, #_class, sizeof(*this)); \
122 return agg->mRefCnt; \
129 NS_PRECONDITION(0 != agg->mRefCnt, "dup release"); \
130 --agg->mRefCnt; \
131 NS_LOG_RELEASE(this, agg->mRefCnt, #_class); \
132 if (agg->mRefCnt == 0) { \
133 agg->mRefCnt = 1; /* stabilize */ \
137 return agg->mRefCnt; \