/trunk/main/sc/inc/ |
H A D | scmatrix.hxx | 95 mutable sal_uLong nRefCnt; // reference count member in ScMatrix 171 ScMatrix( SCSIZE nC, SCSIZE nR) : nRefCnt(0), mbCloneIfConst(true) { CreateMatrix( nC, nR); } in ScMatrix() 195 inline void SetEternalRef() { nRefCnt = ULONG_MAX; } in SetEternalRef() 196 inline bool IsEternalRef() const { return nRefCnt == ULONG_MAX; } in IsEternalRef() 200 ++nRefCnt; in IncRef() 204 if ( nRefCnt > 0 && !IsEternalRef() ) in DecRef() 205 if ( --nRefCnt == 0 ) in DecRef() 210 if ( nRefCnt == 0 || IsEternalRef() ) in Delete() 213 --nRefCnt; in Delete()
|
H A D | compiler.hxx | 113 sal_uInt16 nRefCnt; \ 122 sal_uInt16 SAL_UNUSED_MEMBER nRefCnt; member 177 void IncRef() { nRefCnt++; } in IncRef() 178 void DecRef() { if( !--nRefCnt ) Delete(); } in DecRef() 179 sal_uInt16 GetRef() const { return nRefCnt; } in GetRef()
|
/trunk/main/dtrans/source/win32/workbench/ |
H A D | XTDo.cxx | 122 ULONG nRefCnt = static_cast< ULONG >( InterlockedDecrement( &m_nRefCnt ) ); in STDMETHODIMP_() local 124 if ( 0 == nRefCnt ) in STDMETHODIMP_() 129 return nRefCnt; in STDMETHODIMP_() 328 ULONG nRefCnt = InterlockedDecrement( &m_nRefCnt ); in STDMETHODIMP_() local 329 if ( 0 == nRefCnt ) in STDMETHODIMP_() 332 return nRefCnt; in STDMETHODIMP_()
|
/trunk/main/sot/source/sdstor/ |
H A D | stg.cxx | 109 pe->nRefCnt++; in OLEStorageBase() 116 DBG_ASSERT( pEntry->nRefCnt, "RefCount unter 0" ); in ~OLEStorageBase() 117 if( !--pEntry->nRefCnt ) in ~OLEStorageBase() 153 sal_uInt16 nCurMode = ( p && p->nRefCnt ) ? p->nMode : 0xFFFF; in ValidateMode_Impl() 186 if( q->nRefCnt == 1 ) in StorageStream() 202 if( pEntry && pEntry->nRefCnt && pEntry->bDirect && (m_nMode & STREAM_WRITE) ) in ~StorageStream() 513 pEntry->nRefCnt++; in Init() 527 if( q && q->nRefCnt == 1 ) in Storage() 539 if( pEntry->nRefCnt && pEntry->bDirect && (m_nMode & STREAM_WRITE) ) in ~Storage() 541 if( pEntry->nRefCnt == 1 ) in ~Storage() [all …]
|
H A D | stgdir.cxx | 78 nRefCnt = 0; in InitMembers() 161 sal_Bool bDel = nRefCnt == 0; in DelTemp()
|
H A D | stgdir.hxx | 63 sal_Int32 nRefCnt; // reference count member in StgDirEntry
|
/trunk/main/sal/workben/clipboardwben/testcopy/ |
H A D | XTDataObject.cxx | 109 ULONG nRefCnt = static_cast< ULONG >( InterlockedDecrement( &m_nRefCnt ) ); in STDMETHODIMP_() local 111 if ( 0 == nRefCnt ) in STDMETHODIMP_() 116 return nRefCnt; in STDMETHODIMP_() 362 ULONG nRefCnt = InterlockedDecrement( &m_nRefCnt ); in STDMETHODIMP_() local 363 if ( 0 == nRefCnt ) in STDMETHODIMP_() 366 return nRefCnt; in STDMETHODIMP_()
|
/trunk/main/formula/inc/formula/ |
H A D | token.hxx | 100 mutable sal_uInt16 nRefCnt; // reference count member in formula::FormulaToken 104 eOp(e), eType( eTypeP ), nRefCnt(0) {} in FormulaToken() 106 eOp(r.eOp), eType( r.eType ), nRefCnt(0) {} in FormulaToken() 115 inline void IncRef() const { nRefCnt++; } in IncRef() 118 if (!--nRefCnt) in DecRef() 121 inline sal_uInt16 GetRef() const { return nRefCnt; } in GetRef()
|
/trunk/main/sc/source/core/tool/ |
H A D | token.cxx | 180 nRefCnt = 0; in SetOpCode() 197 nRefCnt = 0; in SetString() 206 nRefCnt = 0; in SetSingleReference() 214 nRefCnt = 0; in SetDoubleReference() 222 nRefCnt = 0; in SetDouble() 230 nRefCnt = 0; in SetName() 237 nRefCnt = 0; in SetExternalSingleRef() 252 nRefCnt = 0; in SetExternalDoubleRef() 266 nRefCnt = 0; in SetExternalName() 315 nRefCnt = 0; in SetExternal() [all …]
|
H A D | scmatrix.cxx | 112 , nRefCnt(0) in ScMatrix()
|
/trunk/main/dtrans/source/win32/dtobj/ |
H A D | XTDataObject.cxx | 130 ULONG nRefCnt = in STDMETHODIMP_() local 133 if ( 0 == nRefCnt ) in STDMETHODIMP_() 136 return nRefCnt; in STDMETHODIMP_() 800 ULONG nRefCnt = InterlockedDecrement( &m_nRefCnt ); in STDMETHODIMP_() local 801 if ( 0 == nRefCnt ) in STDMETHODIMP_() 804 return nRefCnt; in STDMETHODIMP_()
|
H A D | XNotifyingDataObject.cxx | 81 ULONG nRefCnt = in STDMETHODIMP_() local 84 if ( 0 == nRefCnt ) in STDMETHODIMP_() 92 return nRefCnt; in STDMETHODIMP_()
|
H A D | APNDataObject.cxx | 161 ULONG nRefCnt = static_cast< ULONG >( InterlockedDecrement( &m_nRefCnt ) ); in STDMETHODIMP_() local 163 if ( 0 == nRefCnt ) in STDMETHODIMP_() 166 return nRefCnt; in STDMETHODIMP_()
|
/trunk/main/sw/source/core/fields/ |
H A D | reffld.cxx | 118 sal_uInt16 nRefCnt = aRefArr.Count() - 1, nCnt = aArr.Count() - 1; in IsFrameBehind() local 123 while( nRefCnt && nCnt && aRefArr[ nRefCnt ] == aArr[ nCnt ] ) in IsFrameBehind() 128 --nCnt, --nRefCnt; in IsFrameBehind() 132 if( aRefArr[ nRefCnt ] == aArr[ nCnt ] ) in IsFrameBehind() 137 --nRefCnt; in IsFrameBehind() 140 const SwFrm* pRefFrm = (const SwFrm*)aRefArr[ nRefCnt ]; in IsFrameBehind() 175 pRefFrm = (const SwFrm*)aRefArr[ nRefCnt - 1 ]; in IsFrameBehind()
|
H A D | ddefld.cxx | 247 aName( rName ), pDoc( 0 ), nRefCnt( 0 ) in SwDDEFieldType() 297 ASSERT( !nRefCnt, "wie kommen die Referenzen rueber?" ); in SetDoc() 302 if( pDoc && nRefCnt ) in SetDoc() 312 if( nRefCnt ) in _RefCntChgd()
|
H A D | dbfld.cxx | 75 nRefCnt(0) in SwDBFieldType() 108 ASSERT(nRefCnt > 0, "RefCount kleiner 0!"); in ReleaseRef() 110 if (--nRefCnt <= 0) in ReleaseRef()
|
/trunk/main/sw/inc/ |
H A D | ddefld.hxx | 44 sal_uInt16 nRefCnt; member in SwDDEFieldType 84 void IncRefCnt() { if( !nRefCnt++ && pDoc ) _RefCntChgd(); } in IncRefCnt() 85 void DecRefCnt() { if( !--nRefCnt && pDoc ) _RefCntChgd(); } in DecRefCnt()
|
H A D | dbfld.hxx | 43 long nRefCnt; member in SwDBFieldType 53 inline void AddRef() { nRefCnt++; } in AddRef()
|
/trunk/main/sw/source/core/inc/ |
H A D | swfont.hxx | 138 sal_uInt8 nRefCnt; // Zaehlt die Schachtelungstiefe der Refs member in SwFont 243 inline sal_uInt8 &GetRef() { return nRefCnt; } in GetRef() 244 inline sal_uInt8 GetRef() const { return nRefCnt; } in GetRef() 245 inline sal_Bool IsRef() const { return ( 0 != nRefCnt ); } in IsRef()
|
/trunk/main/shell/source/win32/shlxthandler/prophdl/ |
H A D | propertyhdl.cxx | 72 CPropertyHdl::CPropertyHdl( long nRefCnt ) : in CPropertyHdl() argument 73 m_RefCnt( nRefCnt ), in CPropertyHdl()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | swfont.cxx | 442 nRefCnt = 0; in SwFont() 461 nRefCnt = 0; in SwFont() 593 nRefCnt = 0; in operator =()
|