| /external/ImageMagick/MagickCore/ |
| policy.c | 173 *cache; 184 cache=NewLinkedList(0); 185 if (cache == (LinkedListInfo *) NULL) 200 status&=LoadPolicyCache(cache,(const char *) 235 status&=AppendValueToLinkedList(cache,policy_info); 240 return(cache); 740 % MagickBooleanType LoadPolicyCache(LinkedListInfo *cache,const char *xml, 754 static MagickBooleanType LoadPolicyCache(LinkedListInfo *cache,const char *xml, 845 status&=LoadPolicyCache(cache,file_xml,path, 872 status=AppendValueToLinkedList(cache,policy_info) 167 *cache; local [all...] |
| /external/aac/libFDK/src/ |
| FDK_bitbuffer.cpp | 193 UINT cache = (hBitBuf->Buffer[(byteOffset-3)] << 24) | local 199 cache = (cache >> (8-BitNdx)) | ((UINT)hBitBuf->Buffer [byteOffset-4] << (24+BitNdx)); 201 return (cache) ; 208 UINT cache = FDK_get (hBitBuf,nBits)<< (32-nBits); local 209 cache |= (FDK_get (hBitBuf,32-nBits)); 210 return (cache);
|
| /external/avahi/avahi-core/ |
| iface.h | 32 #include "cache.h" 107 AvahiCache *cache; member in struct:AvahiInterface
|
| /external/compiler-rt/lib/lsan/ |
| lsan_allocator.cc | 57 static THREADLOCAL AllocatorCache cache; member in namespace:__lsan 64 allocator.SwallowCache(&cache); 96 void *p = allocator.Allocate(&cache, size, alignment, false); 108 allocator.Deallocate(&cache, p); 116 allocator.Deallocate(&cache, p); 119 p = allocator.Reallocate(&cache, p, new_size, alignment); 125 *begin = (uptr)&cache; 126 *end = *begin + sizeof(cache);
|
| /external/compiler-rt/lib/msan/ |
| msan_allocator.cc | 120 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); local 121 allocated = allocator.Allocate(cache, size, alignment, false); 124 AllocatorCache *cache = &fallback_allocator_cache; local 125 allocated = allocator.Allocate(cache, size, alignment, false); 162 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); local 163 allocator.Deallocate(cache, p); 166 AllocatorCache *cache = &fallback_allocator_cache; local 167 allocator.Deallocate(cache, p);
|
| /external/conscrypt/src/main/java/org/conscrypt/ |
| FileClientSessionCache.java | 35 * File-based cache implementation. Only one process should access the 44 * This cache creates one file per SSL session using "host.port" for 46 * in the cache (see {@link #putSessionData}). Files are read on 47 * cache hits, but not on cache misses. 75 * Constructs a new cache backed by the given directory. 87 // cache misses in getSessionData(). 130 * Note: This method is only called when the in-memory cache 132 * redundant for this cache to store data in memory. 199 // Used to keep track of whether or not we're expanding the cache 330 FileClientSessionCache.Impl cache = caches.get(directory); local [all...] |
| /external/e2fsprogs/lib/blkid/ |
| devname.c | 43 * Find a dev struct in the cache by device name, if available. 48 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) 53 if (!cache || !devname) 56 list_for_each(p, &cache->bic_devs) { 62 printf("found devname %s in cache\n", tmp->bid_name)); 75 dev->bid_cache = cache; 76 list_add_tail(&dev->bid_devs, &cache->bic_devs); 77 cache->bic_flags |= BLKID_BIC_FL_CHANGED; 81 dev = blkid_verify(cache, dev); 86 * cache for any entries that match on the type, uuid 538 blkid_cache cache = NULL; local [all...] |
| tag.c | 101 * Find the desired tag type in the cache. 104 static blkid_tag blkid_find_head_cache(blkid_cache cache, const char *type) 109 if (!cache || !type) 112 list_for_each(p, &cache->bic_tags) { 116 printf(" found cache tag head %s\n", type)); 185 printf(" creating new cache tag head %s\n", name)); 328 extern blkid_dev blkid_find_dev_with_tag(blkid_cache cache, 338 if (!cache || !type || !value) 341 blkid_read_cache(cache); 343 DBG(DEBUG_TAG, printf("looking for %s=%s in cache\n", type, value)) 404 blkid_cache cache = NULL; local [all...] |
| /external/e2fsprogs/misc/ |
| blkid.c | 57 "\t-g\tgarbage collect the blkid cache\n" 62 "\t-w\twrite cache to different file (/dev/null = no write)\n" 269 blkid_cache cache = NULL; local 361 if (blkid_get_cache(&cache, read) < 0) 366 blkid_gc_cache(cache); 380 /* Load any additional devices not in the cache */ 382 blkid_get_dev(cache, devices[i], BLKID_DEV_NORMAL); 384 if ((dev = blkid_find_dev_with_tag(cache, search_type, 394 blkid_probe_all(cache); 396 iter = blkid_dev_iterate_begin(cache); [all...] |
| e2initrd_helper.c | 45 static blkid_cache cache = NULL; variable 264 dev = blkid_get_devname(cache, device, NULL); 377 blkid_get_cache(&cache, NULL);
|
| /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
| ReflectionUtils.java | 205 // prepare cache 206 Map<String, Method> cache = m_getMethodBySignature.get(clazz); local 207 if (cache == null) { 208 cache = getMethods(clazz); 209 m_getMethodBySignature.put(clazz, cache); 211 // use cache 212 return cache.get(signature);
|
| /external/freetype/src/cache/ |
| ftccache.h | 5 /* FreeType internal cache interface (specification). */ 30 /* handle to cache object */ 33 /* handle to cache class */ 40 /***** CACHE NODE DEFINITIONS *****/ 47 /* Each cache controls one or more cache nodes. Each node is part of */ 52 /* the cache. It can be an individual glyph image, a set of bitmaps */ 63 FT_UShort cache_index; /* index of cache the node belongs to */ 76 #define FTC_NODE__TOP_FOR_HASH( cache, hash ) \ 77 ( ( cache )->buckets + 167 FTC_Cache_Init( FTC_Cache cache ); variable 171 FTC_Cache_Done( FTC_Cache cache ); variable [all...] |
| /external/guava/guava/src/com/google/common/cache/ |
| AbstractCache.java | 17 package com.google.common.cache; 30 * This class provides a skeletal implementation of the {@code Cache} interface to minimize the 33 * <p>To implement a cache, the programmer needs only to extend this class and provide an 45 public abstract class AbstractCache<K, V> implements Cache<K, V> { 59 * This implementation of {@code getAllPresent} lacks any insight into the internal cache data 140 * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link 141 * Cache#stats}. This is solely intended for consumption by {@code Cache} implementors. 148 * Records cache hits. This should be called when a cache request returns a cached value [all...] |
| Striped64.java | 12 package com.google.common.cache; 32 * to reduce cache contention on most processors. Padding is 37 * cache lines (with a huge negative performance impact) without
|
| /external/guava/guava-gwt/test/com/google/common/cache/ |
| CacheBuilderGwtTest_gwt.java | 16 package com.google.common.cache; 19 return "com.google.common.cache.testModule"; 22 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 28 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 34 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 40 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest() [all...] |
| CacheBuilderTest_gwt.java | 16 package com.google.common.cache; 19 return "com.google.common.cache.testModule"; 22 com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest(); 27 com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest(); 32 com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest(); 37 com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest() [all...] |
| /external/guava/guava-tests/test/com/google/common/cache/ |
| CacheTesting.java | 15 package com.google.common.cache; 27 import com.google.common.cache.LocalCache.LocalLoadingCache; 28 import com.google.common.cache.LocalCache.ReferenceEntry; 29 import com.google.common.cache.LocalCache.Segment; 30 import com.google.common.cache.LocalCache.ValueReference; 52 * A collection of utilities for {@link Cache} testing. 59 * Poke into the Cache internals to simulate garbage collection of the value associated with the 65 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) { 66 ReferenceEntry<K, V> entry = getReferenceEntry(cache, key) [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| AnyTransliterator.java | 54 * Cache mapping UScriptCode values to Transliterator*. 56 private ConcurrentHashMap<Integer, Transliterator> cache; field in class:AnyTransliterator 138 cache = new ConcurrentHashMap<Integer, Transliterator>(); 153 * @param cache2 The Map object for cache. 159 cache = cache2; 181 Transliterator t = cache.get(key); 205 Transliterator prevCachedT = cache.putIfAbsent(key, t); 408 return new AnyTransliterator(getID(), filter, target, targetScript, widthFix, cache);
|
| /external/icu/icu4c/source/common/ |
| loadednormalizer2impl.cpp | 110 // instance cache ---------------------------------------------------------- *** 134 static UHashtable *cache=NULL; variable 162 uhash_close(cache); 163 cache=NULL; 228 if(cache!=NULL) { 229 allModes=(Norm2AllModes *)uhash_get(cache, name); 237 if(cache==NULL) { 238 cache=uhash_open(uhash_hashChars, uhash_compareChars, NULL, &errorCode); 242 uhash_setKeyDeleter(cache, uprv_free); 243 uhash_setValueDeleter(cache, deleteNorm2AllModes) [all...] |
| /external/icu/icu4c/source/i18n/ |
| datefmt.cpp | 432 UnifiedCache *cache = UnifiedCache::getInstance(status); local 438 cache->get(key, patternPtr, status);
|
| /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
| AnyTransliterator.java | 54 * Cache mapping UScriptCode values to Transliterator*. 56 private ConcurrentHashMap<Integer, Transliterator> cache; field in class:AnyTransliterator 138 cache = new ConcurrentHashMap<Integer, Transliterator>(); 153 * @param cache2 The Map object for cache. 159 cache = cache2; 181 Transliterator t = cache.get(key); 205 Transliterator prevCachedT = cache.putIfAbsent(key, t); 408 return new AnyTransliterator(getID(), filter, target, targetScript, widthFix, cache);
|
| /external/iproute2/lib/ |
| rt_names.c | 167 static char *cache; local 172 if (cache && strcmp(cache, arg) == 0) { 183 cache = rtnl_rtprot_tab[i]; 236 static const char *cache; local 241 if (cache && strcmp(cache, arg) == 0) { 252 cache = rtnl_rtscope_tab[i]; 299 static char *cache; local 304 if (cache && strcmp(cache, arg) == 0) 402 static const char *cache; local 468 static char *cache; local 518 static const char *cache; local 621 static char *cache; local [all...] |
| /external/javassist/src/main/javassist/bytecode/stackmap/ |
| TypeData.java | 126 private CtClass cache; field in class:TypeData.TypeName 133 cache = null; 231 tn.cache = null; 270 if (cache == null) 271 cache = cp.get(oldName); 274 if (cache2.subtypeOf(cache)) { 275 cache = cache2;
|
| /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cache/ |
| ftccache.h | 5 /* FreeType internal cache interface (specification). */ 30 /* handle to cache object */ 33 /* handle to cache class */ 40 /***** CACHE NODE DEFINITIONS *****/ 47 /* Each cache controls one or more cache nodes. Each node is part of */ 52 /* the cache. It can be an individual glyph image, a set of bitmaps */ 63 FT_UShort cache_index; /* index of cache the node belongs to */ 76 #define FTC_NODE__TOP_FOR_HASH( cache, hash ) \ 77 ( ( cache )->buckets + 167 FTC_Cache_Init( FTC_Cache cache ); variable 171 FTC_Cache_Done( FTC_Cache cache ); variable [all...] |
| ftcmanag.c | 5 /* FreeType Cache Manager (body). */ 30 #error "cache system does not support PIC yet" 345 /***** CACHE MANAGER ROUTINES *****/ 430 FTC_Cache cache = manager->caches[idx]; local 433 if ( cache ) 435 cache->clazz.cache_done( cache ); 436 FT_FREE( cache ); 488 FTC_Cache cache = manager->caches[node->cache_index]; local 492 FT_TRACE0(( "FTC_Manager_Check: invalid node (cache index = %ld\n" 584 FTC_Cache cache = NULL; local [all...] |