/external/webkit/LayoutTests/http/tests/appcache/ |
non-html.xhtml | 5 <p>Test that non-HTML main resources work with application cache correctly.</p> 43 // Load a resource that does not exist in the cache. 46 req.open("GET", "/resources/network-simulator.php?path=/appcache/resources/not-in-cache.txt", false); 58 // Load a resource that exists in the cache. 64 document.getElementById('result').innerHTML = "FAILURE: Could not load data from cache"
|
xhr-foreign-resource.html | 30 // A copy that doesn't have its main resource in cache manifest. 58 // The subframe has a different cache, but it is also listed as a resource in main frame's 69 log("FAIL: subframe didn't get a correct cache");
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ZeroSizedTest.java | 28 * Builds the drawing cache of Views of various dimension. The assumption is that 30 * drawing cache. 90 final Bitmap[] cache = new Bitmap[1]; local 96 cache[0] = view.getDrawingCache(); 100 return cache[0];
|
/external/webkit/WebKit/win/Interfaces/ |
IWebIconDatabase.idl | 38 - memory cache icons at different sizes 43 - WebIconLoader to cache icon images 73 @discussion Calls iconForURL:withSize:cache: with YES for cache. 79 @method iconForURL:withSize:cache: 85 @param cache If yes, caches the returned image in memory if not already cached 86 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size cache:(BOOL)cache; 89 @method iconURLForURL:withSize:cache: 94 HRESULT iconForURL([in] BSTR url, [in] LPSIZE size, [in] BOOL cache, [out, retval] OLE_HANDLE* hBitmap) [all...] |
/external/v8/src/ |
apinatives.js | 65 var cache = kApiFunctionCache; 68 (serialNumber in cache) && (cache[serialNumber] != kUninitialized); 71 cache[serialNumber] = null; 74 cache[serialNumber] = fun; 85 cache[serialNumber] = kUninitialized; 89 return cache[serialNumber];
|
/frameworks/base/core/java/com/android/internal/util/ |
ArrayUtils.java | 108 Object cache = sCache[bucket]; local 110 if (cache == null || cache.getClass().getComponentType() != kind) { 111 cache = Array.newInstance(kind, 0); 112 sCache[bucket] = cache; 114 // Log.e("cache", "new empty " + kind.getName() + " at " + bucket); 117 return (T[]) cache;
|
/external/webkit/WebCore/loader/ |
Cache.cpp | 24 #include "Cache.h" 51 Cache* cache() function in namespace:WebCore 53 static Cache* staticCache = new Cache; 57 Cache::Cache() 96 CachedResource* Cache::requestResource(DocLoader* docLoader, CachedResource::Type type, const KURL& url, const String& charset, bool requestIsPreload) 99 // Would it be better to just go on with the cache code and let it fail later? 121 // Pretend the resource is in the cache, to prevent it from being deleted during the load() call [all...] |
/packages/apps/Mms/src/com/android/mms/data/ |
Conversation.java | 118 Conversation conv = Cache.get(threadId); 124 Cache.put(conv); 126 LogTag.error("Tried to add duplicate Conversation to Cache"); 141 Conversation conv = Cache.get(recipients); 155 Cache.put(conv); 157 LogTag.error("Tried to add duplicate Conversation to Cache"); 220 * were not in cache. 223 // First look in the cache for the Conversation and return that one. That way, all the 228 Conversation conv = Cache.get(threadId); 236 Cache.put(conv) [all...] |
/external/icu4c/common/ |
locutil.cpp | 194 Hashtable* cache; local 196 cache = LocaleUtility_cache; 199 if (cache == NULL) { 200 cache = new Hashtable(status); 201 if (cache == NULL || U_FAILURE(status)) { 204 cache->setValueDeleter(uhash_deleteHashtable); 209 LocaleUtility_cache = h = cache; 210 cache = NULL; 214 if(cache != NULL) { 215 delete cache; [all...] |
/bootable/recovery/applypatch/ |
applypatch.sh | 17 CACHE_TEMP_SOURCE=/cache/saved.file 19 # Put all binaries and files here. We use /cache because it's a 88 run_command rm /cache/bloat*.dat 133 testname "check mode cache (corrupted) single" 136 testname "check mode cache (corrupted) multiple" 139 testname "check mode cache (corrupted) failure" 145 testname "check mode cache (missing) single" 148 testname "check mode cache (missing) multiple" 151 testname "check mode cache (missing) failure" 230 # put some junk in the cache copy, to [all...] |
/external/kernel-headers/original/asm-arm/ |
cacheflush.h | 22 * Cache Model 90 #error Unknown cache maintainence model 100 * MM Cache Management 103 * The arch/arm/mm/cache-*.S and arch/arm/mm/proc-*.S files 111 * effects are cache-type (VIVT/VIPT/PIPT) specific. 115 * Unconditionally clean and invalidate the entire cache. 119 * Clean and invalidate all user space cache entries 124 * Clean and invalidate a range of cache entries in the 138 * DMA Cache Coherency 145 * are not cache line aligned, those lines must be writte [all...] |
/external/bluetooth/glib/docs/reference/glib/ |
cross.sgml | 34 to be provided to the configure script via a "cache file" 35 or by setting the cache variables in your environment. 38 As an example of using a cache file, to cross compile for 40 create a file 'win32.cache' with the following contents: 51 chmod a-w win32.cache # prevent configure from changing it 52 ./configure --cache-file=win32.cache --host=mingw32 55 The complete list of cache file variables follows. Most 59 <refsect1 id="cache-file-variables"> 60 <title>Cache file variables</title [all...] |
/external/bluetooth/bluez/compat/ |
dund.c | 84 } cache; variable in typeref:struct:__anon890 107 if (!cache.valid) 110 if (create_connection(cache.dst, &cache.bdaddr, type) < 0) { 224 if (use_cache && cache.valid && cache.channel) { 226 ch = cache.channel; 284 /* Succesesful connection, validate cache */ 285 strcpy(cache.dst, dst); 286 bacpy(&cache.bdaddr, bdaddr) [all...] |
/external/webkit/WebCore/loader/appcache/ |
ApplicationCacheGroup.cpp | 149 // The main resource was loaded from cache, so the cache must have an entry for it. Mark it as foreign. 237 // Cache update has been a failure, so there is no reason to keep the document associated with the incomplete cache 274 // The manifest didn't change, and we have a relevant cache - but the main resource download failed mid-way, so it cannot be stored to the cache, 275 // and the loader does not get associated to it. If there are other main resources being downloaded for this cache group, they may still succeed. 280 // Cache update failed, too. 289 // The cache manifest didn't list this main resource, and all cache entries were already updated successfully - but the main resource failed to load [all...] |
/frameworks/base/core/java/android/net/ |
SSLCertificateSocketFactory.java | 111 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) { 113 mSessionCache = cache == null ? null : cache.mSessionCache; 130 * and SSL session cache. 134 * @param cache The {@link SSLClientSessionCache} to use, or null for no cache. 137 public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) { 138 return new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, true); 143 * disabled, using an optional handshake timeout and SSL session cache. 150 * @param cache The {@link SSLClientSessionCache} to use, or null for no cache [all...] |
/dalvik/libcore/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
FileClientSessionCacheTest.java | 32 + "/" + FileClientSessionCacheTest.class.getName() + "/cache"); 33 final SSLClientSessionCache cache local 43 cache.putSessionData(new FakeSession(id + "." + i),
|
/external/e2fsprogs/lib/ext2fs/ |
flushb.c | 3 * device to disk and to flush any buffers from disk cache. 40 #define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */ 49 * flush the buffer cache. The latter is basically only useful for
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
ServiceManager.java | 66 * @param cache the cache of service references 69 public static void initServiceCache(Map<String, IBinder> cache) {
|
/bionic/libc/kernel/arch-arm/asm/ |
hardirq.h | 15 #include <linux/cache.h>
|
/bionic/libc/kernel/arch-x86/asm/ |
dma-mapping_32.h | 18 #include <asm/cache.h>
|
/bionic/libc/kernel/common/linux/ |
blockgroup_lock.h | 16 #include <linux/cache.h>
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
PlatformAddressFactory.java | 36 * A mask with all bits set, matching the size of the cache. 42 * up an empty cache slot or a previously stored PlatformAddress. 48 * the cache. 55 private static PlatformAddress[] cache = new PlatformAddress[CACHE_SIZE]; field in class:PlatformAddressFactory 82 PlatformAddress cachedObj = cache[(idx + probe) & CACHE_MASK]; 84 return cache[(idx + probe) & CACHE_MASK] = 92 return cache[(idx + replacementIndex) & CACHE_MASK] = 130 * address.autoFree() (to enable auto-free on gc) the cache 132 * polluting the cache with addresses that aren't likely to be
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
LocaleCache.java | 25 * Manages a locale-specific thread-local cache of expensive locale-specific 31 private static final ThreadLocalCache<LocaleCache> cache = new ThreadLocalCache<LocaleCache>(); field in class:LocaleCache 47 LocaleCache lc = cache.get(); 50 cache.set(lc);
|
/dalvik/vm/hprof/ |
HprofStackFrame.c | 31 /* Cache the string "<unknown>" for use when the source file is 62 DexStringCache cache; local 65 dexStringCacheInit(&cache); 66 descriptor = dexProtoGetMethodDescriptor(&method->prototype, &cache); 68 dexStringCacheRelease(&cache); 224 DexStringCache cache; local 227 dexStringCacheInit(&cache); 228 descriptor = dexProtoGetMethodDescriptor(&method->prototype, &cache); 237 dexStringCacheRelease(&cache);
|
/device/htc/common/updater/ |
bootloader.h | 50 /* Write an update to the cache partition for update-radio or update-hboot. 51 * Note, this destroys any filesystem on the cache partition! 60 /* Look for a log stored in the cache partition in the block after the 66 #define CACHE_NAME "cache"
|