Lines Matching refs:nRefCount
323 sal_uIntPtr nRefCount; member in SvRefBase
332 SvRefBase() { nRefCount = SV_NO_DELETE_REFCOUNT; } in SvRefBase()
334 { nRefCount = SV_NO_DELETE_REFCOUNT; } in SvRefBase()
339 if( nRefCount < SV_NO_DELETE_REFCOUNT ) in RestoreNoDelete()
340 nRefCount += SV_NO_DELETE_REFCOUNT; in RestoreNoDelete()
342 sal_uIntPtr AddMulRef( sal_uIntPtr n ) { return nRefCount += n; } in AddMulRef()
343 sal_uIntPtr AddNextRef() { return ++nRefCount; } in AddNextRef()
346 if( nRefCount >= SV_NO_DELETE_REFCOUNT ) in AddRef()
347 nRefCount -= SV_NO_DELETE_REFCOUNT; in AddRef()
348 return ++nRefCount; in AddRef()
352 if( !--nRefCount ) in ReleaseReference()
357 sal_uIntPtr n = --nRefCount; in ReleaseRef()
362 sal_uIntPtr GetRefCount() const { return nRefCount; } in GetRefCount()