| /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gwt/ |
| GwtTest.java | 53 BitmapFontCache cache;
field in class:GwtTest 86 cache = font.newFontCache();
87 cache.setColor(Color.RED);
88 cache.setText("This is a Test", 0, 0);
113 cache.setPosition(200, 200);
114 cache.draw(batch);
|
| /external/libnl/lib/ |
| cache.c | 2 * lib/cache.c Caching Module 14 * @defgroup cache Cache 17 * Cache Management | | Type Specific Cache Operations 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 handl 175 struct nl_cache *cache; local 192 struct nl_cache *cache; local 215 struct nl_cache *cache; local 237 struct nl_cache *cache; local 380 struct nl_cache *cache = obj->ce_cache; local [all...] |
| /external/libopus/celt/ |
| rate.c | 82 PulseCache *cache = &m->cache; local 87 cindex = (opus_int16 *)opus_alloc(sizeof(cache->index[0])*m->nbEBands*(LM+2)); 88 cache->index = cindex; 111 if (cache->index[i*m->nbEBands+j] == -1 && N!=0) 128 cache->bits = bits; 129 cache->size = curr; 130 /* Compute the cache for all unique sizes */ 143 cache->caps = cap = (unsigned char *)opus_alloc(sizeof(cache->caps[0])*(LM+1)*2*m->nbEBands) [all...] |
| /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/libunwind/src/x86_64/ |
| Gtrace.c | 56 /* Free memory for a thread's trace cache. */ 60 unw_trace_cache_t *cache = arg; local 61 if (++cache->dtor_count < PTHREAD_DESTRUCTOR_ITERATIONS) 64 pthread_setspecific(trace_cache_key, cache); 65 Debug(5, "delayed freeing cache %p (%zx to go)\n", cache, 66 PTHREAD_DESTRUCTOR_ITERATIONS - cache->dtor_count); 71 munmap (cache->frames, (1u << cache->log_size) * sizeof(unw_tdep_frame_t)); 72 mempool_free (&trace_cache_pool, cache); 105 unw_trace_cache_t *cache; local 163 unw_trace_cache_t *cache; local 182 unw_trace_cache_t *cache; local 401 unw_trace_cache_t *cache; local [all...] |
| /external/mesa3d/src/gallium/drivers/nouveau/ |
| nouveau_mm.c | 38 struct nouveau_mman *cache; member in struct:mm_slab 86 mm_bucket_by_order(struct nouveau_mman *cache, int order) 90 return &cache->bucket[MAX2(order, MM_MIN_ORDER) - MM_MIN_ORDER]; 94 mm_bucket_by_size(struct nouveau_mman *cache, unsigned size) 96 return mm_bucket_by_order(cache, mm_get_order(size)); 114 mm_slab_new(struct nouveau_mman *cache, int chunk_order) 131 ret = nouveau_bo_new(cache->dev, cache->domain, 0, size, &cache->config, 140 slab->cache = cache 239 struct nouveau_mman *cache = MALLOC_STRUCT(nouveau_mman); local [all...] |
| /external/mesa3d/src/mesa/drivers/dri/i965/ |
| brw_state_dump.c | 494 struct brw_cache *cache = &brw->cache; local 498 drm_intel_bo_map(brw->cache.bo, false); 500 for (b = 0; b < cache->size; b++) { 503 for (item = cache->items[b]; item; item = item->next) { 507 data = brw->cache.bo->virtual + item->offset; 541 drm_intel_bo_unmap(brw->cache.bo);
|
| /external/mockito/cglib-and-asm/src/org/mockito/asm/tree/ |
| InsnList.java | 68 * A cache of the instructions of this list. This cache is used to improve
71 private AbstractInsnNode[] cache;
field in class:InsnList 103 * Returns the instruction whose index is given. This method builds a cache
105 * time it is called. Once the cache is built, this method run in constant
106 * time. This cache is invalidated by all the methods that modify the list.
116 if (cache == null) {
117 cache = toArray();
119 return cache[index];
140 * builds a cache of the instruction indexes to avoid scanning the whole [all...] |
| /external/skia/include/core/ |
| SkImageFilter.h | 37 // This cache maps from (filter's unique ID + CTM + clipBounds + src bitmap generation ID) to 39 class Cache : public SkRefCnt { 42 virtual ~Cache() {} 43 static Cache* Create(size_t maxBytes); 44 static Cache* Get(); 55 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) 58 , fCache(cache) 63 Cache* cache() const { return fCache; function in class:SkImageFilter::Context [all...] |
| /external/skia/src/animator/ |
| SkAnimateActive.cpp | 365 SkOperand* cache = new SkOperand[count]; // this should use sk_malloc/sk_free since SkOperand does not have a constructor/destructor local 366 fSaveInterpolators[index] = cache; 367 memcpy(cache, interpolator.getValues(), count * sizeof(SkOperand));
|
| /external/skia/src/core/ |
| SkBitmapDevice.cpp | 379 SkImageFilter::Cache* SkBitmapDevice::getImageFilterCache() { 380 SkImageFilter::Cache* cache = SkImageFilter::Cache::Get(); local 381 cache->ref(); 382 return cache;
|
| /external/skia/src/effects/gradients/ |
| SkSweepGradient.cpp | 84 const SkPMColor* SK_RESTRICT cache = fCache->getCache32(); local 105 *dstC++ = cache[toggle + SkATan2_255(fy, fx)]; 114 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)];
|
| SkTwoPointConicalGradient.cpp | 136 const SkPMColor* cache, int toggle, int count); 139 const SkPMColor* SK_RESTRICT cache, int toggle, 148 *dstC++ = cache[toggle + 156 const SkPMColor* SK_RESTRICT cache, int toggle, 165 *dstC++ = cache[toggle + 173 const SkPMColor* SK_RESTRICT cache, int toggle, 182 *dstC++ = cache[toggle + 245 const SkPMColor* SK_RESTRICT cache = fCache->getCache32(); local 274 (*shadeProc)(&rec, dstC, cache, toggle, count); 282 (*shadeProc)(&rec, dstC, cache, toggle, 1) [all...] |
| /external/skia/src/gpu/ |
| GrTest.cpp | 149 GrBatchFontCache* cache = this->getBatchFontCache(); local 151 return cache->getTexture(format); 422 // We delete these because we want to test the cache starting with zero resources. Also, none of
|
| /external/skia/src/gpu/batches/ |
| GrAtlasTextBatch.cpp | 137 // We cache some values to avoid going to the glyphcache for the same fontScaler twice 140 SkGlyphCache* cache = nullptr; local 152 blob->regenInBatch(target, fFontCache, &helper, args.fRun, args.fSubRun, &cache, 175 // Make sure to attach the last cache if applicable 176 if (cache) { 177 SkGlyphCache::AttachCache(cache);
|
| /external/skia/src/gpu/text/ |
| GrAtlasTextContext.cpp | 57 // textblob is being built and cache it. However, for the time being textblobs mostly only have 1 84 // TODO for animated mask filters, this will fill up our cache. We need a safeguard here 90 GrTextBlobCache* cache = context->getTextBlobCache(); local 109 cacheBlob.reset(SkSafeRef(cache->find(key))); 124 cache->remove(cacheBlob); 125 cacheBlob.reset(SkRef(cache->createCachedBlob(blob, key, blurRec, skPaint))); 131 cache->makeMRU(cacheBlob); 137 SkAutoTUnref<GrAtlasTextBlob> sanityBlob(cache->createBlob(glyphCount, runCount)); 148 cacheBlob.reset(SkRef(cache->createCachedBlob(blob, key, blurRec, skPaint))); 150 cacheBlob.reset(cache->createBlob(blob)) [all...] |
| /external/skia/tests/ |
| SkResourceCacheTest.cpp | 41 SkAutoTDelete<SkResourceCache> cache; local 43 cache.reset(new SkResourceCache(factory)); 46 cache.reset(new SkResourceCache(byteLimit)); 58 REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedPR, SkIRect::MakeWH(4, 6), cachedBitmap, cache)); 59 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache)); 61 REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedPR, SkIRect::MakeXYWH(-1, 0, 5, 5), cachedBitmap, cache)); 62 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache)); 64 // Should not be in the cache 65 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache)); 67 REPORTER_ASSERT(reporter, SkBitmapCache::Add(cachedPR, rect, cachedBitmap, cache)); [all...] |
| /external/squashfs-tools/kernel/fs/squashfs/ |
| squashfs_fs_sb.h | 50 struct squashfs_cache *cache; member in struct:squashfs_cache_entry
|
| /external/squashfs-tools/squashfs-tools/ |
| caches-queues-lists.h | 88 /* struct describing a cache entry passed between threads */ 99 struct cache *cache; member in struct:file_buffer 155 /* Cache status struct. Caches are used to keep 157 struct cache { struct 186 extern struct cache *cache_init(int, int, int, int); 187 extern struct file_buffer *cache_lookup(struct cache *, long long); 188 extern struct file_buffer *cache_get(struct cache *, long long); 189 extern struct file_buffer *cache_get_nohash(struct cache *); 192 extern void dump_cache(struct cache *); [all...] |
| /external/v8/src/ |
| transitions.cc | 297 // Don't cache prototype transition if this map is either shared, or a map of 306 Handle<FixedArray> cache(GetPrototypeTransitions(*map)); 307 int capacity = cache->length() - header; 308 int transitions = NumberOfPrototypeTransitions(*cache) + 1; 312 if (!CompactPrototypeTransitionArray(*cache)) { 314 cache = GrowPrototypeTransitionArray(cache, 2 * transitions, 316 SetPrototypeTransitions(map, cache); 321 int last = NumberOfPrototypeTransitions(*cache); 324 cache->set(entry, *target_cell) 333 FixedArray* cache = GetPrototypeTransitions(*map); local [all...] |
| /external/v8/test/cctest/ |
| test-asm-validator.cc | 12 #include "src/type-cache.h" 21 #define FUNC_I_TYPE Bounds(Type::Function(cache.kAsmSigned, zone)) 22 #define FUNC_F_TYPE Bounds(Type::Function(cache.kAsmFloat, zone)) 23 #define FUNC_D_TYPE Bounds(Type::Function(cache.kAsmDouble, zone)) 25 Bounds(Type::Function(cache.kAsmDouble, cache.kAsmDouble, zone)) 27 Bounds(Type::Function(cache.kAsmFloat, Type::Number(), zone)) 29 Bounds(Type::Function(cache.kAsmSigned, cache.kAsmInt, zone)) 31 Bounds(Type::Function(cache.kAsmDouble, cache.kAsmInt, cache.kAsmInt, zone) 124 TypeCache cache; local 2163 TypeCache cache; local 2402 TypeCache cache; local [all...] |
| /external/wpa_supplicant_8/src/ap/ |
| ieee802_11_auth.c | 284 /* Check whether ACL cache has an entry for this station */ 315 /* No entry in the cache - query external RADIUS server */ 414 * hostapd_acl_expire - ACL cache expiration callback 432 struct hostapd_cached_radius_acl *cache) 470 hostapd_logger(hapd, cache->addr, 481 psk->next = cache->psk; 482 cache->psk = psk; 509 struct hostapd_cached_radius_acl *cache; local 540 /* Insert Accept/Reject info into ACL cache */ 541 cache = os_zalloc(sizeof(*cache)) [all...] |
| /frameworks/base/core/java/com/android/internal/util/ |
| ArrayUtils.java | 117 Object cache = sCache[bucket]; local 119 if (cache == null || cache.getClass().getComponentType() != kind) { 120 cache = Array.newInstance(kind, 0); 121 sCache[bucket] = cache; 123 // Log.e("cache", "new empty " + kind.getName() + " at " + bucket); 126 return (T[]) cache;
|
| /frameworks/base/test-runner/src/android/test/ |
| ClassPathPackageInfoSource.java | 47 private final SimpleCache<String, ClassPathPackageInfo> cache = field in class:ClassPathPackageInfoSource 59 // A cache of jar file contents 73 return cache.get(pkgName);
|
| /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
| AnqpCacheTest.java | 134 AnqpCache cache = mCache = new AnqpCache(mClock); local 144 cache.initiate(scanDetail.getNetworkDetail(), queryList); 149 ANQPData data = cache.getEntry(scanDetail.getNetworkDetail()); 159 cache.update(scanDetail.getNetworkDetail(), anqpResults); 166 ANQPData data = cache.getEntry(scanDetail.getNetworkDetail()); 178 cache.initiate(scanDetail.getNetworkDetail(), queryList); 185 cache.update(scanDetail.getNetworkDetail(), anqpResults); 192 ANQPData data = cache.getEntry(scanDetail.getNetworkDetail()); 197 ANQPData data = cache.getEntry(scanDetail.getNetworkDetail());
|