| /external/guava/guava/src/com/google/common/cache/ |
| CacheBuilderSpec.java | 17 package com.google.common.cache; 26 import com.google.common.cache.LocalCache.Strength;
|
| /external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
| CacheBuilder.java | 17 package com.google.common.cache; 30 import com.google.common.cache.AbstractCache.SimpleStatsCounter; 31 import com.google.common.cache.AbstractCache.StatsCounter; 32 import com.google.common.cache.LocalCache.Strength; 41 * <p>A builder of {@link LoadingCache} and {@link Cache} instances having any combination of the 45 * <li>automatic loading of entries into the cache 52 * <li>accumulation of cache access statistics 56 * cache instances created by {@code CacheBuilder} will not perform any type of eviction. 85 * <p>The returned cache is implemented as a hash table with similar performance characteristics to 87 * {@link Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakl [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| ICULocaleService.java | 401 Set<String> cache = getSupportedIDs(); local 402 for (String id : cache) { 593 * last accessed, the service cache is cleared.
|
| Norm2AllModes.java | 283 // instance cache ---------------------------------------------------------- *** 343 return cache.getInstance(name, bytes); 345 private static CacheBase<String, Norm2AllModes, ByteBuffer> cache = field in class:Norm2AllModes
|
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| BreakIterator.java | 716 * <p>Because ICU may choose to cache BreakIterator objects internally, this must 735 * <p>Because ICU may choose to cache BreakIterator objects internally, this must 746 // If the registered object matches the one in the cache, then 749 BreakIteratorCache cache = (BreakIteratorCache) iterCache[kind].get(); local 750 if (cache != null) { 751 if (cache.getLocale().equals(locale)) { 809 BreakIteratorCache cache = (BreakIteratorCache)iterCache[kind].get(); local 820 BreakIteratorCache cache = new BreakIteratorCache(where, result); local [all...] |
| CompactDecimalFormat.java | 58 private static final CompactDecimalDataCache cache = new CompactDecimalDataCache(); field in class:CompactDecimalFormat 429 CompactDecimalDataCache.DataBundle bundle = cache.get(locale);
|
| /external/icu/icu4c/source/common/ |
| unifiedcache.cpp | 75 // cache constructor. 156 // Use a loop in case cache items that are flushed held hard references to 157 // other cache items making those additional cache items eligible for 167 const UnifiedCache *cache = getInstance(status); local 169 fprintf(stderr, "Unified Cache: Error fetching cache.\n"); 172 cache->dumpContents(); 180 // Dumps content of cache. 182 // On exit, cache contents dumped to stderr [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| ICULocaleService.java | 397 Set<String> cache = getSupportedIDs(); local 398 for (String id : cache) { 589 * last accessed, the service cache is cleared.
|
| Norm2AllModes.java | 279 // instance cache ---------------------------------------------------------- *** 339 return cache.getInstance(name, bytes); 341 private static CacheBase<String, Norm2AllModes, ByteBuffer> cache = field in class:Norm2AllModes
|
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| BreakIterator.java | 766 * <p>Because ICU may choose to cache BreakIterator objects internally, this must 785 * <p>Because ICU may choose to cache BreakIterator objects internally, this must 796 // If the registered object matches the one in the cache, then 799 BreakIteratorCache cache = (BreakIteratorCache) iterCache[kind].get(); local 800 if (cache != null) { 801 if (cache.getLocale().equals(locale)) { 858 BreakIteratorCache cache = (BreakIteratorCache)iterCache[kind].get(); local 869 BreakIteratorCache cache = new BreakIteratorCache(where, result); local [all...] |
| CompactDecimalFormat.java | 58 private static final CompactDecimalDataCache cache = new CompactDecimalDataCache(); field in class:CompactDecimalFormat 442 CompactDecimalDataCache.DataBundle bundle = cache.get(locale);
|
| /external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/ |
| b2TimeOfImpact.cpp | 45 float32 Initialize(const b2SimplexCache* cache, 52 int32 count = cache->count; 65 b2Vec2 localPointA = m_proxyA->GetVertex(cache->indexA[0]); 66 b2Vec2 localPointB = m_proxyB->GetVertex(cache->indexB[0]); 73 else if (cache->indexA[0] == cache->indexA[1]) 77 b2Vec2 localPointB1 = proxyB->GetVertex(cache->indexB[0]); 78 b2Vec2 localPointB2 = proxyB->GetVertex(cache->indexB[1]); 87 b2Vec2 localPointA = proxyA->GetVertex(cache->indexA[0]); 102 b2Vec2 localPointA1 = m_proxyA->GetVertex(cache->indexA[0]) 287 b2SimplexCache cache; local [all...] |
| /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/ |
| btKinematicCharacterController.cpp | 174 // that is not in the previous cache contents from the last timestep, as will happen if we 591 //clear pair cache 592 btHashedOverlappingPairCache *cache = m_ghostObject->getOverlappingPairCache(); local 593 while (cache->getOverlappingPairArray().size() > 0) 595 cache->removeOverlappingPair(cache->getOverlappingPairArray()[0].m_pProxy0, cache->getOverlappingPairArray()[0].m_pProxy1, collisionWorld->getDispatcher());
|
| /external/libnl/lib/route/ |
| rule.c | 344 * @name Cache Management 349 * Build a rule cache including all rules currently configured in the kernel. 352 * @arg result Pointer to store resulting cache. 354 * Allocates a new rule cache, initializes it properly and updates it 362 struct nl_cache * cache; local 365 if (!(cache = nl_cache_alloc(&rtnl_rule_ops))) 368 cache->c_iarg1 = family; 370 if (sock && (err = nl_cache_refill(sock, cache)) < 0) { 371 free(cache); 375 *result = cache; [all...] |
| /external/libunwind/src/ia64/ |
| Gscript.c | 77 flush_script_cache (struct ia64_script_cache *cache) 81 cache->lru_head = IA64_UNW_CACHE_SIZE - 1; 82 cache->lru_tail = 0; 87 cache->buckets[i].lru_chain = (i - 1); 88 cache->buckets[i].coll_chain = -1; 89 cache->buckets[i].ip = 0; 92 cache->hash[i] = -1; 98 struct ia64_script_cache *cache = &as->global_cache; local 105 if (!spin_trylock_irqsave (&cache->busy, *saved_maskp)) 110 cache = &ia64_per_thread_cache 642 struct ia64_script_cache *cache = NULL; local 719 struct ia64_script_cache *cache; local 751 struct ia64_script_cache *cache; local [all...] |
| /external/libvorbis/doc/ |
| 01-introduction.tex | 46 to which they are pre-decoded into a cache is the dominant factor in 501 \paragraph{cache right hand data} 502 The decoder must cache the right hand portion of the current frame to
|
| /external/ltrace/ |
| prototype.c | 328 protolib_cache_destroy(struct protolib_cache *cache) 330 DICT_DESTROY(&cache->protolibs, const char *, struct protolib *, 341 consider_config_dir(struct protolib_cache *cache, 348 return protolib_cache_file(cache, buf, 0); 364 load_dash_F_dirs(struct protolib_cache *cache, 367 struct load_config_data data = {cache, key}; 383 load_config(struct protolib_cache *cache, 392 struct protolib *plib = consider_config_dir(cache, *dirs, key); 405 struct protolib_cache *cache = data; local 406 struct protolib *plib = protolib_cache_file(cache, *fnp, 1) [all...] |
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
| OkHttpClient.java | 50 * response cache, thread pool, connection re-use, etc. 183 /** Non-null if this client is caching; possibly by {@code cache}. */ 185 private Cache cache; field in class:OkHttpClient 216 this.cache = okHttpClient.cache; 217 this.internalCache = cache != null ? cache.internalCache : okHttpClient.internalCache; 340 /** Sets the response cache to be used to read and write cached responses. */ 343 this.cache = null [all...] |
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
| CacheTest.java | 83 private Cache cache; field in class:CacheTest 88 cache = new Cache(new File("/cache/"), Integer.MAX_VALUE, fileSystem); 89 client.setCache(cache); 116 assertCached(false, 206); //Electing to not cache partial responses 184 Response cached = cache.get(request); 218 // Make sure that calling skip() doesn't omit bytes from the cache. 228 assertEquals(1, cache.getWriteSuccessCount()) [all...] |
| /external/skia/src/effects/gradients/ |
| SkRadialGradient.cpp | 92 SkPMColor* dstC, const SkPMColor* cache, 105 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 110 cache[toggle + fi], 111 cache[next_dither_toggle(toggle) + fi], 140 *dstC++ = cache[toggle + fi[i]]; 151 *dstC++ = cache[toggle + fi[i]]; 163 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 169 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache32Shift)]; 177 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 179 shadeSpan_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, count, toggle) 199 const SkPMColor* SK_RESTRICT cache = fCache->getCache32(); local [all...] |
| /external/skia/src/gpu/text/ |
| GrStencilAndCoverTextContext.cpp | 402 // Generate the key that will be used to cache the GPU glyph path objects. 542 SkGlyphCache* cache = this->getGlyphCache(); local 543 glyphs = ctx->resourceProvider()->createGlyphs(cache->getScalerContext()->getTypeface(), 544 &cache->getDescriptor(),
|
| GrTextUtils.cpp | 59 // Get GrFontScaler from cache 60 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::On, local 62 GrFontScaler* fontScaler = GrTextUtils::GetGrFontScaler(cache); 67 cache, 77 SkGlyphCache::AttachCache(cache); 101 // Get GrFontScaler from cache 102 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::On, local 104 GrFontScaler* fontScaler = GrTextUtils::GetGrFontScaler(cache); 109 skPaint.getTextAlign(), cache, 119 SkGlyphCache::AttachCache(cache); 344 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::Off, local 512 SkGlyphCache* cache = autoCache.getCache(); local [all...] |
| /external/v8/src/ |
| api-natives.cc | 277 auto cache = isolate->template_instantiations_cache(); local 279 UnseededNumberDictionary::AtNumberPut(cache, serial_number, object); 284 auto cache = isolate->template_instantiations_cache(); local 285 int entry = cache->FindEntry(serial_number); 288 UnseededNumberDictionary::DeleteProperty(cache, entry); 291 auto new_cache = UnseededNumberDictionary::Shrink(cache, entry); 317 // Probe cache. 318 auto cache = isolate->template_instantiations_cache(); local 319 int entry = cache->FindEntry(serial_number); 321 Object* boilerplate = cache->ValueAt(entry) 367 auto cache = isolate->template_instantiations_cache(); local [all...] |
| /libcore/ojluni/src/main/java/java/lang/ |
| Long.java | 548 static final Long cache[] = new Long[-(-128) + 127 + 1]; field in class:Long.LongCache 551 for(int i = 0; i < cache.length; i++) 552 cache[i] = new Long(i - 128); 567 * is <em>not</em> required to cache values within a particular 576 if (l >= -128 && l <= 127) { // will cache 577 return LongCache.cache[(int)l + offset]; [all...] |
| /libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
| AuthenticationInfo.java | 141 /* entry may be in cache now. */ 163 // REMIND: This cache just grows forever. We should put in a bounded 164 // cache, or maybe something using WeakRef's. 286 /* check the cache again, it might contain an entry */ 294 * Return the AuthenticationInfo object from the cache if it's path is 299 return (AuthenticationInfo)cache.get (key, null); 301 return (AuthenticationInfo)cache.get (key, url.getPath()); 312 AuthenticationInfo result = (AuthenticationInfo) cache.get(key, null); 328 AuthenticationInfo cached = (AuthenticationInfo) cache.get(key, null); 330 /* check the cache again, it might contain an entry * [all...] |