/external/libnl/src/ |
nl-cls-list.c | 51 struct nl_cache *cache; local 54 cache = nl_cli_cls_alloc_cache(sock, ifindex, parent); 55 nl_cache_dump_filter(cache, ¶ms, OBJ_CAST(filter)); 56 nl_cache_free(cache);
|
nl-class-list.c | 49 struct nl_cache *cache; local 51 cache = nl_cli_class_alloc_cache(sock, ifindex); 52 nl_cache_dump_filter(cache, ¶ms, OBJ_CAST(filter));
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSSLCertificateSocketFactory.java | 18 SSLSessionCache cache) {
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowHttpResponseCache.java | 32 HttpResponseCache cache = newInstanceOf(HttpResponseCache.class); local 33 ShadowHttpResponseCache shadowCache = Shadows.shadowOf(cache); 34 shadowCache.originalObject = cache; 39 return cache; 90 networkCount += 1; // Always pretend we had a cache miss and had to fall back to the network. 96 // Do not cache any data. All requests will be a miss.
|
/external/skia/src/gpu/vk/ |
GrVkCopyPipeline.h | 22 VkPipelineCache cache);
|
/external/skqp/src/gpu/vk/ |
GrVkCopyPipeline.h | 22 VkPipelineCache cache);
|
/libcore/ojluni/src/main/java/sun/security/provider/ |
X509Factory.java | 31 import sun.security.util.Cache; 63 private static final Cache<Object, X509CertImpl> certCache 64 = Cache.newSoftMemoryCache(750); 65 private static final Cache<Object, X509CRLImpl> crlCache 66 = Cache.newSoftMemoryCache(750); 135 * in the cert cache, the cached object is returned. Otherwise, 137 * Then the X509CertImpl is added to the cache and returned. 214 * Get the X509CertImpl or X509CRLImpl from the cache. 216 private static synchronized <K,V> V getFromCache(Cache<K,V> cache, [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/nios2/ |
cache-r2.s | 1 # Source file used to test the cache instruction
|
cache.s | 1 # Source file used to test the cache instruction
|
/external/boringssl/src/crypto/x509v3/ |
pcy_tree.c | 154 const X509_POLICY_CACHE *cache; local 189 * First setup policy cache in all certificates apart from the trust 190 * anchor. Note any bad cache results on the way. Also can calculate 196 cache = policy_cache_set(x); 197 /* If cache NULL something bad happened: return immediately */ 198 if (cache == NULL) 209 else if ((ret == 1) && !cache->data) 214 if ((cache->explicit_skip != -1) 215 && (cache->explicit_skip < explicit_policy)) 216 explicit_policy = cache->explicit_skip 672 const X509_POLICY_CACHE *cache; local [all...] |
/external/libcups/cups/ |
ppd-mark.c | 69 _ppd_cache_t *cache; /* PPD cache and mapping data */ local 97 !ppd->cache) 100 * Load PPD cache and mapping data as needed... 103 ppd->cache = _ppdCacheCreateWithPPD(ppd); 106 cache = ppd->cache; 141 else if ((ppd_keyword = _ppdCacheGetPageSize(cache, NULL, s, NULL)) != NULL) 145 if (cache && cache->source_option & [all...] |
/external/freetype/src/cache/ |
ftcsbits.h | 5 /* A small-bitmap cache (specification). */ 73 FTC_Cache cache ); 78 FTC_Cache cache ); 91 FTC_Cache cache,
|
/external/guava/guava-tests/test/com/google/common/cache/ |
AbstractCacheTest.java | 17 package com.google.common.cache; 19 import com.google.common.cache.AbstractCache.SimpleStatsCounter; 20 import com.google.common.cache.AbstractCache.StatsCounter; 39 Cache<Object, Object> cache = new AbstractCache<Object, Object>() { local 46 assertNull(cache.getIfPresent(new Object())); 50 assertSame(newValue, cache.getIfPresent(new Object())); 54 Cache<Object, Object> cache = new AbstractCache<Object, Object>() { local 63 cache.getAllPresent(ImmutableList.of(new Object()))) 69 Cache<Object, Object> cache = new AbstractCache<Object, Object>() { local 83 Cache<Integer, Integer> cache = new AbstractCache<Integer, Integer>() { local [all...] |
/external/guice/core/src/com/google/inject/internal/ |
FailableCache.java | 19 import com.google.common.cache.CacheBuilder; 20 import com.google.common.cache.CacheLoader; 21 import com.google.common.cache.LoadingCache;
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_cache.c | 54 * Free as many cache buffers from the list head as possible. 57 release_expired_buffers_locked(struct list_head *cache) 65 curr = cache->next; 67 while (curr != cache) { 81 * Add a buffer to the cache. This is typically done when the buffer is 88 struct list_head *cache = &mgr->buckets[entry->bucket_index]; local 107 LIST_ADDTAIL(&entry->head, cache); 143 * Find a compatible buffer in the cache, return it, and remove it 144 * from the cache. 156 struct list_head *cache = &mgr->buckets[bucket_index] local 233 struct list_head *cache = &mgr->buckets[i]; local [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
RewriteResponseCacheControl.java | 18 import com.squareup.okhttp.Cache; 27 /** Dangerous interceptor that rewrites the server's cache-control header. */ 32 .header("Cache-Control", "max-age=60") 40 Cache cache = new Cache(cacheDirectory, 1024 * 1024); local 41 cache.evictAll(); 44 client.setCache(cache); 56 // Force this request's response to be written to the cache. This way, subsequent responses 57 // can be read from the cache [all...] |
/external/skqp/src/gpu/text/ |
GrAtlasGlyphCache.h | 31 /** Owner is the cache that owns this strike. */ 36 SkGlyphCache* cache) { 39 glyph = this->generateGlyph(skGlyph, packed, cache); 50 SkGlyphCache* cache) { 54 // potentially little benefit(ie, if the glyph is not in our font cache, then its not 56 const SkGlyph& skGlyph = GrToSkGlyph(cache, packed); 57 glyph = this->generateGlyph(skGlyph, packed, cache); 77 // If a TextStrike is abandoned by the cache, then the caller must get a new strike 95 static const SkGlyph& GrToSkGlyph(SkGlyphCache* cache, GrGlyph::PackedID id) { 96 return cache->getGlyphIDMetrics(GrGlyph::UnpackID(id) [all...] |
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_channel.cc | 137 // found in the channels_ cache for "target". A non nullptr result will be 155 for (GrpcChannelCache* cache : caches_) { 156 delete cache; 161 for (GrpcChannelCache* cache : caches_) { 162 cache->ListWorkers(workers); 168 GrpcChannelCache* cache = gtl::FindPtrOrNull(target_caches_, target); variable 169 if (cache == nullptr) { 174 cache = c; 179 CHECK(cache) << "Could not find GrpcChannelCache holding channel for " 181 return cache->TranslateTask(target) [all...] |
/external/tensorflow/tensorflow/tools/ci_build/ |
ci_build.sh | 139 mkdir -p ${WORKSPACE}/bazel-ci_build-cache 144 -v ${WORKSPACE}/bazel-ci_build-cache:${WORKSPACE}/bazel-ci_build-cache \ 145 -e "CI_BUILD_HOME=${WORKSPACE}/bazel-ci_build-cache" \
|
/frameworks/base/cmds/statsd/src/condition/ |
ConditionWizard.cpp | 32 vector<ConditionState> cache(mAllConditions.size(), ConditionState::kNotEvaluated); 36 cache, *dimensionKeySet); 37 return cache[index];
|
/frameworks/base/core/tests/coretests/src/android/view/ |
BigCacheTest.java | 29 * Builds the drawing cache of two Views, one smaller than the maximum cache size, 30 * one larger than the maximum cache size. The latter should always have a null 31 * drawing cache. 72 final Bitmap[] cache = new Bitmap[1]; local 78 cache[0] = view.getDrawingCache(); 82 return cache[0];
|
/system/netd/server/dns/ |
DnsTlsSessionCache.cpp | 28 // Add this cache as the 0-index extra data for the socket. 45 DnsTlsSessionCache* cache = reinterpret_cast<DnsTlsSessionCache*>( local 47 if (!cache) { 52 cache->recordSession(session);
|
/external/libunwind/src/dwarf/ |
Gparser.c | 497 flush_rs_cache (struct dwarf_rs_cache *cache) 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->lock, *saved_maskp) 861 struct dwarf_rs_cache *cache; local [all...] |
/external/e2fsprogs/lib/blkid/ |
tag.c | 102 * Find the desired tag type in the cache. 105 static blkid_tag blkid_find_head_cache(blkid_cache cache, const char *type) 110 if (!cache || !type) 113 list_for_each(p, &cache->bic_tags) { 117 printf(" found cache tag head %s\n", type)); 186 printf(" creating new cache tag head %s\n", name)); 329 extern blkid_dev blkid_find_dev_with_tag(blkid_cache cache, 339 if (!cache || !type || !value) 342 blkid_read_cache(cache); 344 DBG(DEBUG_TAG, printf("looking for %s=%s in cache\n", type, value)) 405 blkid_cache cache = NULL; local [all...] |
/external/skia/src/core/ |
SkFindAndPlaceGlyph.h | 27 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph); 49 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph); 53 // the right UniChar (or GlyphID) and lookup up the glyph on the cache. The concrete 65 explicit UtfNGlyphFinder(SkGlyphCache* cache) 66 : fCache(cache) { 67 SkASSERT(cache != nullptr); 86 explicit Utf8GlyphFinder(SkGlyphCache* cache) : UtfNGlyphFinder(cache) { } 94 explicit Utf16GlyphFinder(SkGlyphCache* cache) : UtfNGlyphFinder(cache) { } [all...] |