Home
last modified time | relevance | path

Searched refs:nRef (Results 1 – 25 of 56) sorted by relevance

123

/aoo4110/main/sfx2/inc/
H A Dmsgnodei.hxx80 sal_uIntPtr nRef; member in SfxMsgReceiverList_Impl
89 void IncRef() { nRef++; } in IncRef()
90 void DecRef() { nRef--; if( !nRef ) delete this; } in DecRef()
91 sal_uIntPtr GetRefCount() const { return nRef; } in GetRefCount()
131 sal_uIntPtr nRef; member in SfxMsgAttachFileList_Impl
143 void IncRef() { nRef++; } in IncRef()
144 void DecRef() { nRef--; if( !nRef ) delete this; } in DecRef()
145 sal_uIntPtr GetRefCount() const { return nRef; } in GetRefCount()
/aoo4110/main/sc/source/filter/qpro/
H A Dqproform.cxx188 #define SAFEDEC_OR_RET(nRef, amt, ret) \ argument
190 if (nRef < amt)\
192 nRef-=amt; \
202 sal_uInt16 nNote, nRef, nRelBits; in Convert() local
213 maIn >> nRef; in Convert()
215 if( nRef < nBufSize ) in Convert()
217 for( i=0; i < nRef; i++) in Convert()
225 SAFEDEC_OR_RET(nRef, 2, ConvErrCount); in Convert()
233 SAFEDEC_OR_RET(nRef, 8, ConvErrCount); in Convert()
242 SAFEDEC_OR_RET(nRef, 5, ConvErrCount); in Convert()
[all …]
/aoo4110/main/testtools/source/performance/
H A Dpseudo.cxx44 oslInterlockedCount nRef; member
56 oslInterlockedCount nRef; member
103 …if (1 == osl_incrementInterlockedCount( &static_cast< pseudo_unoInterfaceProxy * >( pUnoI )->nRef in pseudo_unoInterfaceProxy_acquire()
119 if (! osl_decrementInterlockedCount( & static_cast< pseudo_unoInterfaceProxy * >( pUnoI )->nRef )) in pseudo_unoInterfaceProxy_release()
130 : nRef( 1 ) in pseudo_unoInterfaceProxy()
199 if (1 == osl_incrementInterlockedCount( & static_cast< pseudo_Mapping * >( pMapping )->nRef )) in pseudo_Mapping_acquire()
212 if (! osl_decrementInterlockedCount( & static_cast< pseudo_Mapping * >( pMapping )->nRef )) in pseudo_Mapping_release()
220 : nRef( 1 ) in pseudo_Mapping()
/aoo4110/main/cppu/source/uno/
H A Dlbenv.cxx86 sal_Int32 nRef; member
159 sal_Int32 nRef; member
174 nRef( 0 ), in ObjectEntry()
273 ++pOEntry->nRef; // another register call on object in defenv_registerInterface()
279 ++pOEntry->nRef; // another register call on object in defenv_registerInterface()
374 if (! --pOEntry->nRef) in s_stub_defenv_revokeInterface()
546 ::osl_incrementInterlockedCount( &that->nRef ); in defenv_acquire()
553 if (! ::osl_decrementInterlockedCount( &that->nRef )) in defenv_release()
607 that->nRef = 0; in defenv_harden()
624 : nRef( 0 ), in uno_DefaultEnvironment()
[all …]
H A Dlbmap.cxx112 sal_Int32 nRef; member
121 : nRef( 1 ) in MappingEntry()
184 sal_Int32 nRef; member
213 & static_cast< uno_Mediate_Mapping * >( pMapping )->nRef )) in mediate_acquire()
227 & static_cast< uno_Mediate_Mapping * >( pMapping )->nRef )) in mediate_release()
274 : nRef( 1 ) in uno_Mediate_Mapping()
630 ++pEntry->nRef; in uno_registerMapping()
635 --pEntry->nRef; // correct count; kill mapping to be registered in uno_registerMapping()
653 if (! --pEntry->nRef) in uno_revokeMapping()
/aoo4110/main/bridges/inc/bridges/cpp_uno/
H A Dbridge.hxx102 if (1 == osl_incrementInterlockedCount( &nRef )) in acquireProxy()
116 if (! osl_decrementInterlockedCount( &nRef )) // last release in releaseProxy()
127 : nRef( 1 ) in cppu_cppInterfaceProxy()
170 if (1 == osl_incrementInterlockedCount( & static_cast< cppu_unoInterfaceProxy * >( pUnoI )->nRef )) in cppu_unoInterfaceProxy_acquire()
191 if (! osl_decrementInterlockedCount( & static_cast< cppu_unoInterfaceProxy * >( pUnoI )->nRef )) in cppu_unoInterfaceProxy_release()
244 : nRef( 1 ) in cppu_unoInterfaceProxy()
285 : nRef( 1 ) in cppu_Bridge()
320 if (1 == osl_incrementInterlockedCount( &nRef )) in acquire()
341 if (! osl_decrementInterlockedCount( &nRef )) in release()
/aoo4110/main/sw/inc/
H A Dhtmltbl.hxx81 void SetWidthSet( sal_uInt8 nRef ) { nWidthSet = nRef; } in SetWidthSet() argument
82 sal_Bool IsWidthSet( sal_uInt8 nRef ) const { return nRef==nWidthSet; } in IsWidthSet()
84 void SetPass1Done( sal_uInt8 nRef ) { nPass1Done = nRef; } in SetPass1Done() argument
85 sal_Bool IsPass1Done( sal_uInt8 nRef ) const { return nRef==nPass1Done; } in IsPass1Done()
/aoo4110/main/svl/source/items/
H A Dpoolio.cxx403 sal_uInt16 nRef(0); in readTheItems() local
404 rStream >> nRef; in readTheItems()
414 if ( nRef > SFX_ITEMS_OLD_MAXREF ) in readTheItems()
415 pItem->SetKind( nRef ); in readTheItems()
417 AddRef(*pItem, nRef); in readTheItems()
832 sal_uInt16 nRef(0), nCount(0), nVersion(0); in Load1_Impl() local
879 rStream >> nRef; in Load1_Impl()
884 if ( nRef ) in Load1_Impl()
893 if ( nRef > SFX_ITEMS_OLD_MAXREF ) in Load1_Impl()
894 pItem->SetKind( nRef ); in Load1_Impl()
[all …]
/aoo4110/main/sc/source/core/data/
H A Ddocpool.cxx611 sal_uLong nRef = rItem.GetRefCount(); in Remove() local
612 if ( nRef >= (sal_uLong) SC_MAX_POOLREF && nRef <= (sal_uLong) SFX_ITEMS_OLD_MAXREF ) in Remove()
614 if ( nRef != (sal_uLong) SC_SAFE_POOLREF ) in Remove()
627 sal_uLong nRef = rItem.GetRefCount(); in CheckRef() local
628 if ( nRef >= (sal_uLong) SC_MAX_POOLREF && nRef <= (sal_uLong) SFX_ITEMS_OLD_MAXREF ) in CheckRef()
632 …DBG_ASSERT( nRef<=(sal_uLong)SC_MAX_POOLREF+1 || (nRef>=(sal_uLong)SC_SAFE_POOLREF-1 && nRef<=(sal… in CheckRef()
/aoo4110/main/sw/source/filter/xml/
H A Dxmlexp.cxx313 sal_Int32 nRef = 1; // meta.xml in exportDoc() local
314 nRef += pDoc->GetCharFmts()->Count() - 1; in exportDoc()
315 nRef += pDoc->GetFrmFmts()->Count() - 1; in exportDoc()
316 nRef += pDoc->GetTxtFmtColls()->Count() - 1; in exportDoc()
318 nRef *= 2; // for the above styles, xmloff will increment by 2! in exportDoc()
320 nRef += aDocStat.nAllPara; // 1: only content, no autostyle in exportDoc()
321 pProgress->SetReference( nRef ); in exportDoc()
/aoo4110/main/framework/source/uielement/
H A Dcomplextoolbarcontroller.cxx244 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in IMPL_STATIC_LINK_NOINSTANCE() local
256 Application::AcquireSolarMutex( nRef ); in IMPL_STATIC_LINK_NOINSTANCE()
265 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in IMPL_STATIC_LINK_NOINSTANCE() local
281 Application::AcquireSolarMutex( nRef ); in IMPL_STATIC_LINK_NOINSTANCE()
H A Dgenerictoolbarcontroller.cxx309 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in IMPL_STATIC_LINK_NOINSTANCE() local
321 Application::AcquireSolarMutex( nRef ); in IMPL_STATIC_LINK_NOINSTANCE()
/aoo4110/main/bridges/source/cpp_uno/shared/
H A Dunointerfaceproxy.cxx64 & static_cast< UnoInterfaceProxy * >( pUnoI )->nRef )) in acquireProxy()
86 & static_cast< UnoInterfaceProxy * >( pUnoI )->nRef )) in releaseProxy()
110 : nRef( 1 ) in UnoInterfaceProxy()
H A Dcppinterfaceproxy.cxx140 if (1 == osl_incrementInterlockedCount( &nRef )) in acquireProxy()
154 if (! osl_decrementInterlockedCount( &nRef )) // last release in releaseProxy()
166 : nRef( 1 ) in CppInterfaceProxy()
H A Dbridge.cxx162 if (1 == osl_incrementInterlockedCount( &nRef )) in acquire()
183 if (! osl_decrementInterlockedCount( &nRef )) in release()
192 : nRef( 1 ) in Bridge()
/aoo4110/main/sot/source/sdstor/
H A Dstgcache.hxx48 sal_uInt16 nRef; // reference count member in StgCache
66 void IncRef() { nRef++; } in IncRef()
67 sal_uInt16 DecRef() { return --nRef; } in DecRef()
/aoo4110/main/sfx2/source/doc/
H A Ddocvor.cxx391 sal_uInt16 nRef; member
399 ImpPath_Impl::ImpPath_Impl() : aUS(5), nRef(1) in ImpPath_Impl()
408 nRef( 1 ) in ImpPath_Impl()
435 ++pData->nRef; in Path()
441 if(!--pData->nRef) in operator =()
444 pData->nRef++; in operator =()
450 if(!--pData->nRef) in ~Path()
482 if(pData->nRef != 1) in NewImp()
484 pData->nRef--; in NewImp()
/aoo4110/main/svtools/source/misc/
H A Dtransfer.cxx625 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in ImplFlush() local
637 Application::AcquireSolarMutex( nRef ); in ImplFlush()
1106 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in CopyToClipboard() local
1127 Application::AcquireSolarMutex( nRef ); in CopyToClipboard()
1143 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in CopyToSelection() local
1164 Application::AcquireSolarMutex( nRef ); in CopyToSelection()
1193 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in StartDrag() local
1212 Application::AcquireSolarMutex( nRef ); in StartDrag()
2431 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in CreateFromSelection() local
2447 Application::AcquireSolarMutex( nRef ); in CreateFromSelection()
/aoo4110/main/basctl/source/dlged/
H A Ddlged.cxx918 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in Copy() local
920 Application::AcquireSolarMutex( nRef ); in Copy()
939 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in Paste() local
941 Application::AcquireSolarMutex( nRef ); in Paste()
1181 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in IsPasteAllowed() local
1183 Application::AcquireSolarMutex( nRef ); in IsPasteAllowed()
/aoo4110/main/vcl/source/app/
H A Dunohelp2.cxx56 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in CopyStringTo() local
68 Application::AcquireSolarMutex( nRef ); in CopyStringTo()
/aoo4110/main/cppuhelper/test/
H A Dtestimplhelper.cxx88 sal_Int32 nRef; member
96 { ++nRef; } in acquire()
98 { if (! --nRef) delete this; } in release()
/aoo4110/main/sc/source/core/tool/
H A Drefupdat.cxx228 sal_Bool lcl_IsWrapBig( sal_Int32 nRef, sal_Int32 nDelta ) in lcl_IsWrapBig() argument
230 if ( nRef > 0 && nDelta > 0 ) in lcl_IsWrapBig()
231 return nRef + nDelta <= 0; in lcl_IsWrapBig()
232 else if ( nRef < 0 && nDelta < 0 ) in lcl_IsWrapBig()
233 return nRef + nDelta >= 0; in lcl_IsWrapBig()
/aoo4110/main/accessibility/source/standard/
H A Dvclxaccessibletextcomponent.cxx394 const sal_uInt32 nRef = Application::ReleaseSolarMutex(); in copyText() local
401 Application::AcquireSolarMutex( nRef ); in copyText()
/aoo4110/main/writerfilter/source/ooxml/
H A DOOXMLFactory.cxx39 AttributeInfo::AttributeInfo(ResourceType_t nResource, Id nRef) in AttributeInfo() argument
40 :m_nResource(nResource), m_nRef(nRef) in AttributeInfo()
/aoo4110/main/sd/source/filter/ppt/
H A Dpptin.cxx2044 sal_uInt32 nRef; in ReadMedia() local
2045 rStCtrl >> nRef; in ReadMedia()
2046 if ( nRef == nMediaRef ) in ReadMedia()
2722 sal_uInt32 nRef; in ProcessObj() local
2723 rSt >> nRef; in ProcessObj()
2724 String aMediaURL( ReadMedia( nRef ) ); in ProcessObj()
2726 aMediaURL = ReadSound( nRef ); in ProcessObj()

Completed in 132 milliseconds

123