Home
last modified time | relevance | path

Searched refs:nRefCount (Results 1 – 25 of 66) sorted by relevance

123

/trunk/main/svl/source/items/
H A Dslstitm.cxx44 sal_uInt16 nRefCount; member in SfxImpStringList
47 SfxImpStringList() { nRefCount = 1; } in SfxImpStringList()
56 DBG_ASSERT(nRefCount!=0xffff,"ImpList already deleted"); in ~SfxImpStringList()
63 nRefCount = 0xffff; in ~SfxImpStringList()
176 pImp->nRefCount++; in SfxStringListItem()
187 if( pImp->nRefCount > 1 ) in ~SfxStringListItem()
188 pImp->nRefCount--; in ~SfxStringListItem()
286 if ( pImp && (pImp->nRefCount == 1) ) in SetString()
290 pImp->nRefCount--; in SetString()
365 if ( pImp && (pImp->nRefCount == 1) ) in SetStringList()
[all …]
H A Dpoolitem.cxx83 : nRefCount( 0 ), in IMPL_PTRHINT()
121 : nRefCount( 0 ), // wird ja ein neues Object! in SfxPoolItem()
160 DBG_ASSERT(nRefCount == 0 || nRefCount > SFX_ITEMS_MAXREF, "destroying item in use" ); in ~SfxPoolItem()
/trunk/main/tools/source/ref/
H A Dglobname.cxx37 nRefCount = 0; in ImpSvGlobalName()
44 nRefCount = 1; in ImpSvGlobalName()
64 pImp->nRefCount++; in SvGlobalName()
82 pImp->nRefCount++; in SvGlobalName()
91 pImp->nRefCount++; in SvGlobalName()
111 pImp->nRefCount--; in ~SvGlobalName()
122 pImp->nRefCount--; in operator =()
136 pImp->nRefCount--; in NewImp()
138 pImp->nRefCount++; in NewImp()
370 pImp->nRefCount--; in ~SvGlobalNameList()
[all …]
/trunk/main/sal/rtl/source/
H A Dbyteseq.c51 if (pSequence->nRefCount > 1) in rtl_byte_sequence_reference2One()
61 if (! osl_decrementInterlockedCount( &pSequence->nRefCount )) in rtl_byte_sequence_reference2One()
71 pNew->nRefCount = 1; in rtl_byte_sequence_reference2One()
93 if (pSequence->nRefCount > 1) // split in rtl_byte_sequence_realloc()
110 if (! osl_decrementInterlockedCount( &pSequence->nRefCount )) in rtl_byte_sequence_realloc()
122 pSequence->nRefCount = 1; in rtl_byte_sequence_realloc()
133 osl_incrementInterlockedCount( &(pSequence->nRefCount) ); in rtl_byte_sequence_acquire()
141 if (! osl_decrementInterlockedCount( &(pSequence->nRefCount )) ) in rtl_byte_sequence_release()
164 (*ppSequence)->nRefCount = 1; in rtl_byte_sequence_construct()
189 (*ppSequence)->nRefCount = 1; in rtl_byte_sequence_constructNoDefault()
/trunk/main/svl/inc/svl/
H A Dpoolitem.hxx182 sal_uLong nRefCount; // Referenzzaehler member in SfxPoolItem
238 sal_uLong GetRefCount() const { return nRefCount; } in GetRefCount()
297 nRefCount = n; in SetRefCount()
304 nRefCount = SFX_ITEMS_SPECIAL; in SetKind()
311 DBG_ASSERT( nRefCount <= SFX_ITEMS_MAXREF, "AddRef mit nicht-Pool-Item" ); in AddRef()
312 DBG_ASSERT( ULONG_MAX - nRefCount > n, "AddRef: Referenzzaehler ueberschlaegt sich" ); in AddRef()
313 return ( ((SfxPoolItem *)this)->nRefCount += n ); in AddRef()
319 DBG_ASSERT( nRefCount <= SFX_ITEMS_MAXREF, "AddRef mit nicht-Pool-Item" ); in ReleaseRef()
320 DBG_ASSERT( nRefCount >= n, "ReleaseRef: Referenzzaehler ueberschlaegt sich" ); in ReleaseRef()
321 ((SfxPoolItem *)this)->nRefCount -= n; in ReleaseRef()
[all …]
/trunk/main/tools/inc/tools/
H A Dref.hxx323 sal_uIntPtr nRefCount; member 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()
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()
[all …]
H A Dunqid.hxx36 sal_uInt16 nRefCount; member
39 nRefCount--; in Release()
40 if( 0 == nRefCount ) in Release()
56 { pId = pIdP; pId->nRefCount++; } in UniqueItemId()
60 { pId = rId.pId; if( pId ) pId->nRefCount++; } in UniqueItemId()
65 if( rId.pId ) rId.pId->nRefCount++; in operator =()
H A Dglobname.hxx36 sal_uInt16 nRefCount; member
40 nRefCount = 0; in ImpSvGlobalName()
67 pImp->nRefCount++; in SvGlobalName()
72 pImp->nRefCount++; in SvGlobalName()
/trunk/main/svx/source/xoutdev/
H A D_xpoly.cxx64 nRefCount = 1; in ImpXPolygon()
89 nRefCount = 1; in ImpXPolygon()
300 pImpXPolygon->nRefCount++; in XPolygon()
463 pImpXPolygon->nRefCount--; in ~XPolygon()
482 pImpXPolygon->nRefCount--; in CheckReference()
770 pImpXPolygon->nRefCount--; in operator =()
1514 nRefCount = 1; in ImpXPolyPolygon()
1617 pImpXPolyPolygon->nRefCount++; in XPolyPolygon()
1654 pImpXPolyPolygon->nRefCount--; in ~XPolyPolygon()
1673 pImpXPolyPolygon->nRefCount--; in CheckReference()
[all …]
/trunk/main/sal/qa/ByteSequence/
H A DByteSequence.cxx92 ASSERT_EQ(sal_Int32(2), s1.getHandle()->nRefCount); in TEST_F()
94 ASSERT_EQ(sal_Int32(1), s1.getHandle()->nRefCount); in TEST_F()
106 ASSERT_EQ(sal_Int32(2), c.nRefCount); in TEST_F()
108 ASSERT_EQ(sal_Int32(1), c.nRefCount); in TEST_F()
120 ASSERT_EQ(sal_Int32(2), c.nRefCount); in TEST_F()
122 ASSERT_EQ(sal_Int32(1), c.nRefCount); in TEST_F()
131 ASSERT_EQ(sal_Int32(1), s1.getHandle()->nRefCount); in TEST_F()
132 ASSERT_EQ(sal_Int32(1), s2.getHandle()->nRefCount); in TEST_F()
/trunk/main/sc/source/core/inc/
H A Dbcaslot.hxx46 sal_uLong nRefCount; member in ScBroadcastArea
52 nRefCount( 0 ), bInUpdateChain( sal_False ) {} in ScBroadcastArea()
60 inline void IncRef() { ++nRefCount; } in IncRef()
61 inline sal_uLong DecRef() { return nRefCount ? --nRefCount : 0; } in DecRef()
62 inline sal_uLong GetRef() { return nRefCount; } in GetRef()
/trunk/main/cppu/source/uno/
H A Dsequence.cxx65 pNew->nRefCount = 1; in reallocSeq()
691 if (pSeq->nRefCount > 1 || in ireallocSequence()
721 if (osl_decrementInterlockedCount( &pSeq->nRefCount ) == 0) in ireallocSequence()
736 OSL_ASSERT( pSeq->nRefCount == 1 ); in ireallocSequence()
899 if (pSequence->nRefCount > 1) in uno_type_sequence_reference2One()
927 if (osl_decrementInterlockedCount( &pSequence->nRefCount ) == 0) in uno_type_sequence_reference2One()
946 if (pSequence->nRefCount > 1) in uno_sequence_reference2One()
970 if (osl_decrementInterlockedCount( &pSequence->nRefCount ) == 0) in uno_sequence_reference2One()
990 ::osl_incrementInterlockedCount( &pSource->nRefCount ); in uno_sequence_assign()
1006 ::osl_incrementInterlockedCount( &pSource->nRefCount ); in uno_type_sequence_assign()
/trunk/main/tools/source/memtools/
H A Dunqidx.cxx462 pEle->nRefCount++; in UniqueIdContainer()
488 pEle->nRefCount++; in operator =()
513 if ( pId->nRefCount <= nFree ) in Clear()
549 pId->nRefCount = 1; in CreateId()
568 pId->nRefCount = 0; in CreateFreeId()
592 pId->nRefCount = 1; in CreateIdProt()
/trunk/main/sw/inc/
H A Dauthfld.hxx40 sal_uInt16 nRefCount; member in SwAuthEntry
42 SwAuthEntry() : nRefCount(0){} in SwAuthEntry()
50 void AddRef() { ++nRefCount; } in AddRef()
51 void RemoveRef() { --nRefCount; } in RemoveRef()
52 sal_uInt16 GetRefCount() { return nRefCount; } in GetRefCount()
/trunk/main/oox/source/xls/
H A Dexternallinkbuffer.cxx995 sal_Int32 nRefCount; in importExternalSheets() local
996 rStrm >> nRefCount; in importExternalSheets()
997 …size_t nMaxCount = getLimitedValue< size_t, sal_Int64 >( nRefCount, 0, rStrm.getRemaining() / 12 ); in importExternalSheets()
1032 sal_uInt16 nRefCount; in importExternSheet8() local
1033 rStrm >> nRefCount; in importExternSheet8()
1034 …OSL_ENSURE( static_cast< sal_Int64 >( nRefCount * 6 ) == rStrm.getRemaining(), "ExternalLinkBuffer… in importExternSheet8()
1035nRefCount = static_cast< sal_uInt16 >( ::std::min< sal_Int64 >( nRefCount, rStrm.getRemaining() / … in importExternSheet8()
1041 maRefSheets.insert( maRefSheets.begin(), nRefCount, RefSheetsModel() ); in importExternSheet8()
1042 …for( RefSheetsModelVec::iterator aIt = maRefSheets.begin(), aEnd = aIt + nRefCount; !rStrm.isEof()… in importExternSheet8()
/trunk/main/editeng/source/items/
H A Dnumitem.cxx67 sal_Int32 SvxNumberType::nRefCount = 0; member in SvxNumberType
94 nRefCount++; in SvxNumberType()
103 nRefCount++; in SvxNumberType()
110 if(!--nRefCount) in ~SvxNumberType()
780 sal_Int32 SvxNumRule::nRefCount = 0; member in SvxNumRule
795 ++nRefCount; in SvxNumRule()
847 ++nRefCount; in SvxNumRule()
868 ++nRefCount; in SvxNumRule()
947 if(!--nRefCount) in ~SvxNumRule()
/trunk/main/cppu/source/typelib/
H A Dtypelib.cxx292 OSL_ASSERT( pTDR->nRefCount > pTDR->nStaticRefCount ); in ~TypeDescriptor_Init_Impl()
293 pTDR->nRefCount -= pTDR->nStaticRefCount; in ~TypeDescriptor_Init_Impl()
749 pRet->nRefCount = 1; // reference count is initially 1 in typelib_typedescription_newEmpty()
1415 ::osl_incrementInterlockedCount( &pTypeDescription->nRefCount ); in typelib_typedescription_acquire()
1572 sal_Int32 ref = ::osl_decrementInterlockedCount( &pTD->nRefCount ); in typelib_typedescription_release()
1680 osl_decrementInterlockedCount( &pTDR->pType->nRefCount ); in typelib_typedescription_register()
2337 pTDR->nRefCount = 1; in typelib_typedescriptionreference_new()
2366 ::osl_incrementInterlockedCount( &pRef->nRefCount ); in typelib_typedescriptionreference_acquire()
2377 if( ! ::osl_decrementInterlockedCount( &pRef->nRefCount ) ) in typelib_typedescriptionreference_release()
2439 ::osl_decrementInterlockedCount( &pRef->pType->nRefCount ); in typelib_typedescriptionreference_getDescription()
[all …]
/trunk/main/vcl/source/gdi/
H A Dimpgraph.cxx66 sal_uLong nRefCount; member
158 mpSwapFile->nRefCount++; in ImpGraphic()
305 mpSwapFile->nRefCount++; in operator =()
421 if( mpSwapFile->nRefCount > 1 ) in ImplClear()
422 mpSwapFile->nRefCount--; in ImplClear()
1273 mpSwapFile->nRefCount = 1; in ImplReadEmbedded()
1455 mpSwapFile->nRefCount = 1; in ImplSwapOut()
1560 if( mpSwapFile->nRefCount > 1 ) in ImplSwapIn()
1561 mpSwapFile->nRefCount--; in ImplSwapIn()
/trunk/main/svx/inc/
H A Dxpolyimp.hxx49 sal_uInt16 nRefCount; member in ImpXPolygon
88 sal_uInt16 nRefCount; member in ImpXPolyPolygon
92 { nRefCount = 1; } in ImpXPolyPolygon()
/trunk/main/unotools/source/config/
H A Dundoopt.cxx44 static sal_Int32 nRefCount = 0; variable
169 ++nRefCount; in SvtUndoOptions()
181 if ( !--nRefCount ) in ~SvtUndoOptions()
H A Dmisccfg.cxx53 static sal_Int32 nRefCount = 0; variable
247 ++nRefCount; in MiscCfg()
257 if ( !--nRefCount ) in ~MiscCfg()
H A Daccelcfg.cxx60 static sal_Int32 nRefCount = 0; variable
167 ++nRefCount; in SvtAcceleratorConfiguration()
204 if ( !--nRefCount ) in ~SvtAcceleratorConfiguration()
/trunk/main/unotools/source/misc/
H A Dsyslocale.cxx44 sal_Int32 SvtSysLocale::nRefCount = 0; member in SvtSysLocale
104 ++nRefCount; in SvtSysLocale()
111 if ( !--nRefCount ) in ~SvtSysLocale()
/trunk/main/rsc/source/tools/
H A Drscdef.cxx263 nRefCount = 0; in RscDefine()
273 nRefCount = 0; in RscDefine()
291 if( nRefCount ) in ~RscDefine()
305 nRefCount--; in DecRef()
306 if( 0 == nRefCount ){ in DecRef()
/trunk/main/tools/source/rc/
H A Dresmgr.cxx132 int nRefCount; member
137 nRefCount( 0 ), in ContainerElement()
402 if( it->second.nRefCount == 0 ) in getResMgr()
408 if( it->second.nRefCount == 0 ) in getResMgr()
429 it->second.nRefCount++; in getResMgr()
467 DBG_ASSERT( it->second.nRefCount > 0, "InternalResMgr freed too often" ); in freeResMgr()
468 if( it->second.nRefCount > 0 ) in freeResMgr()
469 it->second.nRefCount--; in freeResMgr()
470 if( it->second.nRefCount == 0 ) in freeResMgr()

Completed in 121 milliseconds

123