| /libcore/ojluni/src/main/java/sun/nio/ch/ |
| Util.java | 51 // Per-thread cache of temporary direct buffers 62 * A simple cache of direct buffers. 68 // the number of buffers in the cache 83 * Removes and returns a buffer from the cache of at least the given 88 return null; // cache is empty 163 BufferCache cache = bufferCache.get(); local 164 ByteBuffer buf = cache.get(size); 168 // No suitable buffer in the cache so we need to allocate a new 169 // one. To avoid the cache growing then we remove the first 170 // buffer from the cache and free it 193 BufferCache cache = bufferCache.get(); local 208 BufferCache cache = bufferCache.get(); local [all...] |
| /libcore/ojluni/src/main/java/sun/security/provider/ |
| X509Factory.java | 37 import sun.security.util.Cache; 67 private static final Cache certCache = Cache.newSoftMemoryCache(750); 68 private static final Cache crlCache = Cache.newSoftMemoryCache(750); 132 * in the cert cache, the cached object is returned. Otherwise, 134 * Then the X509CertImpl is added to the cache and returned. 199 * Get the X509CertImpl or X509CRLImpl from the cache. 201 private static synchronized Object getFromCache(Cache cache, [all...] |
| /packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
| ConferenceParticipantListAdapter.java | 136 * Called when contact photo has been loaded into the cache. 311 * photo loaded from cache are updated. 349 final ContactInfoCache cache = ContactInfoCache.getInstance(mContext); local 351 // If a cache lookup has not yet been performed to retrieve the contact information and 354 cache.findInfo(participantInfo.getCall(), 372 // find calls when contact cache information is loaded. 460 final ContactInfoCache cache = ContactInfoCache.getInstance(mContext); local 468 ContactCacheEntry contactCache = cache.getInfo(callId);
|
| /packages/apps/Dialer/src/com/android/dialer/list/ |
| PhoneFavoriteListView.java | 294 final Bitmap cache = view.getDrawingCache(); local 297 if (cache != null) { 299 bitmap = cache.copy(Bitmap.Config.ARGB_8888, false); 301 Log.w(LOG_TAG, "Failed to copy bitmap from Drawing cache", e);
|
| /packages/apps/Email/src/com/android/email/mail/transport/ |
| SmtpSender.java | 328 final AuthenticationCache cache = AuthenticationCache.getInstance(); local 329 String accessToken = cache.retrieveAccessToken(mContext, mAccount); 333 accessToken = cache.refreshAccessToken(mContext, mAccount);
|
| /packages/apps/Gallery2/src/com/android/gallery3d/data/ |
| MediaObject.java | 57 // These are flags for cache() and return values for getCacheFlag(): 144 public void cache(int flag) { method in class:MediaObject
|
| /packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
| DeepShortcutView.java | 98 IconCache cache = LauncherAppState.getInstance().getIconCache(); local 99 mBubbleText.applyFromShortcutInfo(info, cache);
|
| /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
| ManagePermissionsFragment.java | 143 PmCache cache = new PmCache(getContext().getPackageManager()); local 183 }, cache).refresh(false);
|
| /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
| ManagePermissionsFragment.java | 139 PmCache cache = new PmCache(getContext().getPackageManager()); local 179 }, cache).refresh(false);
|
| /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/ |
| DvrStorageManager.java | 17 package com.android.usbtuner.exoplayer.cache;
|
| /toolchain/binutils/binutils-2.25/bfd/ |
| elf32-mep.c | 199 bfd_vma * cache, 204 if (*cache || *warn) 205 return *cache; 213 *cache = (h->u.def.value 216 return *cache; 222 static bfd_vma cache = 0; 223 return mep_lookup_global ("__tpbase", ofs, &cache, &warn_tp); 229 static bfd_vma cache = 0; 230 return mep_lookup_global ("__sdabase", ofs, &cache, &warn_sda); 219 static bfd_vma cache = 0; local 226 static bfd_vma cache = 0; local
|
| /external/jetty/src/java/org/eclipse/jetty/servlet/ |
| ServletHandler.java | 671 final Map<String,FilterChain> cache=_chainCache[dispatch]; local 675 while (_maxFilterChainsCacheSize>0 && cache.size()>=_maxFilterChainsCacheSize) 677 // The LRU list is not atomic with the cache map, so be prepared to invalidate if 683 cache.clear(); 686 cache.remove(k); 689 cache.put(key,chain); [all...] |
| /external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
| UrlConnectionCacheTest.java | 88 private Cache cache; field in class:UrlConnectionCacheTest 93 cache = new Cache(new File("/cache/"), Integer.MAX_VALUE, fileSystem); 94 client.client().setCache(cache); 104 assertSame(cache, client.client().getCache()); 125 assertCached(false, 206); //Electing to not cache partial responses 188 Response cached = cache.get(new Request.Builder().url(url).build()); 222 // Make sure that calling skip() doesn't omit bytes from the cache [all...] |
| /packages/apps/Calendar/src/com/android/calendar/event/ |
| EditEventFragment.java | 350 EventColorCache cache = new EventColorCache(); local 360 cache.insertColor(accountName, accountType, 363 cache.sortPalettes(new HsvColorComparator()); 365 mModel.mEventColorCache = cache; [all...] |
| /bionic/libc/bionic/ |
| libc_logging.cpp | 488 struct cache { struct 494 static void refresh_cache(struct cache *cache, const char *key) 496 if (!cache->pinfo) { 497 cache->pinfo = __system_property_find(key); 498 if (!cache->pinfo) { 502 uint32_t serial = __system_property_serial(cache->pinfo); 503 if (serial == cache->serial) { 506 cache->serial = serial; 509 __system_property_read(cache->pinfo, 0, buf) [all...] |
| /external/ImageMagick/MagickCore/ |
| log.c | 265 *cache; 276 cache=NewLinkedList(0); 277 if (cache == (LinkedListInfo *) NULL) 292 status&=LoadLogCache(cache,(const char *) GetStringInfoDatum(option), 326 status&=AppendValueToLinkedList(cache,log_info); 331 return(cache); 259 *cache; local [all...] |
| type.c | 202 *cache; 204 cache=NewSplayTree(CompareSplayTreeString,(void *(*)(void *)) NULL, 206 if (cache == (SplayTreeInfo *) NULL) 227 status&=LoadTypeCache(cache,(const char *) 246 status&=LoadTypeCache(cache,option,path,0,exception); 253 if (GetNumberOfNodesInSplayTree(cache) == 0) 254 status&=LoadTypeCache(cache,TypeMap,"built-in",0,exception); 255 return(cache); 196 *cache; local [all...] |
| /external/compiler-rt/lib/sanitizer_common/ |
| sanitizer_mac.cc | 390 atomic_uint32_t *cache = local 393 static_cast<MacosVersion>(atomic_load(cache, memory_order_acquire)); 396 atomic_store(cache, result, memory_order_release);
|
| /external/dnsmasq/src/ |
| cache.c | 199 /* insert a new cache entry at the head of the list (youngest entry) */ 211 /* remove an arbitrary cache entry for promotion */ 240 if (crecp->addr.cname.cache && crecp->addr.cname.uid == crecp->addr.cname.cache->uid) 263 entries in the whole cache. 264 If (flags == 0) remove any expired entries in the whole cache. 267 name exists in the cache as a HOSTS or DHCP entry (these are never deleted) 369 /* CONFIG bit means something else when stored in cache entries */ 385 /* Now get a cache entry from the end of the LRU list */ 387 if (!(new = cache_tail)) /* no entries left - cache is too small, bail * 823 struct crec *cache; local 870 struct crec *cache, **up, *tmp; local 1020 struct crec *cache, **up; local 1160 struct crec *cache ; local [all...] |
| /external/icu/icu4c/source/common/ |
| serv.cpp | 201 // Record the actual id for this service in the cache, so we can return it 279 Hashtable cache; member in class:DNCache 283 : cache(), locale(_locale) 285 // cache.setKeyDeleter(uprv_deleteUObject); 442 // otherwise we might update the cache with an invalid result. 443 // The cache has to stay in synch with the factory list. 495 // first test of cache failed, so we'll have to update 496 // the cache if we eventually succeed-- that is, if we're 497 // going to update the cache at all. 520 // prepare to load the cache with all additional ids that [all...] |
| /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/ |
| Collision.java | 62 private final SimplexCache cache = new SimplexCache(); field in class:Collision 82 cache.count = 0; 84 pool.getDistance().distance(output, cache, input); [all...] |
| TimeOfImpact.java | 83 private final SimplexCache cache = new SimplexCache(); field in class:TimeOfImpact 141 cache.count = 0; 157 pool.getDistance().distance(distanceOutput, cache, distanceInput); 180 fcn.initialize(cache, proxyA, sweepA, proxyB, sweepB, t1); 334 public float initialize(final SimplexCache cache, final DistanceProxy proxyA, final Sweep sweepA, 338 int count = cache.count; 348 // "cache: "+cache.count+"-"+cache.metric+"-"+cache.indexA+"-"+cache.indexB+"\n [all...] |
| /external/libnl/lib/route/ |
| route_obj.c | 35 #include <netlink/cache.h> 129 int cache = 0, flags; local 135 cache = 1; 139 if (cache) 140 nl_dump(p, "cache "); 148 if (r->ce_mask & ROUTE_ATTR_TABLE && !cache)
|
| /external/mesa3d/src/mesa/state_tracker/ |
| st_cb_bitmap.c | 76 * The bitmap cache attempts to accumulate multiple glBitmap calls in a 560 struct bitmap_cache *cache = st->bitmap.cache; local 562 /*memset(cache->buffer, 0xff, sizeof(cache->buffer));*/ 563 cache->empty = GL_TRUE; 565 cache->xmin = 1000000; 566 cache->xmax = -1000000; 567 cache->ymin = 1000000; 568 cache->ymax = -1000000 613 struct bitmap_cache *cache = st->bitmap.cache; local 639 struct bitmap_cache *cache = st->bitmap.cache; local 696 struct bitmap_cache *cache = st->bitmap.cache; local 869 struct bitmap_cache *cache = st->bitmap.cache; local [all...] |
| st_context.h | 142 struct gl_program_cache *cache; member in struct:st_context::__anon19818 159 struct bitmap_cache *cache; member in struct:st_context::__anon19819
|