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

<<11121314151617181920>>

  /external/mesa3d/src/gallium/drivers/softpipe/
sp_tex_sample.h 102 struct softpipe_tex_tile_cache *cache; member in struct:sp_sampler_variant
  /external/mesa3d/src/gallium/drivers/svga/
svga_screen_cache.c 53 * against the cache size limit, so view them as zero-sized.
87 * Search the cache for a surface that matches the key. If a match is
88 * found, remove it from the cache and return the surface pointer.
95 struct svga_host_surface_cache *cache = &svgascreen->cache; local
107 pipe_mutex_lock(cache->mutex);
109 curr = cache->bucket[bucket].next;
111 while (curr != &cache->bucket[bucket]) {
131 LIST_ADD(&entry->head, &cache->empty);
133 /* update the cache size *
168 struct svga_host_surface_cache *cache = &svgascreen->cache; local
205 struct svga_host_surface_cache *cache = &svgascreen->cache; local
300 struct svga_host_surface_cache *cache = &svgascreen->cache; local
341 struct svga_host_surface_cache *cache = &svgascreen->cache; local
366 struct svga_host_surface_cache *cache = &svgascreen->cache; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
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,
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->n_items)
324 struct brw_cache *cache = &brw->cache; local
    [all...]
  /external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
AndroidShimResponseCache.java 36 private final Cache delegate;
38 private AndroidShimResponseCache(Cache delegate) {
43 Cache cache = new Cache(directory, maxSize); local
44 return new AndroidShimResponseCache(cache);
48 Cache installedCache = getCache();
54 public Cache getCache() {
84 * this cache. This may be greater than the {@link #maxSize} if a background
92 * Returns the maximum number of bytes that this cache should use to stor
    [all...]
  /external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/
Crawler.java 18 import com.squareup.okhttp.Cache;
95 : "(cache)";
116 System.out.println("Usage: Crawler <cache dir> <root>");
124 Cache cache = new Cache(new File(args[0]), cacheByteCount); local
125 client.setCache(cache);
  /external/opencv3/modules/java/android_test/src/org/opencv/test/
OpenCVTestRunner.java 55 File cache = context.getCacheDir(); local
59 File tmp = File.createTempFile("OpenCV", extension, cache);
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorUnitTest.java 135 ClassCache cache = mock(ClassCache.class); local
137 AndroidTranslator translator = new AndroidTranslator(handler, cache);
140 verify(cache).isWriting();
141 verifyNoMoreInteractions(cache);
147 ClassCache cache = mock(ClassCache.class); local
148 when(cache.isWriting()).thenReturn(true);
149 new AndroidTranslator(null, cache).onLoad(classPool, "java.lang.Object");
  /external/selinux/libsemanage/src/
database.h 93 * not require a call to cache() */
145 /* ---------- Cache/Transaction Management ---------- */
147 /* Cache the database (if supported).
150 * multiple times, and will update the cache if a commit
152 int (*cache) (struct semanage_handle * handle, dbase_t * dbase); member in struct:dbase_table
  /external/squashfs-tools/squashfs-tools/
caches-queues-lists.c 148 /* 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 mutex held *
286 struct cache *cache = malloc(sizeof(struct cache)); local
454 struct cache *cache = entry->cache; local
468 struct cache *cache; local
602 struct cache *cache = buffer->cache; local
627 struct cache *cache = entry->cache; local
    [all...]
  /external/v8/src/heap/
object-stats.cc 200 FixedArray* cache = map_obj->code_cache(); local
202 cache->Size());
  /external/valgrind/coregrind/m_gdbserver/
regcache.c 26 /* The private data for the register cache. Note that we have one
53 fatal ("no register cache\n");
98 /* Make sure to zero-initialize the register cache when it is created,
103 fatal ("Could not allocate register cache.\n");
107 fatal ("Could not allocate register_supplied cache.\n");
213 struct inferior_regcache_data * cache local
215 unsigned char *registers = cache->registers;
217 if (cache->register_supplied[n])
221 cache->register_supplied[n] = True;
  /frameworks/base/core/java/android/content/res/
ThemedResourceCache.java 32 * @param <T> type of data to cache
40 * Adds a new theme-dependent entry to the cache.
45 * @param entry the entry to cache
52 * Adds a new entry to the cache.
57 * @param entry the entry to cache
80 * Returns an entry from the cache.
84 * @return a cached entry, or {@code null} if not in the cache
91 // probably going to be the themed cache.
114 * Prunes cache entries that have been invalidated by a configuration
140 * @return the cached data for the theme, or {@code null} if the cache i
161 LongSparseArray<WeakReference<T>> cache = mThemedEntries.get(key); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
ZeroSizedTest.java 28 * Builds the drawing cache of Views of various dimension. The assumption is that
30 * drawing cache.
90 final Bitmap[] cache = new Bitmap[1]; local
96 cache[0] = view.getDrawingCache();
100 return cache[0];
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiLogger.java 53 // Cache for warning.
55 // Cache for error.
110 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) {
112 Pair<Long, Integer> timing = cache.get(logMessage);
115 cache.put(logMessage, new Pair<>(curTime, 1));
118 increaseLogCount(cache, logMessage);
129 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache,
131 Pair<Long, Integer> timing = cache.get(message);
133 cache.put(message, new Pair<>(timing.first, timing.second + 1));
  /libcore/ojluni/src/main/java/java/lang/
Byte.java 80 static final Byte cache[] = new Byte[-(-128) + 127 + 1]; field in class:Byte.ByteCache
83 for(int i = 0; i < cache.length; i++)
84 cache[i] = new Byte((byte)(i - 128));
103 return ByteCache.cache[(int)b + offset];
Short.java 206 static final Short cache[] = new Short[-(-128) + 127 + 1]; field in class:Short.ShortCache
209 for(int i = 0; i < cache.length; i++)
210 cache[i] = new Short((short)(i - 128));
223 * This method will always cache values in the range -128 to 127,
224 * inclusive, and may cache other values outside of this range.
233 if (sAsInt >= -128 && sAsInt <= 127) { // must cache
234 return ShortCache.cache[sAsInt + offset];
  /libcore/ojluni/src/main/java/java/nio/charset/
Charset.java 329 // Cache of the most-recently-returned charsets,
334 private static volatile Map.Entry<String, Charset> cache1 = null; // "Level 1" cache
335 private static final HashMap<String, Charset> cache2 = new HashMap<>(); // "Level 2" cache
337 private static void cache(String charsetName, Charset cs) { method in class:Charset
487 // instance is stored in the level 1 cache. We convey a hint to this effect to the VM by putting
488 // the level 1 cache miss code in a separate method. Since charsetName is not necessarily in
490 // instance in a map for level 2 cache.
516 cache(charsetName, cs);
    [all...]
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
SimpleSampleBuffer.java 17 package com.android.usbtuner.exoplayer.cache;
34 * physical storage based cache is not used. Trickplay is disabled.
TrickplayStorageManager.java 17 package com.android.usbtuner.exoplayer.cache;
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
LetterTileProvider.java 138 final Bitmap[] cache = (getDefault) ? mDefaultBitmapCache : mBitmapBackgroundCache; local
140 Bitmap bitmap = cache[pos];
150 cache[pos] = bitmap;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
FastScrollingIndexCacheTest.java 83 private static final Bundle putAndGetBundle(FastScrollingIndexCache cache, Uri queryUri,
87 cache.put(queryUri, selection, selectionArgs, sortOrder, countExpression, bundle);
92 // Initially the cache is empty
140 // Now, create a new cache instance (with the same shared preferences)
141 // It should restore the cache content from the preferences...
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
XmlStringFileHelper.java 43 /** A temporary cache of R.string IDs defined by a given xml file. The key is the
65 Map<String, String> cache = getResIdsForFile(project, xmlFileWsPath); local
66 return cache.get(stringId);
71 * file. The instance maintains an internal cache so a given file is retrieved only once.
80 Map<String, String> cache = mResIdCache.get(xmlFileWsPath); local
81 if (cache == null) {
82 cache = internalGetResIdsForFile(project, xmlFileWsPath);
83 mResIdCache.put(xmlFileWsPath, cache);
85 return cache;
  /toolchain/binutils/binutils-2.25/gold/
dirsearch.cc 107 // Add a cache for a directory.
110 // Look up a directory in the cache. This much be locked against
142 Dir_cache* cache = new Dir_cache(dirname); local
144 cache->read_files();
149 std::pair<const char*, Dir_cache*> v(dirname, cache);
  /external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderSpecTest.java 17 package com.google.common.cache;
19 import static com.google.common.cache.CacheBuilderSpec.parse;
20 import static com.google.common.cache.TestingWeighers.constantWeigher;
23 import com.google.common.cache.LocalCache.Strength;
526 LoadingCache<Object, Object> cache = builder.build( local
528 assertSame(value, cache.getUnchecked(key));
529 assertEquals(0, cache.size());
530 assertFalse(cache.asMap().containsKey(key));
LocalLoadingCacheTest.java 17 package com.google.common.cache;
19 import static com.google.common.cache.CacheBuilder.EMPTY_STATS;
20 import static com.google.common.cache.LocalCacheTest.SMALL_MAX_SIZE;
21 import static com.google.common.cache.TestingCacheLoaders.identityLoader;
24 import com.google.common.cache.LocalCache.LocalLoadingCache;
25 import com.google.common.cache.LocalCache.Segment;
63 LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader); local
64 assertSame(loader, cache.localCache.defaultLoader);
81 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); local
82 assertEquals(EMPTY_STATS, cache.stats())
140 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); local
184 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); local
208 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); local
236 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); local
295 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); local
    [all...]

Completed in 2961 milliseconds

<<11121314151617181920>>