Searched refs:cache (Results 226 - 250 of 1307) sorted by relevance

1234567891011>>

/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DDiskCache.java1 package com.bumptech.glide.load.engine.cache;
9 * An interface for writing to and reading from a disk cache
14 * the disk cache
29 * @param key The key in the cache
35 * Write to a key in the cache. {@link Writer} is used so that the cache implementation
44 * Remove the key and value from the cache
/external/guava/guava/src/com/google/common/cache/
H A DRemovalCause.java17 package com.google.common.cache;
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
H A DLoadPathToFileCache.java26 * This class implements a cache of a list of loadpaths and a file name to the absolute file name
34 private final LRUCache<String, String> cache; field in class:LoadPathToFileCache
38 cache = new LRUCache<String, String>(capacity);
42 * Lookup in the cache to see if we have a mapping from the given loadpaths and filename to an
47 * @return the absolute filepath location of the file, or {@code null} if not in the cache.
53 return cache.get(filePathMapKey);
60 * Add a new mapping to the cache.
70 cache.put(filePathMapKey, filePath);
110 * This code is copied from {@link com.google.common.cache.LRUCache} but is distilled to basics in
/external/libnl/include/netlink/route/cls/
H A Du32.h16 #include <netlink/cache.h>
/external/libnl/include/netlink/route/
H A Dpktloc.h16 #include <netlink/cache.h>
H A Dtc.h16 #include <netlink/cache.h>
/external/libnl/src/lib/
H A Dutils.c135 struct nl_cache *cache; local
138 if ((err = ac(sock, &cache)) < 0)
139 nl_cli_fatal(err, "Unable to allocate %s cache: %s",
142 nl_cache_mngt_provide(cache);
144 return cache;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen6_sampler_state.c55 .cache = CACHE_NEW_SAMPLER
/external/oprofile/module/
H A Dop_cache.h15 #include <asm/cache.h>
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSSLCertificateSocketFactory.java18 SSLSessionCache cache) {
16 getHttpSocketFactory( int handshakeTimeoutMillis, SSLSessionCache cache) argument
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_manager_unittest.cc144 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
145 size_t num_profiles = cache.GetNumberOfProfiles();
147 cache.AddProfileToCache(path, profile_name,
149 EXPECT_EQ(num_profiles + 1, cache.GetNumberOfProfiles());
333 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
334 EXPECT_EQ(0u, cache.GetNumberOfProfiles());
339 EXPECT_EQ(1u, cache.GetNumberOfProfiles());
341 EXPECT_TRUE(cache.IsOmittedProfileAtIndex(0));
347 EXPECT_EQ(2u, cache.GetNumberOfProfiles());
349 EXPECT_FALSE(cache
354 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
455 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
487 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
538 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
1003 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
1041 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
1087 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
1141 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
1214 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
1264 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dpcy_tree.c151 const X509_POLICY_CACHE *cache; local
185 /* First setup policy cache in all certificates apart from the
186 * trust anchor. Note any bad cache results on the way. Also can
193 cache = policy_cache_set(x);
194 /* If cache NULL something bad happened: return immediately */
195 if (cache == NULL)
203 else if ((ret == 1) && !cache->data)
209 if ((cache->explicit_skip != -1)
210 && (cache->explicit_skip < explicit_policy))
211 explicit_policy = cache
343 tree_link_nodes(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache) argument
377 tree_add_unmatched(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache, const ASN1_OBJECT *id, X509_POLICY_NODE *node, X509_POLICY_TREE *tree) argument
405 tree_link_unmatched(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache, X509_POLICY_NODE *node, X509_POLICY_TREE *tree) argument
445 tree_link_any(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache, X509_POLICY_TREE *tree) argument
704 const X509_POLICY_CACHE *cache; local
[all...]
/external/openssl/crypto/x509v3/
H A Dpcy_tree.c148 const X509_POLICY_CACHE *cache; local
182 /* First setup policy cache in all certificates apart from the
183 * trust anchor. Note any bad cache results on the way. Also can
190 cache = policy_cache_set(x);
191 /* If cache NULL something bad happened: return immediately */
192 if (cache == NULL)
200 else if ((ret == 1) && !cache->data)
206 if ((cache->explicit_skip != -1)
207 && (cache->explicit_skip < explicit_policy))
208 explicit_policy = cache
340 tree_link_nodes(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache) argument
374 tree_add_unmatched(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache, const ASN1_OBJECT *id, X509_POLICY_NODE *node, X509_POLICY_TREE *tree) argument
402 tree_link_unmatched(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache, X509_POLICY_NODE *node, X509_POLICY_TREE *tree) argument
442 tree_link_any(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache, X509_POLICY_TREE *tree) argument
700 const X509_POLICY_CACHE *cache; local
[all...]
/external/chromium_org/chrome/browser/task_manager/
H A Dtask_manager_util.cc50 ProfileInfoCache& cache = local
52 size_t index = cache.GetIndexOfProfileWithPath(
57 return cache.GetNameOfProfileAtIndex(index);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLAllCollection.cpp53 const NamedItemCache& cache = namedItemCache(); local
54 if (WillBeHeapVector<RawPtrWillBeMember<Element> >* elements = cache.getElementsById(name)) {
60 if (WillBeHeapVector<RawPtrWillBeMember<Element> >* elements = cache.getElementsByName(name)) {
/external/chromium_org/third_party/freetype/src/cache/
H A Dftcsbits.h5 /* A small-bitmap cache (specification). */
73 FTC_Cache cache );
78 FTC_Cache cache );
91 FTC_Cache cache,
/external/freetype/src/cache/
H A Dftcsbits.h5 /* A small-bitmap cache (specification). */
73 FTC_Cache cache );
78 FTC_Cache cache );
91 FTC_Cache cache,
/external/libnl/lib/route/
H A Dclass.c62 static int class_request_update(struct nl_cache *cache, struct nl_sock *sk) argument
66 .tcm_ifindex = cache->c_iarg1,
222 * Build a class cache including all classes attached to the specified interface
227 * Allocates a new cache, initializes it properly and updates it to
230 * @return The cache or NULL if an error has occured.
235 struct nl_cache * cache; local
238 cache = nl_cache_alloc(&rtnl_class_ops);
239 if (!cache)
242 cache->c_iarg1 = ifindex;
244 if (sk && (err = nl_cache_refill(sk, cache)) <
260 rtnl_class_get(struct nl_cache *cache, int ifindex, uint32_t handle) argument
[all...]
/external/libunwind/src/dwarf/
H A DGparser.c497 flush_rs_cache (struct dwarf_rs_cache *cache) argument
501 cache->lru_head = DWARF_UNW_CACHE_SIZE - 1;
502 cache->lru_tail = 0;
507 cache->buckets[i].lru_chain = (i - 1);
508 cache->buckets[i].coll_chain = -1;
509 cache->buckets[i].ip = 0;
510 cache->buckets[i].valid = 0;
513 cache->hash[i] = -1;
519 struct dwarf_rs_cache *cache = &as->global_cache; local
528 lock_acquire (&cache
541 put_rs_cache(unw_addr_space_t as, struct dwarf_rs_cache *cache, intrmask_t *saved_maskp) argument
569 rs_lookup(struct dwarf_rs_cache *cache, struct dwarf_cursor *c) argument
601 rs_new(struct dwarf_rs_cache *cache, struct dwarf_cursor * c) argument
861 struct dwarf_rs_cache *cache; local
[all...]
/external/chromium_org/net/http/
H A Ddisk_cache_based_quic_server_info_unittest.cc59 MockHttpCache cache(factory);
62 new DiskCacheBasedQuicServerInfo(server_id, cache.http_cache()));
74 MockHttpCache cache; local
80 new DiskCacheBasedQuicServerInfo(server_id, cache.http_cache()));
104 new DiskCacheBasedQuicServerInfo(server_id, cache.http_cache()));
114 cache.disk_cache()->set_double_create_check(false);
120 new DiskCacheBasedQuicServerInfo(server_id, cache.http_cache()));
139 MockHttpCache cache; local
147 new DiskCacheBasedQuicServerInfo(server_id1, cache.http_cache()));
171 new DiskCacheBasedQuicServerInfo(server_id2, cache
228 MockHttpCache cache; local
[all...]
/external/e2fsprogs/lib/blkid/
H A Dtag.c101 * 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/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DCacheTest.cpp266 Cache* cache = Cache::create(testCache = new NotImplementedErrorCache()); local
267 ASSERT(cache);
272 ScriptPromise matchPromise = cache->match(scriptState(), url, *queryParams);
275 cache = Cache::create(testCache = new ErrorWebCacheForTests(WebServiceWorkerCacheErrorNotFound));
276 matchPromise = cache->match(scriptState(), url, *queryParams);
279 cache = Cache::create(testCache = new ErrorWebCacheForTests(WebServiceWorkerCacheErrorExists));
280 matchPromise = cache->match(scriptState(), url, *queryParams);
289 Cache* cache = Cache::create(testCache = new NotImplementedErrorCache()); local
290 ASSERT(cache);
292 const String url = "http://www.cache
343 Cache* cache = Cache::create(testCache = new NotImplementedErrorCache()); local
428 Cache* cache = Cache::create(new MatchTestCache(webResponse)); local
466 Cache* cache = Cache::create(new KeysTestCache(webRequests)); local
516 Cache* cache = Cache::create(new MatchAllAndBatchTestCache(webResponses)); local
[all...]
/external/skia/src/effects/gradients/
H A DSkRadialGradient.cpp68 uint16_t* dstC, const uint16_t* cache,
73 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache,
98 *dstC++ = cache[toggle +
110 *dstC++ = cache[toggle +
119 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache,
125 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)];
133 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache,
135 shadeSpan16_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count);
139 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache,
141 shadeSpan16_radial<repeat_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggl
71 shadeSpan16_radial_clamp(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
118 shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
132 shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
138 shadeSpan16_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
183 const uint16_t* SK_RESTRICT cache = fCache->getCache16(); local
315 shadeSpan_radial_clamp(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
378 shadeSpan_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
392 shadeSpan_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
398 shadeSpan_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
415 const SkPMColor* SK_RESTRICT cache = fCache->getCache32(); local
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_GetLocal.java35 static Hashtable<String, File> cache = new Hashtable<String, File>(20); field in class:Support_GetLocal
40 File temp = cache.get(url);
53 cache.put(url, temp);
60 File temp = cache.get(url);
73 cache.put(url, temp);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dgen6_viewport_state.c55 brw->state.dirty.cache |= CACHE_NEW_CLIP_VP;
62 .cache = 0,
98 brw->state.dirty.cache |= CACHE_NEW_SF_VP;
105 .cache = 0,
130 .cache = (CACHE_NEW_CLIP_VP |

Completed in 1127 milliseconds

1234567891011>>