/external/compiler-rt/lib/msan/ |
H A D | msan_allocator.cc | 90 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); local 91 allocated = allocator.Allocate(cache, size, alignment, false); 94 AllocatorCache *cache = &fallback_allocator_cache; local 95 allocated = allocator.Allocate(cache, size, alignment, false); 137 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); local 138 allocator.Deallocate(cache, p); 141 AllocatorCache *cache = &fallback_allocator_cache; local 142 allocator.Deallocate(cache, p);
|
/external/e2fsprogs/e2fsck/ |
H A D | jfs_user.h | 55 #define kmem_cache_alloc(cache,flags) malloc((cache)->object_length) 56 #define kmem_cache_free(cache,obj) free(obj) 58 #define kmem_cache_destroy(cache) do_cache_destroy(cache) 82 extern void do_cache_destroy(lkmem_cache_t *cache); 115 _INLINE_ void do_cache_destroy(lkmem_cache_t *cache) argument 117 free(cache);
|
/external/e2fsprogs/lib/blkid/ |
H A D | 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) argument 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, argument 338 if (!cache || !type || !value) 341 blkid_read_cache(cache); 343 DBG(DEBUG_TAG, printf("looking for %s=%s in cache\ 404 blkid_cache cache = NULL; local [all...] |
/external/e2fsprogs/misc/ |
H A D | 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...] |
H A D | 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/elfutils/0.153/libdw/ |
H A D | dwarf_getlocation.c | 115 /* For each DW_OP_implicit_value, we store a special entry in the cache. 118 store_implicit_value (Dwarf *dbg, void **cache, Dwarf_Op *op, argument 126 (void) tsearch (block, cache, loc_compare); 219 void **cache, const Dwarf_Block *block, 225 struct loc_s **found = tfind (&fake, cache, loc_compare); 500 store_implicit_value (dbg, cache, &result[n], block->data); 523 (void) tsearch (newp, cache, loc_compare); 217 __libdw_intern_expression(Dwarf *dbg, bool other_byte_order, unsigned int address_size, unsigned int ref_size, void **cache, const Dwarf_Block *block, bool cfap, bool valuep, Dwarf_Op **llbuf, size_t *listlen, int sec_index) argument
|
/external/emma/core/java12/com/vladium/emma/report/xml/ |
H A D | ReportGenerator.java | 61 final SourcePathCache cache, final IProperties properties) 64 initialize (mdata, cdata, cache, properties); 60 process(final IMetaData mdata, final ICoverageData cdata, final SourcePathCache cache, final IProperties properties) argument
|
/external/emma/core/java12/com/vladium/emma/rt/ |
H A D | ClassPathProcessorST.java | 284 * null 'cache' indicates to only populate the metadata and not bother with 289 final Map cache) 298 m_cache = cache; // can be null 287 ClassPathProcessorST(final File [] path, final boolean canonical, final IMetaData mdata, final IInclExclFilter filter, final Map cache) argument
|
H A D | InstrClassLoader.java | 49 final IClassLoadHook hook, final Map cache) 60 m_cache = cache; // can be null 188 if (entry != null) // cache hit 240 else // cache miss 308 out.println (this + ": " + m_cacheHits + " class cache hits, " + m_cacheMisses + " misses"); 46 InstrClassLoader(final ClassLoader parent, final File [] classpath, final IInclExclFilter forcedDelegationFilter, final IInclExclFilter throughDelegationFilter, final IClassLoadHook hook, final Map cache) argument
|
/external/freetype/src/cache/ |
H A D | ftccache.c | 5 /* The FreeType internal cache interface (body). */ 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, argument 98 idx = (FT_UInt)( hash & cache->mask ); 99 if ( idx < cache->p ) 100 idx = (FT_UInt)( hash & ( 2 * cache->mask + 1 ) ); 101 pnode = cache->buckets + idx; 113 ftc_cache_resize( FTC_Cache cache ) 118 FT_UFast p = cache 276 FTC_Cache cache; local 416 ftc_cache_add( FTC_Cache cache, FT_PtrDist hash, FTC_Node node ) argument 564 FTC_Cache_RemoveFaceID( FTC_Cache cache, FTC_FaceID face_id ) argument [all...] |
H A D | ftccache.h | 5 /* FreeType internal cache interface (specification). */ 30 /* handle to cache object */ 33 /* handle to cache class */ 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 + \ 78 ( ( ( ( hash ) & ( cache ) 167 FTC_Cache_Init( FTC_Cache cache ); variable 171 FTC_Cache_Done( FTC_Cache cache ); variable [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
H A D | Engine.java | 15 import com.bumptech.glide.load.engine.cache.DiskCache; 16 import com.bumptech.glide.load.engine.cache.MemoryCache; 33 private final MemoryCache cache; field in class:Engine 56 Engine(ResourceRunnerFactory factory, MemoryCache cache, DiskCache diskCache, ExecutorService resizeService, argument 59 this.cache = cache; 85 cache.setResourceRemovedListener(this); 112 Resource cached = cache.remove(key); 118 Log.v(TAG, "loaded resource from cache in " + LogTime.getElapsedMillis(startTime)); 192 cache [all...] |
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
H A D | CacheBuilder.java | 17 package com.google.common.cache; 24 import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | CacheBuilderFactory.java | 15 package com.google.common.cache; 21 import com.google.common.cache.LocalCache.Strength;
|
H A D | CacheBuilderTest.java | 17 package com.google.common.cache; 19 import static com.google.common.cache.TestingCacheLoaders.constantLoader; 20 import static com.google.common.cache.TestingCacheLoaders.identityLoader; 21 import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener; 22 import static com.google.common.cache.TestingRemovalListeners.nullRemovalListener; 23 import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener; 24 import static com.google.common.cache.TestingWeighers.constantWeigher; 31 import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener; 32 import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener; 59 LoadingCache<String, Integer> cache [all...] |
/external/iproute2/lib/ |
H A D | rt_names.c | 158 static char *cache = NULL; local 163 if (cache && strcmp(cache, arg) == 0) { 174 cache = rtnl_rtprot_tab[i]; 225 static char *cache = NULL; local 230 if (cache && strcmp(cache, arg) == 0) { 241 cache = rtnl_rtscope_tab[i]; 289 static char *cache = NULL; local 294 if (cache 360 static char *cache = NULL; local 426 static char *cache = NULL; local 474 static char *cache = NULL; local [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
H A D | 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/libnl/lib/fib_lookup/ |
H A D | lookup.c | 172 * Allocate lookup result cache. 174 * Allocates a new lookup result cache and initializes it properly. 177 * @return Newly allocated cache or NULL if an error occured. 252 * @arg cache Cache for result. 255 * reply and adds the result to the specified cache. 260 struct nl_cache *cache) 273 return nl_cache_pickup(sk, cache); 259 flnl_lookup(struct nl_sock *sk, struct flnl_request *req, struct nl_cache *cache) argument
|
/external/libnl/lib/netfilter/ |
H A D | ct.c | 378 static int ct_request_update(struct nl_cache *cache, struct nl_sock *sk) argument 544 * Build a conntrack cache holding all conntrack currently in the kernel 546 * @arg result Pointer to store resulting cache. 548 * Allocates a new cache, initializes it properly and updates it to
|
/external/libunwind/src/x86_64/ |
H A D | Gtrace.c | 56 /* Free memory for a thread's trace cache. */ 60 unw_trace_cache_t *cache = arg; local 61 if (++cache->dtor_count < PTHREAD_DESTRUCTOR_ITERATIONS) 64 pthread_setspecific(trace_cache_key, cache); 65 Debug(5, "delayed freeing cache %p (%zx to go)\n", cache, 66 PTHREAD_DESTRUCTOR_ITERATIONS - cache->dtor_count); 71 munmap (cache->frames, (1u << cache->log_size) * sizeof(unw_tdep_frame_t)); 72 mempool_free (&trace_cache_pool, cache); 105 unw_trace_cache_t *cache; local 140 trace_cache_expand(unw_trace_cache_t *cache) argument 163 unw_trace_cache_t *cache; local 182 unw_trace_cache_t *cache; local 273 trace_lookup(unw_cursor_t *cursor, unw_trace_cache_t *cache, unw_word_t cfa, unw_word_t rip, unw_word_t rbp, unw_word_t rsp) argument 401 unw_trace_cache_t *cache; local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | dso.h | 77 struct rb_root cache; member in struct:dso
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_vbuf.c | 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)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | 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 122 util_cache_entry_get(struct util_cache *cache, uint32_t hash, const void *key) argument 159 util_cache_entry_destroy(struct util_cache *cache, struct util_cache_entry *entry) argument 181 util_cache_set(struct util_cache *cache, void *key, void *value) argument 217 util_cache_get(struct util_cache *cache, const void *key) argument 239 util_cache_clear(struct util_cache *cache) argument 259 util_cache_destroy(struct util_cache *cache) argument 288 util_cache_remove(struct util_cache *cache, const void *key) argument 312 ensure_sanity(const struct util_cache *cache) argument [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_mm.c | 38 struct nouveau_mman *cache; member in struct:mm_slab 86 mm_bucket_by_order(struct nouveau_mman *cache, int order) argument 90 return &cache->bucket[MAX2(order, MM_MIN_ORDER) - MM_MIN_ORDER]; 94 mm_bucket_by_size(struct nouveau_mman *cache, unsigned size) argument 96 return mm_bucket_by_order(cache, mm_get_order(size)); 114 mm_slab_new(struct nouveau_mman *cache, int chunk_order) argument 131 ret = nouveau_bo_new(cache->dev, cache->domain, 0, size, &cache->config, 140 slab->cache 157 nouveau_mm_allocate(struct nouveau_mman *cache, uint32_t size, struct nouveau_bo **bo, uint32_t *offset) argument 239 struct nouveau_mman *cache = MALLOC_STRUCT(nouveau_mman); local 272 nouveau_mm_destroy(struct nouveau_mman *cache) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_state_cache.c | 34 * This file implements a simple static state cache for 965. The 38 * the cache may not have relocations (pointers to other BOs) in them. 43 * Replacement is not implemented. Instead, when the cache gets too 44 * big we throw out all of the cache data and let it get regenerated. 82 search_cache(struct brw_cache *cache, GLuint hash, argument 90 for (c = cache->items[hash % cache->size]; c; c = c->next) 93 fprintf(stderr, "bucket %d/%d = %d/%d items\n", hash % cache->size, 94 cache->size, bucketcount, cache 107 rehash(struct brw_cache *cache) argument 133 brw_search_cache(struct brw_cache *cache, enum brw_cache_id cache_id, const void *key, GLuint key_size, uint32_t *inout_offset, void *out_aux) argument 165 brw_cache_new_bo(struct brw_cache *cache, uint32_t new_size) argument 195 brw_try_upload_using_copy(struct brw_cache *cache, struct brw_cache_item *result_item, const void *data, const void *aux) argument 234 brw_upload_item_data(struct brw_cache *cache, struct brw_cache_item *item, const void *data) argument 262 brw_upload_cache(struct brw_cache *cache, enum brw_cache_id cache_id, const void *key, GLuint key_size, const void *data, GLuint data_size, const void *aux, GLuint aux_size, uint32_t *out_offset, void *out_aux) argument 324 struct brw_cache *cache = &brw->cache; local 339 brw_clear_cache(struct brw_context *brw, struct brw_cache *cache) argument 387 brw_destroy_cache(struct brw_context *brw, struct brw_cache *cache) argument [all...] |