/external/webkit/LayoutTests/http/tests/appcache/ |
navigating-away-while-cache-attempt-in-progress.html | 1 <html manifest="resources/navigating-away-while-cache-attempt-in-progress.manifest"> 19 <div>This tests that navigating away while a cache is loading does not crash.</div>
|
manifest-redirect-2.html | 19 log("FAIL: An event was dispatched on window.applicationCache, even though it was not associated wuth any cache yet."); 24 // Wait for cache update to finish. 26 log("FAILURE: Unexpected cache status: " + window.applicationCache.status);
|
manifest-redirect.html | 19 log("FAIL: An event was dispatched on window.applicationCache, even though it was not associated wuth any cache yet."); 24 // Wait for cache update to finish. 26 log("FAILURE: Unexpected cache status: " + window.applicationCache.status);
|
wrong-content-type.html | 19 log("FAIL: An event was dispatched on window.applicationCache, even though it was not associated wuth any cache yet."); 24 // Wait for cache update to finish. 26 log("FAILURE: Unexpected cache status: " + window.applicationCache.status);
|
wrong-signature-2.html | 19 log("FAIL: An event was dispatched on window.applicationCache, even though it was not associated wuth any cache yet."); 24 // Wait for cache update to finish. 26 log("FAILURE: Unexpected cache status: " + window.applicationCache.status);
|
wrong-signature.html | 19 log("FAIL: An event was dispatched on window.applicationCache, even though it was not associated wuth any cache yet."); 24 // Wait for cache update to finish. 26 log("FAILURE: Unexpected cache status: " + window.applicationCache.status);
|
/external/webkit/WebCore/loader/ |
Cache.h | 22 pages from the web. It has a memory cache for these objects. 45 // This cache holds subresources used by Web pages: images, scripts, stylesheets, etc. 47 // The cache keeps a flexible but bounded window of dead resources that grows/shrinks 48 // depending on the live resource load. Here's an example of cache growth over time, 53 // --|----------| Cache boundary: | (objects outside this mark have been evicted) 58 class Cache : public Noncopyable { 60 friend Cache* cache(); 97 // Request resources from the cache. A load will be initiated and a cache object created if the object is no [all...] |
/external/webkit/WebCore/manual-tests/ |
bad-clearTimeout-crash.html | 1 If the back/forward cache is enabled, this test will crash instead of going to the next page that says PASS. 3 It cannot be automated because DumpRenderTree doesn't support the back/forward cache.
|
/external/webkit/WebCore/loader/appcache/ |
ApplicationCacheStorage.cpp | 111 LOG_ERROR("Could not load cache group, error \"%s\"", m_database.lastErrorMsg()); 117 RefPtr<ApplicationCache> cache = loadCache(newestCacheStorageID); local 118 if (!cache) 124 group->setNewestCache(cache.release()); 189 // Check if a cache already exists in memory. 199 if (ApplicationCache* cache = group->newestCache()) { 200 ApplicationCacheResource* resource = cache->resourceForURL(url); 212 // Check the database. Look for all cache groups with a newest cache. 227 // We found a cache group that matches. Now check if the newest cache has a resource wit 230 RefPtr<ApplicationCache> cache = loadCache(newestCacheID); local 299 RefPtr<ApplicationCache> cache = loadCache(newestCacheID); local 834 RefPtr<ApplicationCache> cache = ApplicationCache::create(); local 972 ApplicationCache* cache = cacheHost->applicationCache(); local [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewWorker.java | 44 * Package level class to be used while creating a cache entry. 56 * Package level class to be used while saving a cache entry. 65 * Package level class to be used while updating a cache entry's encoding. 73 * Package level class to be used while appending data to a cache entry. 129 CacheManager.CacheResult cache = CacheManager.createCacheFile( local 132 if (cache != null) { 133 mCacheResultMap.put(data.mListener, cache); 141 CacheManager.CacheResult cache = mCacheResultMap local 143 if (cache != null) { 144 cache.encoding = data.mEncoding 150 CacheManager.CacheResult cache = mCacheResultMap local 172 CacheManager.CacheResult cache = mCacheResultMap local 182 CacheManager.CacheResult cache = mCacheResultMap.get(listener); local [all...] |
/frameworks/base/core/java/android/net/ |
SSLSessionCache.java | 29 * File-based cache of established SSL sessions. When re-establishing a 30 * connection to the same server, using an SSL session cache can save some time, 32 * This is a persistent cache which can span executions of the application. 41 * Create a session cache using the specified directory. 46 * @throws IOException if the cache can't be opened 53 * Create a session cache at the default location for this app. 60 SSLClientSessionCache cache = null; local 62 cache = FileClientSessionCache.usingDirectory(dir); 64 Log.w(TAG, "Unable to create SSL session cache in " + dir, e); 66 mSessionCache = cache; [all...] |
/external/freetype/include/freetype/ |
ftcache.h | 5 /* FreeType Cache subsystem (specification). */ 36 * Cache Sub-System 39 * How to cache face, size, and glyph data with FreeType~2. 42 * This section describes the FreeType~2 cache sub-system, which is used 49 * The cache is highly portable and thus doesn't know anything about the 54 * @FTC_FaceID values, provided to the cache by the client. Note that 55 * the cache only stores and compares these values, and doesn't try to 58 * Second, the cache calls, only when needed, a client-provided function 60 * then completely managed by the cache, including its termination 68 * Note that for the cache to work correctly, the face ID values must b [all...] |
/external/skia/src/core/ |
SkGlyphCache.cpp | 42 SkDebugf("Font Cache Hash success rate: %d%%\n", 465 SkGlyphCache* cache; local 469 for (cache = globals.fHead; cache != NULL; cache = cache->fNext) { 470 if (proc(cache, context)) { 482 - call a fontscaler (which might call into the cache) 491 SkGlyphCache* cache; local 499 cache = hash[index] 635 SkGlyphCache* cache = FindTail(globals->fHead); local [all...] |
/external/skia/src/gl/ |
SkGLCanvas.cpp | 20 // maximum number of entries in our texture cache (before purging) 22 // maximum number of bytes used (by gl) for the texture cache (before purging) 111 void SkGLDevice::UnlockTexCache(TexCache* cache) { 113 gTextureCache.unlock((SkTextureCache::Entry*)cache); 116 // public exposure of texture cache settings 142 static bool deleteCachesProc(SkGlyphCache* cache, void* texturesAreValid) { 144 if (cache->getAuxProcData(SkGLDevice::GlyphCacheAuxProc, &auxData)) { 149 // now free the memory for the cache itself 152 cache->removeAuxProc(SkGLDevice::GlyphCacheAuxProc); 158 // free the textures in our cache [all...] |
/bionic/libc/private/ |
resolv_cache.h | 33 /* get cache instance, can be NULL if cache is disabled 38 * and will flush the cache */ 42 RESOLV_CACHE_UNSUPPORTED, /* the cache can't handle that kind of queries */ 44 RESOLV_CACHE_NOTFOUND, /* the cache doesn't know about this query */ 45 RESOLV_CACHE_FOUND /* the cache found the answer */ 49 _resolv_cache_lookup( struct resolv_cache* cache, 56 /* add a (query,answer) to the cache, only call if _resolv_cache_lookup 60 _resolv_cache_add( struct resolv_cache* cache,
|
/external/skia/include/core/ |
SkGraphics.h | 27 /** Return the (approximate) number of bytes used by the font cache. 31 /** Attempt to purge the font cache until <= the specified amount remains 32 in the cache. Specifying 0 will attempt to purge the entire cache. 33 Returns true if some amount was purged from the font cache.
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
QuickContactsDemo.java | 77 final ContactListItemCache cache = (ContactListItemCache) view.getTag(); local 78 TextView nameView = cache.nameView; 79 QuickContactBadge photoView = cache.photoView; 81 cursor.copyStringToBuffer(SUMMARY_NAME_COLUMN_INDEX, cache.nameBuffer); 82 int size = cache.nameBuffer.sizeCopied; 83 cache.nameView.setText(cache.nameBuffer.data, 0, size); 86 cache.photoView.assignContactUri(Contacts.getLookupUri(contactId, lookupKey)); 92 ContactListItemCache cache = new ContactListItemCache(); local 93 cache.nameView = (TextView) view.findViewById(R.id.name) [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
CacheRequest.java | 26 * data into the cache. It also allows the user to interrupt and abort the 28 * IOException} occurs while reading the response or writing data to the cache, 29 * the current cache store operation is abandoned. 43 * Aborts the current cache operation. If an {@code IOException} occurs 44 * while reading the response or writing resource data to the cache, the 45 * current cache store operation is aborted.
|
/external/bluetooth/bluez/plugins/ |
netlink.c | 43 static struct nl_cache *cache; variable in typeref:struct:nl_cache 91 cache = genl_ctrl_alloc_cache(handle); 92 if (!cache) { 93 error("Failed to allocate generic netlink cache"); 98 family = genl_ctrl_search_by_name(cache, "bluetooth"); 101 nl_cache_free(cache); 109 nl_cache_free(cache); 122 nl_cache_free(cache);
|
/external/e2fsprogs/e2fsck/ |
jfs_user.h | 55 #define kmem_cache_alloc(cache,flags) malloc((cache)->object_length) 56 #define kmem_cache_free(cache,obj) free(obj) 58 #define kmem_cache_destroy(cache) do_cache_destroy(cache) 67 extern void do_cache_destroy(kmem_cache_t *cache); 89 _INLINE_ void do_cache_destroy(kmem_cache_t *cache) 91 free(cache);
|
/external/e2fsprogs/lib/blkid/ |
devname.c | 46 * Find a dev struct in the cache by device name, if available. 51 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) 56 if (!cache || !devname) 59 list_for_each(p, &cache->bic_devs) { 65 printf("found devname %s in cache\n", tmp->bid_name)); 76 dev->bid_cache = cache; 77 list_add_tail(&dev->bid_devs, &cache->bic_devs); 78 cache->bic_flags |= BLKID_BIC_FL_CHANGED; 82 dev = blkid_verify(cache, dev); 91 * Probe a single block device to add to the device cache 586 blkid_cache cache = NULL; local [all...] |
read.c | 2 * read.c - read the blkid cache from disk, to avoid scanning all devices 131 * Start parsing a new line from the cache. 183 static int parse_dev(blkid_cache cache, blkid_dev *dev, char **cp) 227 if (!(*dev = blkid_get_dev(cache, name, BLKID_DEV_CREATE))) { 303 static int parse_tag(blkid_cache cache, blkid_dev dev, char **cp) 309 if (!cache || !dev) 334 * Add the new device to the cache struct, if one was read. 343 static int blkid_parse_line(blkid_cache cache, blkid_dev *dev_p, char *cp) 348 if (!cache || !dev_p) 355 if ((ret = parse_dev(cache, dev_p, &cp)) <= 0 476 blkid_cache cache = NULL; local [all...] |
/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...] |
/frameworks/base/core/java/android/net/http/ |
CertificateValidatorCache.java | 34 * Validator cache used to speed-up certificate chain validation. The idea is 50 * The cache-entry lifetime in milliseconds (here, 10 minutes) 60 * The certificate validator cache map (domain to a cache entry) 120 * Creates a new certificate-validator cache 132 * @return True iff there is a valid (not expired) cache entry 161 * Adds the (domain, secureHash) tuple to the cache 162 * @param domain The domain to be added to the cache 163 * @param secureHash The secure hash to be added to the cache 181 * Certificate-validator cache entry. We have one per domai [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
MediaItemTexture.java | 32 import com.cooliris.cache.CacheService; 60 DiskCache cache = null; local 63 cache = parentMediaSet.mDataSource.getThumbnailCache(); 64 if (cache == LocalDataSource.sThumbnailCache) { 66 cache = LocalDataSource.sThumbnailCacheVideo; 70 if (cache == null) { 73 synchronized (cache) { 75 return cache.isDataAvailable(id, item.mDateModifiedInSec * 1000); 101 // Special case for non-MediaStore content URIs, do not cache the 117 // Look up the thumbnail in the disk cache 125 DiskCache cache = null; local [all...] |