Home
last modified time | relevance | path

Searched refs:nRefCnt (Results 1 – 21 of 21) sorted by relevance

/aoo42x/main/sc/inc/
H A Dscmatrix.hxx95 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 Dcompiler.hxx113 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()
/aoo42x/main/dtrans/source/win32/workbench/
H A DXTDo.cxx122 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_()
/aoo42x/main/sot/source/sdstor/
H A Dstg.cxx109 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 Dstgdir.cxx78 nRefCnt = 0; in InitMembers()
161 sal_Bool bDel = nRefCnt == 0; in DelTemp()
H A Dstgdir.hxx63 sal_Int32 nRefCnt; // reference count member in StgDirEntry
/aoo42x/main/sal/workben/clipboardwben/testcopy/
H A DXTDataObject.cxx109 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_()
/aoo42x/main/formula/inc/formula/
H A Dtoken.hxx100 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()
/aoo42x/main/sc/source/core/tool/
H A Dtoken.cxx180 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 Dscmatrix.cxx112 , nRefCnt(0) in ScMatrix()
/aoo42x/main/dtrans/source/win32/dtobj/
H A DXTDataObject.cxx130 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 DXNotifyingDataObject.cxx81 ULONG nRefCnt = in STDMETHODIMP_() local
84 if ( 0 == nRefCnt ) in STDMETHODIMP_()
92 return nRefCnt; in STDMETHODIMP_()
H A DAPNDataObject.cxx161 ULONG nRefCnt = static_cast< ULONG >( InterlockedDecrement( &m_nRefCnt ) ); in STDMETHODIMP_() local
163 if ( 0 == nRefCnt ) in STDMETHODIMP_()
166 return nRefCnt; in STDMETHODIMP_()
/aoo42x/main/sw/source/core/fields/
H A Dreffld.cxx118 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 Dddefld.cxx247 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 Ddbfld.cxx75 nRefCnt(0) in SwDBFieldType()
108 ASSERT(nRefCnt > 0, "RefCount kleiner 0!"); in ReleaseRef()
110 if (--nRefCnt <= 0) in ReleaseRef()
/aoo42x/main/sw/inc/
H A Dddefld.hxx44 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 Ddbfld.hxx43 long nRefCnt; member in SwDBFieldType
53 inline void AddRef() { nRefCnt++; } in AddRef()
/aoo42x/main/sw/source/core/inc/
H A Dswfont.hxx138 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()
/aoo42x/main/shell/source/win32/shlxthandler/prophdl/
H A Dpropertyhdl.cxx72 CPropertyHdl::CPropertyHdl( long nRefCnt ) : in CPropertyHdl() argument
73 m_RefCnt( nRefCnt ), in CPropertyHdl()
/aoo42x/main/sw/source/core/txtnode/
H A Dswfont.cxx442 nRefCnt = 0; in SwFont()
461 nRefCnt = 0; in SwFont()
593 nRefCnt = 0; in operator =()

Completed in 122 milliseconds