| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| CompactDecimalDataCache.java | 21 * A cache containing data by locale for {@link CompactDecimalFormat} 43 private final ICUCache<ULocale, DataBundle> cache = field in class:CompactDecimalDataCache 115 DataBundle result = cache.get(locale); 118 cache.put(locale, result);
|
| /external/icu/android_icu4j/src/main/java/android/icu/util/ |
| HebrewCalendar.java | 257 private static CalendarCache cache = new CalendarCache(); field in class:HebrewCalendar 582 long day = cache.get(year); 610 cache.put(year, day); [all...] |
| IslamicCalendar.java | 679 private static CalendarCache cache = new CalendarCache(); field in class:IslamicCalendar [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| CompactDecimalDataCache.java | 20 * A cache containing data by locale for {@link CompactDecimalFormat} 42 private final ICUCache<ULocale, DataBundle> cache = field in class:CompactDecimalDataCache 114 DataBundle result = cache.get(locale); 117 cache.put(locale, result);
|
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
| HebrewCalendar.java | 270 private static CalendarCache cache = new CalendarCache(); field in class:HebrewCalendar 606 long day = cache.get(year); 634 cache.put(year, day); [all...] |
| IslamicCalendar.java | 701 private static CalendarCache cache = new CalendarCache(); field in class:IslamicCalendar [all...] |
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
| DiskLruCacheTest.java | 62 private DiskLruCache cache; field in class:DiskLruCacheTest 70 cache = new DiskLruCache(fileSystem, cacheDir, appVersion, 2, maxSize, executor); 71 synchronized (cache) { 72 cache.initialize(); 74 toClose.add(cache); 91 cache.close(); 99 cache.edit(key); 106 cache.edit(key); 113 cache.edit(key); 120 cache.edit(key) [all...] |
| /external/guava/guava-tests/test/com/google/common/cache/ |
| CacheLoadingTest.java | 15 package com.google.common.cache; 17 import static com.google.common.cache.TestingCacheLoaders.bulkLoader; 18 import static com.google.common.cache.TestingCacheLoaders.constantLoader; 19 import static com.google.common.cache.TestingCacheLoaders.errorLoader; 20 import static com.google.common.cache.TestingCacheLoaders.exceptionLoader; 21 import static com.google.common.cache.TestingCacheLoaders.identityLoader; 22 import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener; 28 import com.google.common.cache.CacheLoader.InvalidCacheLoadException; 29 import com.google.common.cache.TestingCacheLoaders.CountingLoader; 30 import com.google.common.cache.TestingCacheLoaders.IdentityLoader 103 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 177 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 224 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 284 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 329 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 377 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 439 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); local 474 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); local 512 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); local 550 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); local 584 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); local 595 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 667 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 712 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 758 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 804 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 825 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 859 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 944 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 990 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 1037 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1085 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1110 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 1178 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 1266 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 1312 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 1359 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1407 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1432 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1458 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 1538 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 1584 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); local 1631 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1679 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1715 LoadingCache<Integer, String> cache = CacheBuilder.newBuilder() local 1740 LoadingCache<Object, Object> cache = local 1778 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1802 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 1944 LoadingCache<String, Object> cache = builder.build( local 1973 LoadingCache<String, String> cache = builder.build( local 2011 LoadingCache<String, String> cache = builder.build( local 2052 LoadingCache<String, String> cache = builder.build( local 2159 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() local 2218 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() local 2275 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() local 2352 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() local 2442 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() local [all...] |
| CacheBuilderTest.java | 17 package com.google.common.cache; 19 import static com.google.common.cache.TestingCacheLoaders.constantLoader; 20 import static com.google.common.cache.TestingCacheLoaders.identityLoader; 21 import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener; 22 import static com.google.common.cache.TestingRemovalListeners.nullRemovalListener; 23 import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener; 24 import static com.google.common.cache.TestingWeighers.constantWeigher; 31 import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener; 32 import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener; 58 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder( local 85 LoadingCache<?, ?> cache = CacheBuilder.newBuilder() local 99 LoadingCache<?, ?> cache = CacheBuilder.newBuilder() local 137 LoadingCache<?, ?> cache = CacheBuilder.newBuilder() local 399 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() local 456 final LoadingCache <String, String> cache = CacheBuilder.newBuilder() local 557 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() local 607 LoadingCache<?, ?> cache = CacheBuilder.newBuilder().build(identityLoader()); local [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
| BitmapFont.java | 62 private final BitmapFontCache cache; field in class:BitmapFont 172 cache = newFontCache(); 189 cache.clear(); 190 GlyphLayout layout = cache.addText(str, x, y); 191 cache.draw(batch); 198 cache.clear(); 199 GlyphLayout layout = cache.addText(str, x, y, targetWidth, halign, wrap); 200 cache.draw(batch); 208 cache.clear(); 209 GlyphLayout layout = cache.addText(str, x, y, start, end, targetWidth, halign, wrap) [all...] |
| /frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
| AppCompatDrawableManager.java | 216 LongSparseArray<WeakReference<ConstantState>> cache = mDrawableCaches.get(context); local 217 if (cache != null) { 218 // Crude, but we'll just clear the cache when the configuration changes 219 cache.clear(); 253 // If we reached here then we created a new drawable, add it to the cache 321 // Create an id cache as we'll need one later 359 // Add the tag name to the cache 369 // Add it to the drawable cache 372 Log.i(TAG, "[loadDrawableFromDelegates] Saved drawable to cache: " + 393 final LongSparseArray<WeakReference<ConstantState>> cache local 419 LongSparseArray<WeakReference<ConstantState>> cache = mDrawableCaches.get(context); local [all...] |
| /external/apache-xml/src/main/java/org/apache/xpath/axes/ |
| NodeSequence.java | 53 * A cache of a list of nodes obtained from the iterator so far. 55 * the cache is complete. 57 * Multiple NodeSequence objects may share the same cache. 62 * If this iterator needs to cache nodes that are fetched, they 71 * Get the cache (if any) of nodes obtained from 72 * the iterator so far. Note that the cache keeps 74 * at which point the cache is "complete". 90 * If the iterator needs to cache nodes as they are fetched, 100 * If this NodeSequence has a cache, and that cache is 589 IteratorCache cache = getCache(); local 792 IteratorCache cache = (IteratorCache) obj; local [all...] |
| /external/guice/core/test/com/google/inject/ |
| CircularDependencyTest.java | 517 * typically cache the results without checking to see if the result is a 544 // At this point, if the first Key<Impl> result was cached, our cache would have 581 private static Map<Key, Object> cache = Maps.newHashMap(); field in class:CircularDependencyTest.BasicSingleton 586 if (!cache.containsKey(key)) { 591 cache.put(key, t); 593 return (T)cache.get(key);
|
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| ICUService.java | 62 * use. The Key can cache the results of this parsing to save 137 * descriptor to use in querying the cache and factories, and 188 * identify an instance of the service in the cache. A 373 * <p>This queries the cache using the key's descriptor, and if no 374 * object in the cache matches it, tries the key on each 400 // otherwise we might update the cache with an invalid result. 401 // The cache has to stay in synch with the factory list. 404 Map<String, CacheEntry> cache = null; local 408 cache = cref.get(); 410 if (cache == null) [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| ICUService.java | 61 * use. The Key can cache the results of this parsing to save 135 * descriptor to use in querying the cache and factories, and 186 * identify an instance of the service in the cache. A 371 * <p>This queries the cache using the key's descriptor, and if no 372 * object in the cache matches it, tries the key on each 398 // otherwise we might update the cache with an invalid result. 399 // The cache has to stay in synch with the factory list. 402 Map<String, CacheEntry> cache = null; local 406 cache = cref.get(); 408 if (cache == null) [all...] |
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
| CallTest.java | 97 private Cache cache = new Cache(new File("/cache/"), Integer.MAX_VALUE, fileSystem); field in class:CallTest 105 cache.delete(); [all...] |
| /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/ |
| SampleCache.java | 17 package com.android.usbtuner.exoplayer.cache; 61 SampleCache cache = local 64 prev.setNext(cache); 66 return cache; 155 Log.d(TAG, "Ignore access to a deleted cache."); 214 // If cache has enough samples, try again few moments later hoping that mCacheState 235 // Cache can be deleted by installd service.
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
| XmlPropertyEditor.java | 210 Map<String, Image> cache = getImageCache(property); local 211 swtImage = cache.get(value); 221 cache.put(value, swtImage); 232 Map<String, Image> cache = getImageCache(property); local 233 swtImage = cache.get(value); 265 cache.put(value, swtImage); 536 Map<String, Image> cache = (Map<String, Image>) project.getSessionProperty(CACHE_NAME); local 537 if (cache == null) { 538 cache = Maps.newHashMap(); 539 project.setSessionProperty(CACHE_NAME, cache); [all...] |
| /art/compiler/dex/quick/ |
| dex_file_method_inliner.cc | 820 IndexCache cache; local [all...] |
| /dalvik/dx/tests/098-dex-jsr-ret-throw/ |
| ViewDebug$ViewServer.class | |
| /dalvik/libdex/ |
| DexProto.cpp | 28 * String Cache 33 * Make sure that the given cache can hold a string of the given length, 77 * make a copy of it into the cache. This always returns a writable 94 * given value (reusing the string cache's allocation if possible). 169 DexStringCache cache; local 171 dexStringCacheInit(&cache); 172 return dexStringCacheAbandon(&cache, 173 dexProtoGetMethodDescriptor(pProto, &cache));
|
| /development/tools/idegen/src/com/android/idegen/ |
| IntellijProject.java | 45 ModuleCache cache = ModuleCache.getInstance(); field in class:IntellijProject 62 cache.init(indexFile); 73 // First pass, find all dependencies and cache them. 80 Module module = cache.getAndCacheByDir(dir); 89 Iterable<Module> modules = cache.getModules(); 101 createModulesFile(ideaDir, cache.getModules()); 102 createVcsFile(ideaDir, cache.getModules()); 113 cache.put(frameworkModule);
|
| /external/ImageMagick/MagickCore/ |
| configure.c | 160 *cache; 171 cache=NewLinkedList(0); 172 if (cache == (LinkedListInfo *) NULL) 187 status&=LoadConfigureCache(cache,(const char *) 220 status&=AppendValueToLinkedList(cache,configure_info); 226 return(cache); 154 *cache; local [all...] |
| magic.c | 271 *cache; 282 cache=NewLinkedList(0); 283 if (cache == (LinkedListInfo *) NULL) 303 status&=LoadMagicCache(cache,(const char *) 338 status&=InsertValueInSortedLinkedList(cache,CompareMagickInfoSize, 344 return(cache); 830 % MagickBooleanType LoadMagicCache(LinkedListInfo *cache,const char *xml, 844 static MagickBooleanType LoadMagicCache(LinkedListInfo *cache,const char *xml, 265 *cache; local [all...] |
| mime.c | 167 *cache; 172 cache=NewLinkedList(0); 173 if (cache == (LinkedListInfo *) NULL) 188 status&=LoadMimeCache(cache,(const char *) 195 if (IsLinkedListEmpty(cache) != MagickFalse) 196 status&=LoadMimeCache(cache,MimeMap,"built-in",0,exception); 197 return(cache); 792 % MagickBooleanType LoadMimeCache(LinkedListInfo *cache,const char *xml, 806 static MagickBooleanType LoadMimeCache(LinkedListInfo *cache,const char *xml, 863 status&=LoadMimeCache(cache,file_xml,path,depth+1,exception) 161 *cache; local [all...] |