HomeSort by relevance Sort by last modified time
    Searched defs:cache (Results 126 - 150 of 1400) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/selinux/libsemanage/src/
database_llist.h 23 /* In-memory representation (cache) */
24 cache_entry_t *cache; member in struct:dbase_llist
37 dbase->cache = NULL;
69 /* LLIST - cache/transactions */
  /external/skia/include/gpu/
GrTextureProvider.h 22 * Creates a new texture in the resource cache and returns it. The caller owns a
26 * @param budgeted Does the texture count against the resource cache budget?
106 GrTextureProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* singleOwner);
115 * Finds a resource in the cache, based on the specified key. This is intended for use in
122 * Determines whether a resource is in the cache. If the resource is found it
144 GrResourceCache* cache() { return fCache; } function in class:GrTextureProvider
145 const GrResourceCache* cache() const { return fCache; } function in class:GrTextureProvider
  /external/v8/test/mjsunit/
debug-stepin-property-function-call.js 100 var cache = { "fun": "fun" };
103 obj[cache[functionName]]();
string-slices.js 105 var cache = []; variable
109 cache.push(z);
117 var cache = []; variable
121 cache.push(z);
125 var cache = []; variable
131 cache.push(z);
135 var z = cache.pop();
  /external/valgrind/drd/
pub_drd_bitmap.h 71 struct bm_cache_elem cache[DRD_BITMAP_N_CACHE_ELEM]; member in struct:bitmap
  /hardware/qcom/display/msm8996/sdm/include/core/
buffer_allocator.h 54 bool cache = false; //!< Specifies whether the buffer needs to be cache. member in struct:sdm::BufferConfig
  /libcore/ojluni/src/main/java/java/lang/reflect/
Proxy.java 242 /** maps a class loader to the proxy class cache for that loader */
399 /* collect interface names to use as key for proxy class cache */
444 * keys in the proxy class cache (instead of their Class
454 * Find or create the proxy class cache for the class loader.
456 Map<List<String>, Object> cache; local
458 cache = loaderToCache.get(loader);
459 if (cache == null) {
460 cache = new HashMap<>();
461 loaderToCache.put(loader, cache);
471 * Look up the list of interfaces in the proxy class cache usin
    [all...]
  /libcore/ojluni/src/main/java/sun/net/www/protocol/http/
AuthCacheValue.java 32 * AuthCacheValue: interface to minimise exposure to authentication cache
48 static protected AuthCache cache = new AuthCacheImpl(); field in class:AuthCacheValue
51 cache = map;
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
CertStoreHelper.java 44 import sun.security.util.Cache;
63 private static Cache<String, CertStoreHelper> cache field in class:CertStoreHelper
64 = Cache.newSoftMemoryCache(NUM_TYPES);
69 CertStoreHelper helper = cache.get(type);
85 cache.put(type, csh);
X509CertificatePair.java 39 import sun.security.util.Cache;
82 private static final Cache<Object, X509CertificatePair> cache field in class:X509CertificatePair
83 = Cache.newSoftMemoryCache(750);
129 * Clear the cache for debugging.
132 cache.clear();
136 * Create a X509CertificatePair from its encoding. Uses cache lookup
141 Object key = new Cache.EqualByteArray(encoded);
142 X509CertificatePair pair = cache.get(key);
147 key = new Cache.EqualByteArray(pair.encoded)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
MediaCacheManager.java 50 MediaCache<?> cache = mCaches.get(id); local
51 if (cache == null) {
52 cache = createMediaCacheById(id);
53 if (cache != null) {
54 mCaches.put(id, cache);
57 return cache;
61 final MediaCache<?> cache = getOrCreateMediaCacheById(cacheId); local
62 if (cache != null && cache instanceof PoolableImageCache) {
63 return ((PoolableImageCache) cache).asReusableBitmapPool()
    [all...]
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
SampleQueue.java 17 package com.android.usbtuner.exoplayer.cache;
25 * A sample queue which reads from the cache and passes to player pipeline.
RecordingSampleBuffer.java 17 package com.android.usbtuner.exoplayer.cache;
55 * A cache reason for live-stream playback.
60 * A cache reason for playback of a recorded program.
65 * A cache reason for recording a program.
98 for (SampleCache cache = mCache; cache != null; cache = cache.getNext()) {
99 cache.clear();
100 cache.close()
254 SampleCache cache = mSampleCaches[index]; local
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderGwtTest.java 17 package com.google.common.cache;
57 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
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)
84 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
119 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local
137 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
154 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
181 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
212 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
279 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
318 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
336 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
351 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
377 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
395 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
413 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
431 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
453 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
471 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
491 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() local
    [all...]
EmptyCachesTest.java 15 package com.google.common.cache;
17 import static com.google.common.cache.CacheTesting.checkEmpty;
18 import static com.google.common.cache.TestingCacheLoaders.identityLoader;
24 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
25 import com.google.common.cache.LocalCache.Strength;
47 for (LoadingCache<Object, Object> cache : caches()) {
48 checkEmpty(cache);
53 for (LoadingCache<Object, Object> cache : caches()) {
54 cache.getUnchecked("a");
55 cache.getUnchecked("b")
    [all...]
PopulatedCachesTest.java 15 package com.google.common.cache;
17 import static com.google.common.cache.CacheTesting.checkEmpty;
18 import static com.google.common.cache.CacheTesting.checkValidState;
19 import static com.google.common.cache.TestingCacheLoaders.identityLoader;
25 import com.google.common.cache.CacheBuilderFactory.DurationSpec;
26 import com.google.common.cache.LocalCache.Strength;
57 for (LoadingCache<Object, Object> cache : caches()) {
59 List<Entry<Object, Object>> warmed = warmUp(cache);
60 assertEquals(WARMUP_SIZE, cache.size());
61 assertMapSize(cache.asMap(), WARMUP_SIZE)
    [all...]
  /external/guice/core/src/com/google/inject/internal/util/
StackTraceElements.java 19 import com.google.common.cache.CacheBuilder;
20 import com.google.common.cache.CacheLoader;
21 import com.google.common.cache.LoadingCache;
55 private static Map<Object, Object> cache = new MapMaker().makeMap(); field in class:StackTraceElements
96 * Clears the internal cache for {@link StackTraceElement StackTraceElements}.
99 cache.clear();
142 (InMemoryStackTraceElement) cache.get(inMemoryStackTraceElement);
150 cache.put(inMemoryStackTraceElement, inMemoryStackTraceElement);
155 String cached = (String) cache.get(s);
159 cache.put(s, s)
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
BitmapFontAlignmentTest.java 38 private BitmapFontCache cache; field in class:BitmapFontAlignmentTest
60 cache = font.newFontCache();
114 // Obviously you wouldn't set the cache text every frame in real code.
115 GlyphLayout layout = cache.setText(text, 0, 0);
116 cache.setColors(Color.BLUE, 1, 4);
120 cache.setPosition(x, y);
122 cache.draw(spriteBatch);
152 // Obviously you wouldn't set the cache text every frame in real code.
153 GlyphLayout layout = cache.setText(text, 0, 0, width, Align.left, true);
156 // cache.setWrappedText(text, 0, 0, width, HAlignment.CENTER);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
LruCacheTest.java 34 LruCache<String, String> cache = new LruCache<String, String>(3); local
35 assertStatistics(cache);
37 assertEquals(null, cache.put("a", "A"));
39 assertStatistics(cache);
40 assertHit(cache, "a", "A");
41 assertSnapshot(cache, "a", "A");
43 assertEquals(null, cache.put("b", "B"));
45 assertStatistics(cache);
46 assertHit(cache, "a", "A");
47 assertHit(cache, "b", "B")
83 LruCache<String, String> cache = newCreatingCache(); local
107 LruCache<String, String> cache = newCreatingCache(); local
113 LruCache<String, String> cache = newCreatingCache(); local
127 LruCache<String, String> cache = new LruCache<String, String>(3); local
136 LruCache<String, String> cache = new LruCache<String, String>(3); local
145 LruCache<String, String> cache = new LruCache<String, String>(3); local
163 LruCache<String, String> cache = new LruCache<String, String>(1); local
171 LruCache<String, String> cache = newRemovalLogCache(log); local
188 LruCache<String, String> cache = newRemovalLogCache(log); local
199 LruCache<String, String> cache = new LruCache<String, String>(10) { local
215 LruCache<String, String> cache = new LruCache<String, String>(4) { local
244 LruCache<String, int[]> cache = new LruCache<String, int[]>(4) { local
266 LruCache<String, String> cache = new LruCache<String, String>(4) { local
285 LruCache<String, String> cache = new LruCache<String, String>(10) { local
303 LruCache<String, String> cache = newRemovalLogCache(log); local
313 LruCache<String, String> cache = new LruCache<String, String>(10) { local
326 LruCache<String, String> cache = new LruCache<String, String>(10) { local
338 LruCache<String, String> cache = new LruCache<String, String>(10); local
346 LruCache<String, String> cache = new LruCache<String, String>(10); local
356 LruCache<String, String> cache = newRemovalLogCache(log); local
364 LruCache<String, String> cache = newRemovalLogCache(log); local
371 LruCache<String, String> cache = new LruCache<String, String>(3) { local
388 LruCache<String, String> cache = new LruCache<String, String>(3) { local
405 LruCache<String, String> cache = new LruCache<String, String>(3) { local
427 LruCache<String, Integer> cache = new LruCache<String, Integer>(3) { local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Cache.java 53 * <h3>Cache Optimization</h3>
54 * To measure cache effectiveness, this class tracks three statistics:
57 * requests issued since this cache was created.
61 * responses were served by the cache.
64 * Sometimes a request will result in a conditional cache hit. If the cache contains a stale copy of
69 * <p>The best way to improve the cache hit rate is by configuring the web server to return
71 * href="http://tools.ietf.org/html/rfc7234">HTTP/1.1 (RFC 7234)</a> cache headers, it doesn't cache
76 * the cache, and fetch data directly from the server. To force a full refresh, add the {@cod
158 private final DiskLruCache cache; field in class:Cache
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
Engine.java 11 import com.bumptech.glide.load.engine.cache.DiskCache;
12 import com.bumptech.glide.load.engine.cache.MemoryCache;
32 private final MemoryCache cache; field in class:Engine
62 Engine(MemoryCache cache, DiskCache diskCache, ExecutorService diskCacheService, ExecutorService sourceService,
66 this.cache = cache;
97 cache.setResourceRemovedListener(this);
106 * <li>Check the memory cache and provide the cached resource if present</li>
115 * Once all consumers of a resource have released that resource, the resource then goes to cache. If the
116 * resource is ever returned to a new consumer from cache, it is re-added to the active resources. If th
    [all...]
  /libcore/ojluni/src/main/java/java/io/
UnixFileSystem.java 134 // The first cache handles repeated canonicalizations of the same path
135 // name. The prefix cache handles repeated canonicalizations within the
138 // prefix cache is conservative and is not used for complex path names.
139 private ExpiringCache cache = new ExpiringCache(); field in class:UnixFileSystem
149 String res = cache.get(path);
161 // Hit only in prefix cache; full path is canonical
164 cache.put(dir + slash + filename, res);
171 cache.put(path, res);
177 // prefix cache (java.home prefix cache coul
    [all...]
  /art/runtime/
dex2oat_environment_test.h 139 std::string cache = GetDalvikCache(GetInstructionSetString(kRuntimeISA), true); local
140 return GetDalvikCacheFilename(GetImageLocation().c_str(), cache.c_str(), image, error_msg);
168 // dalvik cache).
  /dalvik/dexgen/src/com/android/dexgen/rop/cst/
CstInteger.java 28 private static final CstInteger[] cache = new CstInteger[511]; field in class:CstInteger
64 int idx = (value & 0x7fffffff) % cache.length;
65 CstInteger obj = cache[idx];
72 cache[idx] = obj;
  /dalvik/dx/src/com/android/dx/rop/cst/
CstInteger.java 28 private static final CstInteger[] cache = new CstInteger[511]; field in class:CstInteger
64 int idx = (value & 0x7fffffff) % cache.length;
65 CstInteger obj = cache[idx];
72 cache[idx] = obj;

Completed in 1571 milliseconds

1 2 3 4 56 7 8 91011>>