Home
last modified time | relevance | path

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

123

/AOO41X/main/sfx2/source/control/
H A Dbindings.cxx175 SfxStateCache* pCache; // Pointer auf den StatusCache, ggf. 0 member
181 pCache(0) in SfxFoundCache_Impl()
188 pCache(r.pCache) in SfxFoundCache_Impl()
195 pCache(pC) in SfxFoundCache_Impl()
288 SfxStateCache *pCache = pImp->pCaches->GetObject(nCache); in DeleteControllers_Impl() local
289 sal_uInt16 nSlotId = pCache->GetId(); in DeleteControllers_Impl()
292 pCache->DeleteFloatingWindows(); in DeleteControllers_Impl()
310 SfxStateCache *pCache = pImp->pCaches->GetObject(nCache-1); in DeleteControllers_Impl() local
314 for ( SfxControllerItem *pCtrl = pCache->GetItemLink(); in DeleteControllers_Impl()
321 if ( pCache->GetInternalController() ) in DeleteControllers_Impl()
[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()
H A Dshell.cxx435 SfxStateCache* pCache = pBindings->GetStateCache( nSlotId ); in PutItem() local
436 if ( pCache ) in PutItem()
438 pCache->SetState( SFX_ITEM_AVAILABLE, pItem->Clone(), sal_True ); in PutItem()
439 pCache->SetCachedState( sal_True ); in PutItem()
/AOO41X/main/sc/source/core/data/
H A Ddpsdbtab.cxx79 ScDPTableDataCache* pCache = NULL; in GetExistDPObjectCache() local
90 pCache= pDoc->GetDPObjectCache( nID ); in GetExistDPObjectCache()
91 if ( pCache ) in GetExistDPObjectCache()
92 return pCache; in GetExistDPObjectCache()
115 ScDPTableDataCache* pCache = GetExistDPObjectCache( pDoc ); in CreateCache() local
117 if ( pCache && ( nID < 0 || nID == pCache->GetId() ) ) in CreateCache()
118 return pCache; in CreateCache()
120 if ( pCache == NULL ) in CreateCache()
121 pCache = new ScDPTableDataCache( pDoc ); in CreateCache()
162 pCache->InitFromDataBase( xRowSet, *aFormat.GetNullDate() ); in CreateCache()
[all …]
H A Ddpshttab.cxx240 ScDPTableDataCache* pCache = GetExistDPObjectCache( pDoc ); in CreateCache() local
241 if ( pCache && ( nID < 0 || nID == pCache->GetId() ) ) in CreateCache()
242 return pCache; in CreateCache()
247 pCache = new ScDPTableDataCache( pDoc ); in CreateCache()
249 pCache->InitFromDoc( pDoc, aSourceRange ); in CreateCache()
250 pCache->SetId( nID ); in CreateCache()
251 pDoc->AddDPObjectCache( pCache ); in CreateCache()
253 DBG_TRACE1("Create a cache id = %d \n", pCache->GetId() ); in CreateCache()
257 return pCache; in CreateCache()
268 ScDPTableDataCache* pCache = pDoc->GetDPObjectCache( nID ); in GetCache() local
[all …]
H A Ddpgroup.cxx80 …sal_Bool lcl_Search( SCCOL nSourceDim, ScDPTableDataCache* pCache , const std::vector< SCROW >& vI… in lcl_Search() argument
92 const ScDPItemData* pData = pCache->GetItemDataById( nSourceDim, vIdx[nIndex] ); in lcl_Search()
93 const ScDPItemData* pDataInsert = pCache->GetItemDataById( nSourceDim, nNew ); in lcl_Search()
112 …void lcl_Insert( SCCOL nSourceDim, ScDPTableDataCache* pCache , std::vector< SCROW >& vIdx, SCRO… in lcl_Insert() argument
115 if ( !lcl_Search( nSourceDim, pCache, vIdx, nNew ,nIndex ) ) in lcl_Insert()
120 …SCROW lcl_InsertValue( SCCOL nSourceDim, ScDPTableDataCache* pCache , std::vector< SCROW >& vIdx,…
123 …SCROW lcl_InsertValue<false>( SCCOL nSourceDim, ScDPTableDataCache* pCache , std::vector< SCROW >… in lcl_InsertValue() argument
125 SCROW nNewID = pCache->GetAdditionalItemID( rData ); in lcl_InsertValue()
126 lcl_Insert( nSourceDim, pCache, vIdx, nNewID ); in lcl_InsertValue()
131 …SCROW lcl_InsertValue<true>( SCCOL nSourceDim, ScDPTableDataCache* pCache , std::vector< SCROW >&… in lcl_InsertValue() argument
[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()
/AOO41X/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
277 pCache->removeItem(m_eType, sItem); // throw exceptions automaticly in removeByName()
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()
[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()
/AOO41X/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()
221 pFamily->pCache = new SvXMLAutoStylePoolCache_Impl( 256, 256 ); 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()
288 pFamily->pCache = new SvXMLAutoStylePoolCache_Impl( 256, 256 ); 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()
[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()
/AOO41X/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()
432 css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pCache->getAllTypeNames(); in impl_generateTypeListHTML()
437 FileType aItem = m_aData.pCache->getType( sName ); in impl_generateTypeListHTML()
566 css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pCache->getAllFilterNames() ; in impl_generateFilterListHTML()
572 aFilter = m_aData.pCache->getFilter( lNames[nFilterCounter] ); in impl_generateFilterListHTML()
726 m_aData.pCache->queryFilters( FILTERQUERY_TEXTDOCUMENT_WITHDEFAULT ) >>= lWriter ; in impl_generateFilterModulListHTML()
727 m_aData.pCache->queryFilters( FILTERQUERY_WEBDOCUMENT_WITHDEFAULT ) >>= lWeb ; in impl_generateFilterModulListHTML()
[all …]
/AOO41X/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()
/AOO41X/main/cppu/source/typelib/
H A Dtypelib.cxx205 TypeDescriptionList_Impl * pCache; member
266 if( pCache ) in ~TypeDescriptor_Init_Impl()
268 TypeDescriptionList_Impl::const_iterator aIt = pCache->begin(); 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()
533 rInit.pCache = new TypeDescriptionList_Impl; in complete()
534 if( (sal_Int32)rInit.pCache->size() >= nCacheSize ) in complete()
536 typelib_typedescription_release( rInit.pCache->front() ); in complete()
[all …]
/AOO41X/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()
/AOO41X/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 …]
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/sal/inc/rtl/
H A Dalloc.h225 rtl_cache_type * pCache
237 rtl_cache_type * pCache
252 rtl_cache_type * pCache,
/AOO41X/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()

123