| /trunk/main/sal/rtl/source/ |
| H A D | alloc_cache.c | 118 #define RTL_CACHE_HASH_INDEX(cache, addr) \ argument 119 …RTL_CACHE_HASH_INDEX_IMPL((addr), (cache)->m_hash_shift, (cache)->m_type_shift, ((cache)->m_hash_s… 126 rtl_cache_type * cache, in rtl_cache_hash_rescale() argument 143 RTL_MEMORY_LOCK_ACQUIRE(&(cache->m_slab_lock)); in rtl_cache_hash_rescale() 145 old_table = cache->m_hash_table; in rtl_cache_hash_rescale() 146 old_size = cache->m_hash_size; in rtl_cache_hash_rescale() 152 cache->m_name, in rtl_cache_hash_rescale() 153 cache->m_slab_stats.m_alloc - cache->m_slab_stats.m_free, in rtl_cache_hash_rescale() 154 (cache->m_slab_stats.m_alloc - cache->m_slab_stats.m_free) >> cache->m_hash_shift, in rtl_cache_hash_rescale() 155 cache->m_slab_stats.m_free, in rtl_cache_hash_rescale() [all …]
|
| /trunk/main/scripting/java/org/openoffice/netbeans/modules/office/filesystem/ |
| H A D | OpenOfficeDocFileSystem.java | 67 private transient Map cache; // filesystem cache field in OpenOfficeDocFileSystem 98 cache = new HashMap(); in OpenOfficeDocFileSystem() 315 synchronized(cache) { in openDocument() 329 synchronized(cache) { in closeDocument() 356 synchronized(cache) { in cacheDocument() 357 cache.clear(); in cacheDocument() 360 cache.put(cacheEntry.getName(), cacheEntry); in cacheDocument() 367 cache.put(cacheEntry.getName(), cacheEntry); in cacheDocument() 380 synchronized(cache) { in updateDocument() 425 synchronized(cache) { in saveDocument() [all …]
|
| /trunk/test/aoo-test/src/aootest/ |
| H A D | fetch.py | 63 def status(item, cache=None): argument 65 p = Path(cache or cache_dir()) / item["path"] 71 def cached_path(name, cache=None, items=None): argument 75 return Path(cache or cache_dir()) / it["path"] if status(it, cache) == "ok" else None 79 def group_dir(group, cache=None, items=None): argument 82 if not its or any(status(it, cache) != "ok" for it in its): 84 dirs = {(Path(cache or cache_dir()) / it["path"]).parent for it in its} 88 def _download(item, cache, opener): argument 92 dest = Path(cache) / item["path"] 110 def fetch(names=None, offline=False, cache=None, opener=None, items=None): argument [all …]
|
| H A D | install.py | 301 cache = {} 304 cache = json.loads(Path(cache_file).read_text()) 306 cache = {} 308 hit = cache.get(key) 319 cache[key] = {"path": path, "version": detail, "source": source} 321 Path(cache_file).write_text(json.dumps(cache))
|
| /trunk/main/sd/source/ui/slidesorter/cache/ |
| H A D | SlsCacheCompactor.cxx | 52 : public ::sd::slidesorter::cache::CacheCompactor 56 ::sd::slidesorter::cache::BitmapCache& rCache, in NoCacheCompaction() 77 : public ::sd::slidesorter::cache::CacheCompactor 81 ::sd::slidesorter::cache::BitmapCache& rCache, 83 const ::boost::shared_ptr< ::sd::slidesorter::cache::BitmapCompressor>& rpCompressor); 89 ::boost::shared_ptr< ::sd::slidesorter::cache::BitmapCompressor> mpCompressor; 95 namespace sd { namespace slidesorter { namespace cache { namespace 192 ::sd::slidesorter::cache::BitmapCache& rCache, in CacheCompactionByCompression() 194 const ::boost::shared_ptr< ::sd::slidesorter::cache::BitmapCompressor>& rpCompressor) in CacheCompactionByCompression() 212 ::std::unique_ptr< ::sd::slidesorter::cache::BitmapCache::CacheIndex> pIndex ( in Run() [all …]
|
| H A D | SlsPageCacheManager.cxx | 44 ::sd::slidesorter::cache::PageCacheManager::DocumentKey mpDocument; 48 ::sd::slidesorter::cache::PageCacheManager::DocumentKey pDocument, in CacheDescriptor() 73 ::sd::slidesorter::cache::PageCacheManager::DocumentKey mpDocument; 75 ::boost::shared_ptr< ::sd::slidesorter::cache::PageCacheManager::Cache> mpCache; 78 ::sd::slidesorter::cache::PageCacheManager::DocumentKey pDocument, in RecentlyUsedCacheDescriptor() 80 const ::boost::shared_ptr< ::sd::slidesorter::cache::PageCacheManager::Cache>& rpCache) in RecentlyUsedCacheDescriptor() 107 …bool operator()(const ::sd::slidesorter::cache::PageCacheManager::BestFittingPageCaches::value_typ… in operator ()() 108 … const ::sd::slidesorter::cache::PageCacheManager::BestFittingPageCaches::value_type& rElement2) in operator ()() 126 namespace sd { namespace slidesorter { namespace cache { namespace 331 const ::sd::slidesorter::cache::PageCacheManager::DocumentKey aKey ( in ChangeSize()
|
| /trunk/main/sd/source/ui/slidesorter/view/ |
| H A D | SlsViewCacheContext.cxx | 62 cache::CacheKey aKey, in NotifyPreviewCreation() 94 bool ViewCacheContext::IsVisible (cache::CacheKey aKey) in IsVisible() 103 const SdrPage* ViewCacheContext::GetPage (cache::CacheKey aKey) in GetPage() 111 ::boost::shared_ptr<std::vector<cache::CacheKey> > ViewCacheContext::GetEntryList (bool bVisible) in GetEntryList() 113 ::boost::shared_ptr<std::vector<cache::CacheKey> > pKeys (new std::vector<cache::CacheKey>()); in GetEntryList() 132 sal_Int32 ViewCacheContext::GetPriority (cache::CacheKey aKey) in GetPriority() 140 model::SharedPageDescriptor ViewCacheContext::GetDescriptor (cache::CacheKey aKey) in GetDescriptor()
|
| H A D | SlsViewCacheContext.hxx | 43 class ViewCacheContext : public cache::CacheContext 48 virtual void NotifyPreviewCreation (cache::CacheKey aKey, const Bitmap& rPreview); 50 virtual bool IsVisible (cache::CacheKey aKey); 51 virtual const SdrPage* GetPage (cache::CacheKey aKey); 52 virtual ::boost::shared_ptr<std::vector<cache::CacheKey> > GetEntryList (bool bVisible); 53 virtual sal_Int32 GetPriority (cache::CacheKey aKey); 60 model::SharedPageDescriptor GetDescriptor (cache::CacheKey aKey);
|
| /trunk/test/aoo-test/tests/selftest/ |
| H A D | test_fetch.py | 49 assert fetch.fetch(cache=tmp_path, opener=op, items=[ITEM]) == {"x": "downloaded"} 51 assert fetch.fetch(cache=tmp_path, opener=op, items=[ITEM]) == {"x": "present"} 56 res = fetch.fetch(cache=tmp_path, opener=Opener(b"tampered"), items=[ITEM]) 65 …assert fetch.fetch(cache=tmp_path, opener=Opener(b"still wrong"), items=[ITEM])["x"].startswith("f… 67 assert fetch.fetch(cache=tmp_path, opener=Opener(), items=[ITEM]) == {"x": "downloaded"} 73 assert fetch.fetch(offline=True, cache=tmp_path, opener=op, items=[ITEM]) == {"x": "missing"} 80 assert fetch.fetch(cache=tmp_path, opener=broken, items=[ITEM]) == {"x": "failed: no route"} 86 … assert fetch.fetch(cache=tmp_path, opener=op, items=[http])["x"].startswith("failed: only https")
|
| /trunk/main/offapi/com/sun/star/auth/ |
| H A D | XSSOPasswordCache.idl | 39 an external method to cache these passwords. 46 /** adds a username/password combination to the cache. 48 If an entry for the specified username already exists in the cache, it 67 /** retrieves a password for a given user from the cache. 69 Non persistent cache is searched first, followed by the 70 persistent cache ( if it exists ). 85 /** removes a password from the cache 92 present, from persistent cache.
|
| /trunk/test/aoo-test/tests/harness/ |
| H A D | test_install.py | 208 cache = tmp_path / "uno-python.json" 210 assert find(cache_file=cache).path == sys.executable and len(asked) == 1 211 again = find(cache_file=cache) 214 find(cache_file=cache) 216 cache.write_text("not json") 217 …assert find(cache_file=cache).path == sys.executable # a damaged cache is ig… 221 cache = tmp_path / "c.json" 223 find(cache_file=cache) 225 …assert find(cache_file=cache, explicit="/other/python").path == "/other/python" and len(asked) == …
|
| /trunk/main/offapi/com/sun/star/sheet/ |
| H A D | XExternalDocLink.idl | 50 /** <p>This method adds a new sheet cache instance to the external document 51 link for a specified sheet name. If a sheet cache instance already 59 @param DynamicCache specify whether or not the cache can grow when 61 cell in this sheet cache will allow Calc to try to access the source 66 @return com::sun::star::sheet::XExternalSheetCache sheet cache instance 79 <p>Each external document cache instance has a unique index value, and this 80 index value can be used to retrieve the corresponding external document cache
|
| /trunk/main/sysui/desktop/freedesktop/ |
| H A D | freedesktop-menus.spec | 136 if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then 139 if [ -x /opt/gnome/bin/gtk-update-icon-cache ]; then 140 /opt/gnome/bin/gtk-update-icon-cache -q /usr/share/icons/$theme 141 elif (which gtk-update-icon-cache); then 142 gtk-update-icon-cache -q /usr/share/icons/$theme 328 if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then 331 if [ -x /opt/gnome/bin/gtk-update-icon-cache ]; then 332 /opt/gnome/bin/gtk-update-icon-cache -q /usr/share/icons/$theme 333 elif (which gtk-update-icon-cache); then 334 gtk-update-icon-cache -q /usr/share/icons/$theme
|
| /trunk/main/offapi/com/sun/star/drawing/ |
| H A D | XSlidePreviewCache.idl | 48 /** A cache of preview bitmaps for the slides of one Impress or Draw 49 document in one size. There may be more than one cache for one 51 cache may take it from another cache and scale it to the desired size. 61 /** Set the set of slides for which the cache will provide the 65 The set of slides for which the called cache will provide the 83 cache.
|
| /trunk/main/sd/ |
| H A D | Library_sd.mk | 393 sd/source/ui/slidesorter/cache/SlsBitmapCache \ 394 sd/source/ui/slidesorter/cache/SlsBitmapCompressor \ 395 sd/source/ui/slidesorter/cache/SlsBitmapFactory \ 396 sd/source/ui/slidesorter/cache/SlsCacheCompactor \ 397 sd/source/ui/slidesorter/cache/SlsCacheConfiguration \ 398 sd/source/ui/slidesorter/cache/SlsGenericPageCache \ 399 sd/source/ui/slidesorter/cache/SlsPageCache \ 400 sd/source/ui/slidesorter/cache/SlsPageCacheManager \ 401 sd/source/ui/slidesorter/cache/SlsQueueProcessor \ 402 sd/source/ui/slidesorter/cache/SlsRequestFactory \ [all …]
|
| /trunk/main/offapi/com/sun/star/configuration/ |
| H A D | ConfigurationProvider.idl | 178 <strong>Controlling cache behavior:</strong> (with providers that 179 cache configuration data) 182 <dd>controls how updates are handled in the cache. If <TRUE/>, the 183 cache may operate in <em>write-back</em> mode, where updates at 184 first only affect the cache and are written to persistent storage 185 at some later time. If <FALSE/>, the cache must operate in 197 specifies that data for the view is not taken from the cache, but 199 become visible in the cache are not reflected in this view and that 200 changes done through this view are not reflected in the cache.
|
| /trunk/main/binaryurp/source/ |
| H A D | unmarshal.cxx | 170 if (idx == cache::ignore || !state_.typeCache[idx].is()) { in readType() 219 if (idx != cache::ignore) { in readType() 247 if (oid.isEmpty() && idx != cache::ignore) { in readOid() 257 if (idx != cache::ignore) { in readOid() 274 if (idx == cache::ignore || state_.tidCache[idx].getLength() == 0) { in readTid() 283 if (idx != cache::ignore) { in readTid() 433 if (idx >= cache::size && idx != cache::ignore) { in readCacheIndex()
|
| H A D | readerstate.hxx | 39 com::sun::star::uno::TypeDescription typeCache[cache::size]; 41 rtl::OUString oidCache[cache::size]; 43 rtl::ByteSequence tidCache[cache::size];
|
| H A D | writerstate.hxx | 40 typeCache(cache::size), oidCache(cache::size), tidCache(cache::size) {} in WriterState()
|
| /trunk/main/binaryurp/qa/ |
| H A D | test-unmarshal.cxx | 52 buf[1] = static_cast< sal_Int8 >(binaryurp::cache::ignore >> 8); in TEST_F() 53 buf[2] = static_cast< sal_Int8 >(binaryurp::cache::ignore & 0xFF); in TEST_F() 77 buf[1] = static_cast< sal_Int8 >(binaryurp::cache::ignore >> 8); in TEST_F() 78 buf[2] = static_cast< sal_Int8 >(binaryurp::cache::ignore & 0xFF); in TEST_F()
|
| /trunk/main/sd/source/ui/slidesorter/inc/view/ |
| H A D | SlsPageObjectViewObjectContact.hxx | 42 namespace sd { namespace slidesorter { namespace cache { namespace 78 const ::boost::shared_ptr<cache::PageCache>& rpCache, 85 void SetCache (const ::boost::shared_ptr<cache::PageCache>& rpCache); 205 ::boost::shared_ptr<cache::PageCache> mpCache;
|
| /trunk/main/i18npool/source/breakiterator/ |
| H A D | xdictionary.cxx | 98 cache[i].size = 0; in xdictionary() 110 if (cache[i].size > 0) { in ~xdictionary() 111 delete cache[i].contents; in ~xdictionary() 112 delete cache[i].wordboundary; in ~xdictionary() 241 WordBreakCache& aCache = cache[text[0] & 0x1f]; in getCache()
|
| /trunk/main/sysui/desktop/redhat/ |
| H A D | redhat-menus.spec | 97 if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then 100 if (which gtk-update-icon-cache); then 101 gtk-update-icon-cache /usr/share/icons/$theme 283 if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then 286 if (which gtk-update-icon-cache); then 287 gtk-update-icon-cache /usr/share/icons/$theme
|
| /trunk/main/offapi/com/sun/star/drawing/framework/ |
| H A D | XResourceFactory.idl | 42 /** Factory and possibly cache for creating and releasing resources. 45 <p>A factory may want to implement a cache to reuse previously released 61 taken from a cache. When the requested resource can not be 77 resource or to keep it in a cache in order to reuse it later.
|
| /trunk/main/sysui/desktop/debian/ |
| H A D | postrm | 15 if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then 18 if (which gtk-update-icon-cache); then 19 gtk-update-icon-cache /usr/share/icons/$theme
|