Home
last modified time | relevance | path

Searched refs:pCache (Results 1 – 25 of 59) sorted by relevance

123

/aoo42x/main/sfx2/source/control/
H A Dbindings.cxx181 pCache(0) in SfxFoundCache_Impl()
188 pCache(r.pCache) in SfxFoundCache_Impl()
195 pCache(pC) in SfxFoundCache_Impl()
396 if( pCache->GetDispatch().is() && pCache->GetItemLink() ) in Update_Impl()
492 if ( pCache ) in Update()
651 return pCache; in GetAnyStateCache_Impl()
887 if ( pCache ) in Invalidate()
919 if ( pCache ) in Invalidate()
1185 if ( pCache && pCache->GetDispatch().is() ) in Execute_Impl()
1573 SfxStateCache* pCache = pFound->pCache; in UpdateControllers_Impl() local
[all …]
H A Dstatcach.cxx79 , pCache( pStateCache ) in DBG_NAME()
82 DBG_ASSERT( pCache && pSlot, "Invalid BindDispatch!"); in DBG_NAME()
98 if ( !pCache ) in statusChanged()
103 pCache->Invalidate( sal_True ); in statusChanged()
107 sal_uInt16 nId = pCache->GetId(); in statusChanged()
164 for ( SfxControllerItem *pCtrl = pCache->GetItemLink(); in statusChanged()
181 pCache = NULL; in Release()
H A Dctrlitem.cxx428 SfxStateCache *pCache = pBindings->GetStateCache( nId ); in GetCoreMetric() local
440 if ( pDispat && pCache ) in GetCoreMetric()
442 const SfxSlotServer *pServer = pCache->GetSlotServer( *pDispat ); in GetCoreMetric()
451 pCache->Invalidate( sal_True ); in GetCoreMetric()
/aoo42x/main/sc/source/core/data/
H A Ddpsdbtab.cxx117 if ( pCache && ( nID < 0 || nID == pCache->GetId() ) ) in CreateCache()
118 return pCache; in CreateCache()
120 if ( pCache == NULL ) in CreateCache()
171 delete pCache; in CreateCache()
172 pCache = NULL; in CreateCache()
178 delete pCache; in CreateCache()
179 pCache = NULL; in CreateCache()
185 return pCache; in CreateCache()
193 if ( NULL == pCache ) in GetCache()
195 return pCache; in GetCache()
[all …]
H A Ddpshttab.cxx241 if ( pCache && ( nID < 0 || nID == pCache->GetId() ) ) in CreateCache()
242 return pCache; in CreateCache()
250 pCache->SetId( nID ); in CreateCache()
251 pDoc->AddDPObjectCache( pCache ); in CreateCache()
257 return pCache; in CreateCache()
269 if ( NULL == pCache && pDoc ) in GetCache()
271 if ( NULL == pCache ) in GetCache()
272 pCache = CreateCache( pDoc ); in GetCache()
273 return pCache; in GetCache()
279 if ( NULL == pCache ) in GetCacheId()
[all …]
H A Ddpgroup.cxx93 const ScDPItemData* pDataInsert = pCache->GetItemDataById( nSourceDim, nNew ); in lcl_Search()
115 if ( !lcl_Search( nSourceDim, pCache, vIdx, nNew ,nIndex ) ) in lcl_Insert()
125 SCROW nNewID = pCache->GetAdditionalItemID( rData ); in lcl_InsertValue()
126 lcl_Insert( nSourceDim, pCache, vIdx, nNewID ); in lcl_InsertValue()
133 SCROW nItemId = lcl_InsertValue<false>( nSourceDim, pCache, vIdx, rData ); in lcl_InsertValue()
135 if( const ScDPItemData *pData = pCache->GetItemDataById( nSourceDim, nItemId ) ) in lcl_InsertValue()
621 lcl_Insert( nSourceDim, pCache , rEntries, rOriginal[nOriginalPos] ); in FillColumnEntries()
649 SvNumberFormatter* pFormatter = pCache->GetDoc()->GetFormatTable(); in FillColumnEntries()
673 lcl_InsertValue<false>( nSourceDim, pCache, rEntries, aName, nValue, nDatePart ); in FillColumnEntries()
919 SvNumberFormatter* pFormatter = pCache->GetDoc()->GetFormatTable(); in GetNumEntries()
[all …]
H A Ddpsave.cxx1408 ScDPTableDataCache* pCache = pTabSource->GetCache(); in Refresh() local
1409 if ( pCache->GetId() == -1 ) in Refresh()
1412 SCCOL nSrcDim = pCache->GetDimensionIndex( GetName() ); in Refresh()
1419 if ( pCache->GetIdByItemData( nSrcDim, *pSelectedPage ) == -1 ) in Refresh()
1457 SCCOL nRefDim = pCache->GetDimensionIndex( sReferenceFieldName ); in Refresh()
1465 if ( pCache->GetIdByItemData( nRefDim, sReferenceItemName ) == -1 ) in Refresh()
1487 … if ( iter != deletedDims.end() && pCache->GetDimensionIndex( sFieldDimName ) == -1 ) in Refresh()
1500 if ( iter != deletedDims.end() && pCache->GetDimensionIndex( sFieldDimName ) == -1 ) in Refresh()
1512 if ( pCache->GetIdByItemData( nSrcDim, aMemberName ) == -1 ) in Refresh()
H A Ddocumen2.cxx1260 ScLookupCache* pCache = 0; in GetLookupCache() local
1266 pCache = new ScLookupCache( this, rRange); in GetLookupCache()
1267 AddLookupCache( *pCache); in GetLookupCache()
1270 pCache = (*it).second; in GetLookupCache()
1271 return *pCache; in GetLookupCache()
1295 ScLookupCache* pCache = (*it).second; in RemoveLookupCache() local
1297 EndListeningArea( pCache->getRange(), &rCache); in RemoveLookupCache()
H A Ddocumen3.cxx2052 ScDPTableDataCache* pCache = NULL; in GetUsedDPObjectCache() local
2061 pCache= GetDPObjectCache( nID ); in GetUsedDPObjectCache()
2062 if ( pCache ) in GetUsedDPObjectCache()
2063 return pCache; in GetUsedDPObjectCache()
2066 return pCache; in GetUsedDPObjectCache()
2108 ScDPTableDataCache* pCache = *iter; in RemoveDPObjectCache() local
2110 delete pCache; in RemoveDPObjectCache()
2131 ScDPTableDataCache* pCache = *iter; in RemoveUnusedDPObjectCaches() local
2133 delete pCache; in RemoveUnusedDPObjectCaches()
/aoo42x/main/framework/test/typecfg/
H A Dcfgview.cxx136 FilterCache* pCache ; member
194 m_aData.pCache = new FilterCache( m_aData.nVersion ); in Main()
200 delete m_aData.pCache; in Main()
201 m_aData.pCache = NULL; in Main()
437 FileType aItem = m_aData.pCache->getType( sName ); in impl_generateTypeListHTML()
1158 aFilter = m_aData.pCache->getFilter( lFilters[nFilter] ); in impl_generateInvalidFiltersHTML()
1162 aType = m_aData.pCache->getType( lTypes[nType] ); in impl_generateInvalidFiltersHTML()
1236 aType = m_aData.pCache->getType( lTypes[nType] ); in impl_generateInvalidDetectorsHTML()
1307 aLoader = m_aData.pCache->getLoader( lLoaders[nLoader] ); in impl_generateInvalidLoadersHTML()
1311 aType = m_aData.pCache->getType( lTypes[nType] ); in impl_generateInvalidLoadersHTML()
[all …]
/aoo42x/main/filter/source/config/cache/
H A Dbasecontainer.cxx251 FilterCache* pCache = impl_getWorkingCache(); in insertByName() local
252 if (pCache->hasItem(m_eType, sItem)) in insertByName()
254 pCache->setItem(m_eType, sItem, aItem); in insertByName()
276 FilterCache* pCache = impl_getWorkingCache(); in removeByName() local
317 FilterCache* pCache = impl_getWorkingCache(); in replaceByName() local
318 if (!pCache->hasItem(m_eType, sItem)) in replaceByName()
320 pCache->setItem(m_eType, sItem, aItem); in replaceByName()
349 FilterCache* pCache = impl_getWorkingCache(); in getByName() local
350 aItem = pCache->getItem(m_eType, sItem); in getByName()
415 bHasOne = pCache->hasItem(m_eType, sItem); in hasByName()
[all …]
H A Dfilterfactory.cxx404 FilterCache* pCache = impl_getWorkingCache(); in impl_queryMatchByDocumentService() local
405 OUStringList lFilterNames = pCache->getItemNames(FilterCache::E_FILTER); in impl_queryMatchByDocumentService()
415 const CacheItem aFilter = pCache->getItem(FilterCache::E_FILTER, sName); in impl_queryMatchByDocumentService()
483 stlcomp_removeIfMatchFlags(FilterCache* pCache , in stlcomp_removeIfMatchFlags() argument
486 : m_pCache (pCache ) in stlcomp_removeIfMatchFlags()
611 FilterCache* pCache = impl_getWorkingCache(); in impl_getSortedFilterListForModule() local
612 OUStringList lOtherFilters = pCache->getMatchingItemsByProps(FilterCache::E_FILTER, lIProps); in impl_getSortedFilterListForModule()
637 …lMergedFilters.begin(), lMergedFilters.end(), stlcomp_removeIfMatchFlags(pCache, nIFlags, sal_True… in impl_getSortedFilterListForModule()
642 …lMergedFilters.begin(), lMergedFilters.end(), stlcomp_removeIfMatchFlags(pCache, nEFlags, sal_Fals… in impl_getSortedFilterListForModule()
/aoo42x/main/xmloff/source/style/
H A Dimpastp1.cxx47 : pCache( 0 ), mnFamily( nFamily ), maStrFamilyName( rStrName), mxMapper( rMapper ), in XMLFamilyData_Impl()
59 DBG_ASSERT( !pCache || !pCache->Count(), in ~XMLFamilyData_Impl()
61 if( pCache ) in ~XMLFamilyData_Impl()
63 while( pCache->Count() ) in ~XMLFamilyData_Impl()
64 delete pCache->Remove( 0UL ); in ~XMLFamilyData_Impl()
73 DBG_ASSERT( !pCache || !pCache->Count(), in ClearEntries()
75 if( pCache ) in ClearEntries()
77 while( pCache->Count() ) in ClearEntries()
78 delete pCache->Remove( 0UL ); in ClearEntries()
H A Dimpastp4.cxx220 if( !pFamily->pCache ) in Add()
222 if( pFamily->pCache->Count() < MAX_CACHE_SIZE ) in Add()
223 pFamily->pCache->Insert( new OUString( rName ), in Add()
224 pFamily->pCache->Count() ); in Add()
287 if( !pFamily->pCache ) in AddToCache()
289 if( pFamily->pCache->Count() < MAX_CACHE_SIZE ) in AddToCache()
290 pFamily->pCache->Insert( new OUString( rParent ), in AddToCache()
291 pFamily->pCache->Count() ); in AddToCache()
346 DBG_ASSERT( pFamily->pCache, "family doesn't have a cache" ); in FindAndRemoveCached()
350 if( pFamily->pCache && pFamily->pCache->Count() ) in FindAndRemoveCached()
[all …]
H A Dxmlexppr.cxx577 pCache( 0 ), in SvXMLExportPropertyMapper()
584 delete pCache; in ~SvXMLExportPropertyMapper()
641 if( pCache ) in _Filter()
647 pCache->find( aKey ); in _Filter()
648 if( aIter != pCache->end() ) in _Filter()
689 if( !pCache ) in _Filter()
690 ((SvXMLExportPropertyMapper *)this)->pCache = in _Filter()
693 (*pCache)[aKey] = pFilterInfo; in _Filter()
/aoo42x/main/svl/source/items/
H A Dpoolcach.cxx45 pCache(new SfxItemModifyArr_Impl), in DBG_NAME()
58 pCache(new SfxItemModifyArr_Impl), in SfxItemPoolCache()
71 for ( size_t nPos = 0; nPos < pCache->size(); ++nPos ) { in ~SfxItemPoolCache()
72 pPool->Remove( *(*pCache)[nPos].pPoolItem ); in ~SfxItemPoolCache()
73 pPool->Remove( *(*pCache)[nPos].pOrigItem ); in ~SfxItemPoolCache()
75 delete pCache; pCache = 0; in ~SfxItemPoolCache()
91 for ( size_t nPos = 0; nPos < pCache->size(); ++nPos ) in ApplyTo()
93 SfxItemModifyImpl &rMapEntry = (*pCache)[nPos]; in ApplyTo()
130 pCache->push_back( aModify ); in ApplyTo()
/aoo42x/main/cppu/source/typelib/
H A Dtypelib.cxx266 if( pCache ) in ~TypeDescriptor_Init_Impl()
269 while( aIt != pCache->end() ) in ~TypeDescriptor_Init_Impl()
274 delete pCache; in ~TypeDescriptor_Init_Impl()
275 pCache = 0; in ~TypeDescriptor_Init_Impl()
532 if( !rInit.pCache ) in complete()
537 rInit.pCache->pop_front(); in complete()
2238 if( !rInit.pCache ) in typelib_typedescription_getByName()
2243 rInit.pCache->pop_front(); in typelib_typedescription_getByName()
2300 if( !rInit.pCache ) in typelib_typedescriptionreference_new()
2305 rInit.pCache->pop_front(); in typelib_typedescriptionreference_new()
[all …]
/aoo42x/main/editeng/source/misc/
H A Dtxtrange.cxx63 pCache = new SvLongsPtr[ nCacheSize ]; in TextRanger()
65 memset( pCache, 0, nCacheSize * sizeof( SvLongsPtr ) ); in TextRanger()
105 delete pCache[i]; in ~TextRanger()
106 delete[] pCache; in ~TextRanger()
125 delete pCache[i]; in SetVertical()
127 memset( pCache, 0, nCacheSize * sizeof( SvLongsPtr ) ); in SetVertical()
690 if( !pCache[ nCacheIdx ] ) in GetTextRanges()
691 pCache[ nCacheIdx ] = new SvLongs( 2, 8 ); in GetTextRanges()
693 SvxBoundArgs aArg( this, pCache[ nCacheIdx ], rRange ); in GetTextRanges()
698 return pCache[ nIndex ]; in GetTextRanges()
/aoo42x/main/svx/source/form/
H A Dfmundo.cxx544 PropertySetInfoCache* pCache = static_cast<PropertySetInfoCache*>(m_pPropertySetCache); in disposing() local
545 PropertySetInfoCacheIterator aSetPos = pCache->find(xSourceSet); in disposing()
546 if (aSetPos != pCache->end()) in disposing()
547 pCache->erase(aSetPos); in disposing()
604 PropertySetInfoCache* pCache = static_cast<PropertySetInfoCache*>(m_pPropertySetCache); in propertyChange() local
607 PropertySetInfoCacheIterator aSetPos = pCache->find(xSet); in propertyChange()
608 if (aSetPos == pCache->end()) in propertyChange()
627 aSetPos = pCache->insert(PropertySetInfoCache::value_type(xSet,aNewEntry)).first; in propertyChange()
628 …DBG_ASSERT(aSetPos != pCache->end(), "FmXUndoEnvironment::propertyChange : just inserted it ... wh… in propertyChange()
741 PropertySetInfoCache* pCache = static_cast<PropertySetInfoCache*>(m_pPropertySetCache); in propertyChange() local
[all …]
/aoo42x/main/sw/source/core/layout/
H A Dlaycache.cxx557 SwLayCacheImpl *pCache = pDoc->GetLayoutCache() ? in CalcPageCount() local
559 if( pCache ) in CalcPageCount()
561 nPgCount = pCache->Count() + 1; in CalcPageCount()
1173 SwLayCacheImpl *pCache = pDoc->GetLayoutCache() ? in CheckPageFlyCache() local
1175 if( pCache ) in CheckPageFlyCache()
1179 sal_uInt16 nCnt = pCache->GetFlyCount(); in CheckPageFlyCache()
1185 nPgNum > (pFlyC = pCache->GetFlyCache( nIdx ))->nPageNum ) in CheckPageFlyCache()
1189 nOrdNum != (pFlyC = pCache->GetFlyCache( nIdx ))->nOrdNum ) in CheckPageFlyCache()
1210 if ( pCache->IsUseFlyCache() ) in CheckPageFlyCache()
/aoo42x/main/linguistic/source/
H A Dspelldsp.hxx72 linguistic::SpellCache *pCache; // Spell Cache (holds known words) member in SpellCheckerDispatcher
132 if (!pCache) in GetCache()
133 ((SpellCheckerDispatcher *) this)->pCache = new linguistic::SpellCache(); in GetCache()
134 return *pCache; in GetCache()
H A Dspelldsp.cxx213 pCache = NULL; in SpellCheckerDispatcher()
220 delete pCache; in ~SpellCheckerDispatcher()
807 if (pCache) in SetServiceList()
808 pCache->Flush(); // new services may spell differently... in SetServiceList()
862 if (pCache) in FlushSpellCache()
863 pCache->Flush(); in FlushSpellCache()
/aoo42x/main/sd/source/ui/tools/
H A DIconCache.cxx88 IconCache* pCache = new IconCache (); in Instance() local
90 ::std::auto_ptr<SdGlobalResource>(pCache)); in Instance()
92 Implementation::mpInstance = pCache; in Instance()
/aoo42x/main/sal/inc/rtl/
H A Dalloc.h225 rtl_cache_type * pCache
237 rtl_cache_type * pCache
252 rtl_cache_type * pCache,
/aoo42x/main/vcl/inc/
H A Dgraphite_cache.hxx274 GraphiteSegmentCache *pCache = new GraphiteSegmentCache(m_nSegCacheSize); in getCache() local
275 m_cacheMap[fontHash] = pCache; in getCache()
276 return pCache; in getCache()

Completed in 449 milliseconds

123