/external/freetype/src/cache/ |
ftccache.c | 5 /* The FreeType internal cache interface (body). */ 42 /***** CACHE NODE DEFINITIONS *****/ 87 /* get a top bucket for specified hash from cache, 88 * body for FTC_NODE__TOP_FOR_HASH( cache, hash ) 91 ftc_get_top_node_for_hash( FTC_Cache cache, 98 idx = hash & cache->mask; 99 if ( idx < cache->p ) 100 idx = hash & ( 2 * cache->mask + 1 ); 101 pnode = cache->buckets + idx; 113 ftc_cache_resize( FTC_Cache cache ) 276 FTC_Cache cache; local [all...] |
ftccmap.c | 5 /* FreeType CharMap cache (body) */ 67 /* the cmap cache node */ 96 FTC_Cache cache ) 99 FT_Memory memory = cache->memory; 110 FTC_Cache cache ) 115 FT_Memory memory = cache->memory; 139 FTC_Cache cache ) 142 FT_UNUSED( cache ); 152 FTC_Cache cache, 157 FT_UNUSED( cache ); 236 FTC_Cache cache = FTC_CACHE( cmap_cache ); local [all...] |
ftcglyph.h | 5 /* FreeType abstract glyph cache (specification). */ 21 * FTC_GCache is an _abstract_ cache object optimized to store glyph 44 * flags. For more details see the file `src/cache/ftcbasic.c'. 71 * - FTC_GQuery sub-class, e.g. MyQuery, to hold cache-specific query 82 * - Search for the corresponding family in the cache, or create 95 /* implement an abstract glyph cache class. You need to */ 96 /* provide additional logic to implement a complete cache. */ 139 FTC_Cache cache; member in struct:FTC_FamilyRec_ 173 /* user-provided cache classes; otherwise, they are really part of the */ 174 /* cache sub-system internals. * 214 FTC_CacheRec cache; member in struct:FTC_GCacheRec_ [all...] |
ftcsbits.c | 36 /***** SBIT CACHE NODES *****/ 66 FTC_Cache cache ) 71 FT_Memory memory = cache->memory; 77 FTC_GNode_Done( FTC_GNODE( snode ), cache ); local 85 FTC_Cache cache ) 87 ftc_snode_free( FTC_NODE( snode ), cache ); local 165 " glyph too large for small bitmap cache\n")); 210 FTC_Cache cache ) 212 FT_Memory memory = cache->memory; 218 FTC_SFamilyClass clazz = FTC_CACHE__SFAMILY_CLASS( cache ); [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
DiskLruCacheWrapper.java | 5 package com.bumptech.glide.load.engine.cache; 34 * Get a DiskCache in the given directory and size. If a disk cache has alread been created with 38 * @param directory The directory for the disk cache 39 * @param maxSize The max size for the disk cache 40 * @return The new disk cache with the given arguments, or the current cache if one already exists 43 // TODO calling twice with different arguments makes it return the cache for the same directory, it's public! 77 Log.w(TAG, "Unable to get from disk cache", e); 101 Log.w(TAG, "Unable to put to disk cache", e); 113 Log.w(TAG, "Unable to delete from disk cache", e) [all...] |
MemorySizeCalculator.java | 1 package com.bumptech.glide.load.engine.cache; 11 * A calculator that tries to intelligently determine cache sizes for a given device based on some constants and the 55 Log.d(TAG, "Calculated memory cache size: " + toMb(memoryCacheSize) + " pool size: " + toMb(bitmapPoolSize) 63 * Returns the recommended memory cache size for the device it is run on in bytes.
|
/external/guava/guava/src/com/google/common/cache/ |
LongAdder.java | 12 package com.google.common.cache;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
ForwardingCacheTest.java | 17 package com.google.common.cache; 37 private Cache<String, Boolean> forward; 38 private Cache<String, Boolean> mock; 48 mock = createMock(Cache.class); 50 @Override protected Cache<String, Boolean> delegate() { 126 protected Cache<K, V> delegate() {
|
ForwardingLoadingCacheTest.java | 17 package com.google.common.cache;
|
/external/guice/core/src/com/google/inject/internal/ |
MembersInjectorStore.java | 41 private final FailableCache<TypeLiteral<?>, MembersInjectorImpl<?>> cache field in class:MembersInjectorStore 68 return (MembersInjectorImpl<T>) cache.get(key, errors); 72 * Purges a type literal from the cache. Use this only if the type is not actually valid for 78 * Returns true if the type was stored in the cache, false otherwise. 81 return cache.remove(type);
|
/external/icu/icu4c/source/common/ |
unifiedcache.h | 7 * File UNIFIEDCACHE.H - The ICU Unified cache. 31 * A base class for all cache keys. 60 * Create a new object for this key. Called by cache on cache miss. 62 * that getting an object from the cache and returning it without calling 130 * Cache key based on locale. 177 * The unified cache. A singleton type. 191 * Returns the cache instance. 196 * Fetches a value from the cache by key. Equivalent to 208 * Fetches value from the cache by key 268 const UnifiedCache *cache = getInstance(status); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
unifiedcachetest.cpp | 96 const UnifiedCache *cache = UnifiedCache::getInstance(status); local 97 int64_t evictedCountBefore = cache->autoEvictedCount(); 101 int64_t evictedCountAfter = cache->autoEvictedCount(); 103 dataerrln("%s:%d Items should have been evicted from cache", 114 // cache API incorrectly by creating their own cache instances. 119 // their own cache! 120 UnifiedCache cache(status); 124 cache.setEvictionPolicy(0, 100, status); 135 cache.get 137 &cache, local 147 &cache, local 297 const UnifiedCache *cache = UnifiedCache::getInstance(status); local 352 const UnifiedCache *cache = UnifiedCache::getInstance(status); local [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/ |
b2Collision.cpp | 244 b2SimplexCache cache; local 245 cache.count = 0; 249 b2Distance(&output, &cache, &input);
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cache/ |
ftcbasic.c | 5 /* The FreeType basic cache interface (body). */ 87 FTC_Cache cache = (FTC_Cache)ftccache; local 90 FTC_Family_Init( FTC_FAMILY( family ), cache ); local 156 FTC_Cache cache, 167 error = FTC_Manager_LookupSize( cache->manager, 206 FTC_Cache cache, 223 FTC_GNode_UnselectFamily( gnode, cache ); 231 * basic image cache 281 FTC_ImageCache_Lookup( FTC_ImageCache cache, 321 FTC_GCACHE_LOOKUP_CMP( cache, [all...] |
ftccache.c | 5 /* The FreeType internal cache interface (body). */ 42 /***** CACHE NODE DEFINITIONS *****/ 87 /* get a top bucket for specified hash from cache, 88 * body for FTC_NODE__TOP_FOR_HASH( cache, hash ) 91 ftc_get_top_node_for_hash( FTC_Cache cache, 98 idx = hash & cache->mask; 99 if ( idx < cache->p ) 100 idx = hash & ( 2 * cache->mask + 1 ); 101 pnode = cache->buckets + idx; 113 ftc_cache_resize( FTC_Cache cache ) 276 FTC_Cache cache; local [all...] |
ftccmap.c | 5 /* FreeType CharMap cache (body) */ 67 /* the cmap cache node */ 96 FTC_Cache cache ) 99 FT_Memory memory = cache->memory; 110 FTC_Cache cache ) 115 FT_Memory memory = cache->memory; 139 FTC_Cache cache ) 142 FT_UNUSED( cache ); 152 FTC_Cache cache, 157 FT_UNUSED( cache ); 236 FTC_Cache cache = FTC_CACHE( cmap_cache ); local [all...] |
ftcglyph.h | 5 /* FreeType abstract glyph cache (specification). */ 21 * FTC_GCache is an _abstract_ cache object optimized to store glyph 44 * flags. For more details see the file `src/cache/ftcbasic.c'. 71 * - FTC_GQuery sub-class, e.g. MyQuery, to hold cache-specific query 82 * - Search for the corresponding family in the cache, or create 95 /* implement an abstract glyph cache class. You need to */ 96 /* provide additional logic to implement a complete cache. */ 139 FTC_Cache cache; member in struct:FTC_FamilyRec_ 173 /* user-provided cache classes; otherwise, they are really part of the */ 174 /* cache sub-system internals. * 214 FTC_CacheRec cache; member in struct:FTC_GCacheRec_ [all...] |
ftcsbits.c | 36 /***** SBIT CACHE NODES *****/ 66 FTC_Cache cache ) 71 FT_Memory memory = cache->memory; 77 FTC_GNode_Done( FTC_GNODE( snode ), cache ); local 85 FTC_Cache cache ) 87 ftc_snode_free( FTC_NODE( snode ), cache ); local 165 " glyph too large for small bitmap cache\n")); 210 FTC_Cache cache ) 212 FT_Memory memory = cache->memory; 218 FTC_SFamilyClass clazz = FTC_CACHE__SFAMILY_CLASS( cache ); [all...] |
/external/libnl/lib/genl/ |
ctrl.c | 137 * @name Cache Management 147 * Look up generic netlink family by id in the provided cache. 148 * @arg cache Generic netlink family cache. 151 * Searches through the cache looking for a registered family 158 struct genl_family *genl_ctrl_search(struct nl_cache *cache, int id) 162 if (cache->c_ops != &genl_ctrl_ops) 165 nl_list_for_each_entry(fam, &cache->c_items, ce_list) { 181 * Look up generic netlink family by family name in the provided cache. 182 * @arg cache Generic netlink family cache 224 struct nl_cache *cache; local [all...] |
/external/libnl/src/lib/ |
route.c | 35 struct nl_cache *cache; local 38 if ((err = rtnl_route_alloc_cache(sk, AF_UNSPEC, flags, &cache)) < 0) 39 nl_cli_fatal(err, "Unable to allocate route cache: %s\n", 42 nl_cache_mngt_provide(cache); 44 return cache;
|
/external/llvm/bindings/python/llvm/ |
object.py | 45 In addition, we also provide a "cache" method on each class to cache all 47 cache=True to the appropriate get_XXX() method to have this done for you. 73 # Cache everything up front. 74 symbols = list(obj.get_symbols(cache=True)) 123 def get_sections(self, cache=False): 138 if cache: 139 last.cache() 151 def get_symbols(self, cache=False): 166 if cache 271 def cache(self): member in class:Section 344 def cache(self): member in class:Symbol 418 def cache(self): member in class:Relocation [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/ |
RangeEncoder.java | 31 private byte cache; field in class:RangeEncoder 66 cache = 0x00; 90 int temp = cache; 97 cache = (byte)(low >>> 24);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_vbuf.c | 77 /* Cache point size somewhere it's address won't change: 81 struct translate_cache *cache; member in struct:vbuf_stage 261 vbuf->translate = translate_cache_find(vbuf->cache, &hw_key); 415 if (vbuf->cache) 416 translate_cache_destroy(vbuf->cache); 450 vbuf->cache = translate_cache_create(); 451 if (!vbuf->cache)
|
draw_pt_vsplit.c | 61 } cache; member in struct:vsplit_frontend 68 memset(vsplit->cache.fetches, 0xff, sizeof(vsplit->cache.fetches)); 69 vsplit->cache.has_max_fetch = FALSE; 70 vsplit->cache.num_fetch_elts = 0; 71 vsplit->cache.num_draw_elts = 0; 78 vsplit->fetch_elts, vsplit->cache.num_fetch_elts, 79 vsplit->draw_elts, vsplit->cache.num_draw_elts, flags); 95 if (vsplit->cache.fetches[hash] != fetch) { 96 /* update cache */ [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_cache.c | 30 * Improved cache implementation. 85 ensure_sanity(const struct util_cache *cache); 95 struct util_cache *cache; local 97 cache = CALLOC_STRUCT(util_cache); 98 if(!cache) 101 cache->hash = hash; 102 cache->compare = compare; 103 cache->destroy = destroy; 105 make_empty_list(&cache->lru); 108 cache->size = size [all...] |