Searched refs:cache (Results 1 - 25 of 755) sorted by relevance

1234567891011>>

/external/elfutils/src/libdw/
H A Ddwarf_cfi_end.c38 dwarf_cfi_end (cache)
39 Dwarf_CFI *cache;
41 if (cache != NULL)
43 __libdw_destroy_frame_cache (cache);
44 free (cache);
H A Ddwarf_cfi_addrframe.c36 dwarf_cfi_addrframe (cache, address, frame)
37 Dwarf_CFI *cache;
42 if (cache == NULL)
45 struct dwarf_fde *fde = __libdw_find_fde (cache, address);
49 int error = __libdw_frame_at_address (cache, fde, address, frame);
/external/iptables/
H A Dautogen.sh4 rm -Rf autom4te*.cache;
/external/libnl/
H A Dautogen.sh4 rm -Rf autom4te.cache;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_cache.c30 * 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...]
H A Du_cache.h30 * Simple cache.
48 * Least Recently Used (LRU) cache.
54 * Create a cache.
68 util_cache_set(struct util_cache *cache,
73 util_cache_get(struct util_cache *cache,
77 util_cache_clear(struct util_cache *cache);
80 util_cache_destroy(struct util_cache *cache);
83 util_cache_remove(struct util_cache *cache,
/external/squashfs-tools/squashfs-tools/
H A Dcaches-queues-lists.c148 /* Called with the cache mutex held */
265 /* define cache hash tables */
268 /* Called with the cache mutex held */
269 INSERT_HASH_TABLE(cache, struct cache, CALCULATE_CACHE_HASH, index, hash)
271 /* Called with the cache mutex held */
272 REMOVE_HASH_TABLE(cache, struct cache, CALCULATE_CACHE_HASH, index, hash);
274 /* define cache free list */
276 /* Called with the cache mute
286 struct cache *cache = malloc(sizeof(struct cache)); local
331 cache_lookup(struct cache *cache, long long index) argument
362 cache_freelist(struct cache *cache) argument
376 cache_alloc(struct cache *cache) argument
390 _cache_get(struct cache *cache, long long index, int hash) argument
440 cache_get(struct cache *cache, long long index) argument
446 cache_get_nohash(struct cache *cache) argument
454 struct cache *cache = entry->cache; local
468 struct cache *cache; local
507 dump_cache(struct cache *cache) argument
525 cache_get_nowait(struct cache *cache, long long index) argument
564 cache_lookup_nowait(struct cache *cache, long long index, char *locked) argument
602 struct cache *cache = buffer->cache; local
627 struct cache *cache = entry->cache; local
[all...]
/external/libnl/lib/
H A Dcache.c2 * lib/cache.c Caching Module
14 * @defgroup cache Cache
26 * 2) destroy old cache +----------- pp_cb ---------|---+
45 #include <netlink/cache.h>
55 * Return the number of items in the cache
56 * @arg cache cache handle
58 int nl_cache_nitems(struct nl_cache *cache) argument
60 return cache->c_nitems;
64 * Return the number of items matching a filter in the cache
68 nl_cache_nitems_filter(struct nl_cache *cache, struct nl_object *filter) argument
94 nl_cache_is_empty(struct nl_cache *cache) argument
103 nl_cache_get_ops(struct nl_cache *cache) argument
112 nl_cache_get_first(struct nl_cache *cache) argument
125 nl_cache_get_last(struct nl_cache *cache) argument
175 struct nl_cache *cache; local
192 struct nl_cache *cache; local
215 struct nl_cache *cache; local
237 struct nl_cache *cache; local
266 nl_cache_clear(struct nl_cache *cache) argument
284 nl_cache_free(struct nl_cache *cache) argument
301 __cache_add(struct nl_cache *cache, struct nl_object *obj) argument
324 nl_cache_add(struct nl_cache *cache, struct nl_object *obj) argument
353 nl_cache_move(struct nl_cache *cache, struct nl_object *obj) argument
380 struct nl_cache *cache = obj->ce_cache; local
405 nl_cache_search(struct nl_cache *cache, struct nl_object *needle) argument
439 nl_cache_request_full_dump(struct nl_sock *sk, struct nl_cache *cache) argument
464 __cache_pickup(struct nl_sock *sk, struct nl_cache *cache, struct nl_parser_param *param) argument
509 nl_cache_pickup(struct nl_sock *sk, struct nl_cache *cache) argument
519 cache_include(struct nl_cache *cache, struct nl_object *obj, struct nl_msgtype *type, change_func_t cb, void *data) argument
557 nl_cache_include(struct nl_cache *cache, struct nl_object *obj, change_func_t change_cb, void *data) argument
581 nl_cache_resync(struct nl_sock *sk, struct nl_cache *cache, change_func_t change_cb, void *data) argument
667 nl_cache_parse_and_add(struct nl_cache *cache, struct nl_msg *msg) argument
687 nl_cache_refill(struct nl_sock *sk, struct nl_cache *cache) argument
713 nl_cache_mark_all(struct nl_cache *cache) argument
738 nl_cache_dump(struct nl_cache *cache, struct nl_dump_params *params) argument
752 nl_cache_dump_filter(struct nl_cache *cache, struct nl_dump_params *params, struct nl_object *filter) argument
798 nl_cache_foreach(struct nl_cache *cache, void (*cb)(struct nl_object *, void *), void *arg) argument
815 nl_cache_foreach_filter(struct nl_cache *cache, struct nl_object *filter, void (*cb)(struct nl_object *, void *), void *arg) argument
[all...]
/external/selinux/policycoreutils/restorecond/
H A Drestorecond_user.conf6 ~/.cache/*
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheBuilderGwtTest.java17 package com.google.common.cache;
57 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder()
69 cache.put(0, 10);
71 assertEquals(Integer.valueOf(10), cache.get(0, loader));
72 assertEquals(Integer.valueOf(1), cache.get(20, loader));
73 assertEquals(Integer.valueOf(2), cache.get(34, loader));
75 cache.invalidate(0);
76 assertEquals(Integer.valueOf(3), cache.get(0, loader));
78 cache.put(0, 10);
79 cache
[all...]
H A DCacheEvictionTest.java15 package com.google.common.cache;
17 import static com.google.common.cache.TestingCacheLoaders.identityLoader;
18 import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener;
19 import static com.google.common.cache.TestingWeighers.constantWeigher;
20 import static com.google.common.cache.TestingWeighers.intKeyWeigher;
24 import com.google.common.cache.CacheTesting.Receiver;
25 import com.google.common.cache.LocalCache.ReferenceEntry;
26 import com.google.common.cache.TestingCacheLoaders.IdentityLoader;
27 import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
35 * Tests relating to cache evictio
288 getAll(LoadingCache<Integer, Integer> cache, List<Integer> keys) argument
[all...]
H A DCacheManualTest.java15 package com.google.common.cache;
30 Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build();
31 CacheStats stats = cache.stats();
40 assertNull(cache.getIfPresent(one));
41 stats = cache.stats();
46 assertNull(cache.asMap().get(one));
47 assertFalse(cache.asMap().containsKey(one));
48 assertFalse(cache.asMap().containsValue(two));
50 assertNull(cache.getIfPresent(two));
51 stats = cache
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_state_cache.c34 * 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...]
/external/guava/guava/src/com/google/common/cache/
H A Dpackage-info.java20 * <p>The core interface used to represent caches is {@link com.google.common.cache.Cache}.
22 * {@link com.google.common.cache.CacheBuilder}, with cache entries being loaded by
23 * {@link com.google.common.cache.CacheLoader}. Statistics about cache performance are exposed using
24 * {@link com.google.common.cache.CacheStats}.
35 package com.google.common.cache;
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
H A DLongAddables.java17 package com.google.common.cache;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
H A DCharCache.java24 private char[] cache; field in class:CharCache
28 cache = new char[capacity];
33 int available = cache.length - pos;
35 System.arraycopy(chars, 0, cache, pos, toWrite);
40 return new String(cache, 0, pos);
48 if (pos < cache.length - 1) {
49 cache[pos] = c;
/external/freetype/src/cache/
H A Dftccache.c5 /* 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 = 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 )
118 FT_UFast p = cache
276 FTC_Cache cache; local
416 ftc_cache_add( FTC_Cache cache, FT_Offset hash, FTC_Node node ) argument
564 FTC_Cache_RemoveFaceID( FTC_Cache cache, FTC_FaceID face_id ) argument
[all...]
/external/mesa3d/src/mesa/program/
H A Dprog_cache.c82 rehash(struct gl_program_cache *cache) argument
88 cache->last = NULL;
90 size = cache->size * 3;
94 for (i = 0; i < cache->size; i++)
95 for (c = cache->items[i]; c; c = next) {
101 free(cache->items);
102 cache->items = items;
103 cache->size = size;
108 clear_cache(struct gl_context *ctx, struct gl_program_cache *cache, argument
114 cache
141 struct gl_program_cache *cache = CALLOC_STRUCT(gl_program_cache); local
156 _mesa_delete_program_cache(struct gl_context *ctx, struct gl_program_cache *cache) argument
164 _mesa_delete_shader_cache(struct gl_context *ctx, struct gl_program_cache *cache) argument
174 _mesa_search_program_cache(struct gl_program_cache *cache, const void *key, GLuint keysize) argument
198 _mesa_program_cache_insert(struct gl_context *ctx, struct gl_program_cache *cache, const void *key, GLuint keysize, struct gl_program *program) argument
226 _mesa_shader_cache_insert(struct gl_context *ctx, struct gl_program_cache *cache, const void *key, GLuint keysize, struct gl_shader_program *program) argument
[all...]
/external/boringssl/src/crypto/x509v3/
H A Dpcy_cache.c70 /* Set cache entry according to CertificatePolicies extension.
79 X509_POLICY_CACHE *cache = x->policy_cache; local
84 cache->data = sk_X509_POLICY_DATA_new(policy_data_cmp);
85 if (!cache->data)
98 if (cache->anyPolicy)
103 cache->anyPolicy = data;
105 else if (sk_X509_POLICY_DATA_find(cache->data, NULL, data))
110 else if (!sk_X509_POLICY_DATA_push(cache->data, data))
123 sk_X509_POLICY_DATA_pop_free(cache->data, policy_data_free);
124 cache
132 X509_POLICY_CACHE *cache; local
236 policy_cache_free(X509_POLICY_CACHE *cache) argument
255 X509_POLICY_CACHE *cache; local
273 policy_cache_find_data(const X509_POLICY_CACHE *cache, const ASN1_OBJECT *id) argument
[all...]
/external/guava/guava-gwt/test/com/google/common/cache/
H A DCacheBuilderGwtTest_gwt.java16 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
[all...]
H A DCacheBuilderTest_gwt.java16 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
[all...]
/external/squashfs-tools/kernel/fs/squashfs/
H A Dcache.c21 * cache.c
28 * This file implements a generic cache implementation used for both caches,
29 * plus functions layered ontop of the generic cache implementation to
32 * To avoid out of memory and fragmentation isssues with vmalloc the cache
35 * It should be noted that the cache is not used for file datablocks, these
36 * are decompressed and cached in the page-cache in the normal way. The
37 * cache is only used to temporarily cache fragment and metadata blocks
63 * Look-up block in cache, and increment usage count. If not in cache, rea
66 squashfs_cache_get(struct super_block *sb, struct squashfs_cache *cache, u64 block, int length) argument
186 struct squashfs_cache *cache = entry->cache; local
208 squashfs_cache_delete(struct squashfs_cache *cache) argument
237 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); local
[all...]
/external/libopus/celt/
H A Drate.h57 const unsigned char *cache; local
60 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band];
63 hi = cache[0];
69 if ((int)cache[mid] >= bits)
74 if (bits- (lo == 0 ? -1 : (int)cache[lo]) <= (int)cache[hi]-bits)
82 const unsigned char *cache; local
85 cache
[all...]
/external/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c42 struct translate_cache *cache = MALLOC_STRUCT(translate_cache); local
43 if (cache == NULL) {
47 cache->hash = cso_hash_create();
48 return cache;
52 static INLINE void delete_translates(struct translate_cache *cache) argument
54 struct cso_hash *hash = cache->hash;
65 void translate_cache_destroy(struct translate_cache *cache) argument
67 delete_translates(cache);
68 cso_hash_delete(cache->hash);
69 FREE(cache);
90 translate_cache_find(struct translate_cache *cache, struct translate_key *key) argument
[all...]
H A Dtranslate_cache.h29 * Translate cache.
30 * Simply used to cache created translates. Avoids unecessary creation of
42 void translate_cache_destroy(struct translate_cache *cache);
46 * If such a structure doesn't exist in the cache the function
47 * will automatically create it, insert it in the cache and
51 struct translate *translate_cache_find(struct translate_cache *cache,

Completed in 7637 milliseconds

1234567891011>>