/external/e2fsprogs/lib/ext2fs/ |
H A D | unix_io.c | 5 * Implements a one-block write-through cache. 82 struct unix_cache cache[CACHE_SIZE]; member in struct:unix_private_data 101 struct unix_cache *cache, unsigned long long block); 288 * Here we implement the cache functions 291 /* Allocate the cache buffers */ 296 struct unix_cache *cache; local 300 for (i=0, cache = data->cache; i < CACHE_SIZE; i++, cache++) { 301 cache 315 struct unix_cache *cache; local 340 struct unix_cache *cache, *unused_cache, *oldest_cache; local 366 reuse_cache(io_channel channel, struct unix_private_data *data, struct unix_cache *cache, unsigned long long block) argument 386 struct unix_cache *cache; local 583 struct unix_cache *cache, *reuse[READ_DIRECT_SIZE]; local 654 struct unix_cache *cache, *reuse; local [all...] |
/external/elfutils/libdwfl/ |
H A D | relocate.c | 55 We update the section header in place to cache the result. */ 91 load address (or unloadedness). This serves as a cache, 114 #define RELOC_SYMTAB_CACHE(cache) \ 115 struct reloc_symtab_cache cache = \ 122 Elf *relocated, struct reloc_symtab_cache *cache, 125 if (cache->symdata == NULL) 144 cache->symelf = relocated; 145 cache->symdata = elf_getdata (scn, NULL); 146 cache->strtabndx = shdr->sh_link; 147 if (unlikely (cache 121 relocate_getsym(Dwfl_Module *mod, Elf *relocated, struct reloc_symtab_cache *cache, int symndx, GElf_Sym *sym, GElf_Word *shndx) argument [all...] |
/external/freetype/src/cache/ |
H A D | ftcbasic.c | 5 /* The FreeType basic cache interface (body). */ 125 FTC_Cache cache = (FTC_Cache)ftccache; local 128 FTC_Family_Init( FTC_FAMILY( family ), cache ); local 193 FTC_Cache cache, 204 error = FTC_Manager_LookupSize( cache->manager, 241 FTC_Cache cache, 258 FTC_GNode_UnselectFamily( gnode, cache ); 266 * basic image cache 316 FTC_ImageCache_Lookup( FTC_ImageCache cache, 379 FTC_GCACHE_LOOKUP_CMP( cache, [all...] |
/external/guava/guava/src/com/google/common/cache/ |
H A D | CacheBuilder.java | 17 package com.google.common.cache; 34 import com.google.common.cache.AbstractCache.SimpleStatsCounter; 35 import com.google.common.cache.AbstractCache.StatsCounter; 36 import com.google.common.cache.LocalCache.Strength; 53 * <li>automatic loading of entries into the cache 78 * <p>The returned cache is implemented as a hash table with similar performance characteristics to 82 * modify the cache after the iterator is created, it is undefined which of these changes, if any, 86 * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the 88 * {@link #weakKeys} was specified, the cache uses identity ({@code ==}) 90 * specified, the cache use [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
H A D | TerrainGrid.java | 64 * It uses an LRU (Least Recently Used) cache of 16 terrain tiles (full TerrainQuadTrees). The 90 * the LRU cache if it exists. If it does not exist, it will load in the new TerrainQuad tile. 113 protected LRUCache<Vector3f, TerrainQuad> cache = new LRUCache<Vector3f, TerrainQuad>(16); field in class:TerrainGrid 129 * It will first check the LRU cache to see if the terrain tile is already there, 130 * if it is not there, it will load it in and then cache that tile. 140 TerrainQuad q = cache.get(quadCell); 155 cache.put(quadCell, q); 376 * Step 1: touch cache 377 * LRU cache is used, so elements that need to remain 409 // Touch the items in the cache tha [all...] |
/external/openssl/crypto/srp/ |
H A D | srp_vfy.c | 338 SRP_gN_cache *cache = sk_SRP_gN_cache_value(gN_cache, i); local 339 if (strcmp(cache->b64_bn,ch)==0) 340 return cache->bn;
|
/external/quake/quake/src/QW/client/ |
H A D | draw.c | 46 cache_user_t cache; member in struct:cachepic_s 82 dat = Cache_Check (&pic->cache); 90 COM_LoadCacheFile (path, &pic->cache); 92 dat = (qpic_t *)pic->cache.data;
|
/external/quake/quake/src/WinQuake/ |
H A D | draw.cpp | 46 cache_user_t cache; member in struct:cachepic_s 82 dat = Cache_Check (&pic->cache); 90 COM_LoadCacheFile (path, &pic->cache); 92 dat = (qpic_t *)pic->cache.data;
|
/external/skia/src/animator/ |
H A D | SkAnimateActive.cpp | 365 SkOperand* cache = new SkOperand[count]; // this should use sk_malloc/sk_free since SkOperand does not have a constructor/destructor local 366 fSaveInterpolators[index] = cache; 367 memcpy(cache, interpolator.getValues(), count * sizeof(SkOperand));
|
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | tytypes.c | 305 void ML_(TyEntIndexCache__invalidate) ( TyEntIndexCache* cache ) 309 cache->ce[i].cuOff0 = 0; /* not actually necessary */ 310 cache->ce[i].ent0 = NULL; /* "invalid entry" */ 311 cache->ce[i].cuOff1 = 0; /* not actually necessary */ 312 cache->ce[i].ent1 = NULL; /* "invalid entry" */ 317 TyEntIndexCache* cache, 329 VG_(printf)("cache: %'lu queries, %'lu misses\n", 332 if (LIKELY(cache != NULL)) { 336 if (cache->ce[h].cuOff0 == cuOff_to_find && cache 316 TyEnts__index_by_cuOff( XArray* ents, TyEntIndexCache* cache, UWord cuOff_to_find ) argument [all...] |
/external/webkit/Source/WebCore/loader/appcache/ |
H A D | ApplicationCacheHost.cpp | 78 // Check if this request should be loaded from the application cache 85 // Get the resource from the application cache. By definition, cacheForMainRequest() returns a cache that contains the resource. 138 // Even when the main resource is being loaded from an application cache, loading can fail if aborted. 218 // or if there were network errors (but not if the user canceled the download), then instead get, from the cache, the resource of the fallback entry 277 ApplicationCache* cache = applicationCache(); local 278 if (!cache || !cache->isComplete()) 281 ApplicationCache::ResourceMap::const_iterator end = cache->end(); 282 for (ApplicationCache::ResourceMap::const_iterator it = cache 296 ApplicationCache* cache = applicationCache(); local 338 ApplicationCache* cache = applicationCache(); local 361 getApplicationCacheFallbackResource(const ResourceRequest& request, ApplicationCacheResource*& resource, ApplicationCache* cache) argument 387 scheduleLoadFallbackResourceFromApplicationCache(ResourceLoader* loader, ApplicationCache* cache) argument 406 ApplicationCache* cache = applicationCache(); local 430 ApplicationCache* cache = applicationCache(); local 439 ApplicationCache* cache = applicationCache(); local [all...] |
H A D | ApplicationCacheGroup.cpp | 160 // The cache may have gotten obsoleted after we've loaded from it, but before we parsed the document and saw cache manifest. 166 // The main resource was loaded from cache, so the cache must have an entry for it. Mark it as foreign. 254 // Cache update has been a failure, so there is no reason to keep the document associated with the incomplete cache 291 // The manifest didn't change, and we have a relevant cache - but the main resource download failed mid-way, so it cannot be stored to the cache, 292 // and the loader does not get associated to it. If there are other main resources being downloaded for this cache group, they may still succeed. 306 // The cache manifest didn't list this main resource, and all cache entrie 374 cacheDestroyed(ApplicationCache* cache) argument 1018 associateDocumentLoaderWithCache(DocumentLoader* loader, ApplicationCache* cache) argument [all...] |
/external/bluetooth/glib/gio/xdgmime/ |
H A D | xdgmime.c | 144 file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1); 145 strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache"); 148 XdgMimeCache *cache = _xdg_mime_cache_new_from_file (file_name); local 150 if (cache != NULL) 155 _caches[n_caches] = cache; 348 /* Check the mime.cache file */ 349 file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1); 350 strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache");
|
/external/bluetooth/glib/glib/ |
H A D | gutf8.c | 513 GCharsetCache *cache = data; local 514 g_free (cache->raw); 515 g_free (cache->charset); 516 g_free (cache); 547 GCharsetCache *cache = g_static_private_get (&cache_private); local 550 if (!cache) 552 cache = g_new0 (GCharsetCache, 1); 553 g_static_private_set (&cache_private, cache, charset_cache_free); 559 if (!(cache->raw && strcmp (cache [all...] |
/external/chromium/net/base/ |
H A D | x509_certificate.cc | 50 // A thread-safe cache for X509Certificate objects. 52 // The cache does not hold a reference to the certificate objects. The objects 53 // must |Remove| themselves from the cache upon destruction (or else the cache 76 // The certificate cache. You must acquire |lock_| before using |cache_|. 86 // Insert |cert| into the cache. The cache does NOT AddRef |cert|. 93 // Sanity test: never cache more than 50 certs 99 // Trim the cache if there are unused certs remaining. Aim to hold between 100 // 10 and 20 certs in the cache i 165 X509CertificateCache* cache = g_x509_certificate_cache.Pointer(); local [all...] |
/external/chromium/net/disk_cache/ |
H A D | backend_unittest.cc | 201 disk_cache::Backend* cache = NULL; local 204 cache_thread.message_loop_proxy(), NULL, &cache, &cb); 206 ASSERT_TRUE(cache); 207 delete cache; 209 cache = disk_cache::MemBackendImpl::CreateBackend(0, NULL); 210 ASSERT_TRUE(cache); 211 delete cache; 212 cache = NULL; 217 NULL, &cache, &cb); 219 ASSERT_TRUE(cache); 266 disk_cache::Backend* cache; local 318 disk_cache::Backend* cache; local 1337 disk_cache::Backend* cache; local 1815 scoped_ptr<disk_cache::BackendImpl> cache; local 1932 disk_cache::Backend* cache[kNumberOfCaches]; local [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/ |
H A D | ReportGenerator.java | 82 final SourcePathCache cache, final IProperties properties) 85 initialize (mdata, cdata, cache, properties); 1085 private boolean srcFileAvailable (final SrcFileItem item, final SourcePathCache cache) argument 1087 if (cache == null) return false; 1092 if ($assert.ENABLED) $assert.ASSERT (fileName.endsWith (".java"), "cache only handles .java extensions"); 1097 return (cache.find (packageVMName, fileName) != null); 1100 // private boolean srcFileAvailable (final ClassItem item, final SourcePathCache cache) 1102 // if (cache == null) return false; 1107 // if ($assert.ENABLED) $assert.ASSERT (fileName.endsWith (".java"), "cache only handles .java extensions"); 1112 // return (cache 81 process(final IMetaData mdata, final ICoverageData cdata, final SourcePathCache cache, final IProperties properties) argument 1115 embedSrcFile(final SrcFileItem item, final HTMLDocument page, final IntObjectMap anchorMap, final SourcePathCache cache) argument [all...] |
/external/emma/core/java12/com/vladium/emma/rt/ |
H A D | AppRunner.java | 390 // populate 'cache' [optional] and 'mdata': 395 log.trace1 ("run", "class cache size after cp scan: " + classIOCache.size ()); 779 final SourcePathCache cache, final IProperties properties) 796 m_cache = cache; 926 // a soft cache is ideal for managing class definitions that are read during 930 // using a hard cache guarantees 100% cache hit rate but can also raise the 934 // resolution for now: use a soft cache anyway and doc that to make it useful 775 AppRunnerExitHook(final Logger log, final boolean dumpRawData, final File sdataOutFile, final boolean sdataOutMerge, final IMetaData mdata, final ICoverageData cdata, final IReportGenerator [] generators, final SourcePathCache cache, final IProperties properties) argument
|
/external/icu4c/common/ |
H A D | normalizer2.cpp | 360 // instance cache ---------------------------------------------------------- *** 434 static UHashtable *cache=NULL; variable 447 uhash_close(cache); 448 cache=NULL; 583 if(cache!=NULL) { 584 allModes=(Norm2AllModes *)uhash_get(cache, name); 592 if(cache==NULL) { 593 cache=uhash_open(uhash_hashChars, uhash_compareChars, NULL, &errorCode); 597 uhash_setKeyDeleter(cache, uprv_free); 598 uhash_setValueDeleter(cache, deleteNorm2AllMode [all...] |
/external/qemu/android/skin/ |
H A D | image.c | 357 skin_image_cache_init( SkinImageCache* cache ) 359 memset(cache, 0, sizeof(*cache)); 361 cache->max_pixels = 1; 363 cache->max_pixels = 4*1024*1024; /* limit image cache to 4 MB */ 365 cache->mru_head.next = cache->mru_head.prev = &cache->mru_head; 370 skin_image_cache_remove( SkinImageCache* cache, argument 402 skin_image_cache_raise( SkinImageCache* cache, SkinImage* image ) argument 446 skin_image_lookup_p( SkinImageCache* cache, SkinImageDesc* desc, unsigned *phash ) argument 537 SkinImageCache* cache = _image_cache; local [all...] |
/external/skia/src/core/ |
H A D | SkGlyphCache.cpp | 445 SkGlyphCache* cache; local 449 for (cache = globals.fHead; cache != NULL; cache = cache->fNext) { 450 if (proc(cache, context)) { 462 - call a fontscaler (which might call into the cache) 471 SkGlyphCache* cache; local 479 cache = hash[index]; 480 if (cache 527 AttachCache(SkGlyphCache* cache) argument 579 FindTail(SkGlyphCache* cache) argument 620 SkGlyphCache* cache = FindTail(globals->fHead); local [all...] |
/external/srec/tools/grxmlcompile/ |
H A D | sub_grph.cpp | 676 DetCache *cache= new DetCache; local 687 DeterminizeAtVertex (ii, cache); 702 delete cache;
|
/external/v8/src/ |
H A D | incremental-marking.cc | 33 #include "compilation-cache.h" 550 // We will mark cache black with a separate pass 693 // so the cache can be undefined. 694 HeapObject* cache = HeapObject::cast( local 696 if (!cache->IsUndefined()) { 697 MarkBit mark_bit = Marking::MarkBitFrom(cache); 700 MemoryChunk::IncrementLiveBytesFromGC(cache->address(), cache->Size()); 828 // We will mark cache black with a separate pass
|
/external/webkit/Source/WebCore/platform/graphics/texmap/ |
H A D | TextureMapperNode.cpp | 130 TextureMapperCache* TextureMapperNode::cache() function in class:WebCore::TextureMapperNode 276 cache()->mark(m_texture.get()); 479 opt.cache = m_cache; 517 options.cache->mark(m_texture.get()); 539 options.cache->mark(m_replicaSurface.get()); 544 options.cache->mark(options.surface); 573 options.cache->mark(&texture); 602 options.cache->mark(m_surface.get()); 659 options.cache->purge(); 670 options.cache [all...] |
H A D | TextureMapperNode.h | 51 TextureMapperCache* cache; member in struct:WebCore::TexmapPaintOptions 137 TextureMapperCache* cache();
|