HomeSort by relevance Sort by last modified time
    Searched full:cache (Results 201 - 225 of 6143) sorted by null

1 2 3 4 5 6 7 891011>>

  /packages/apps/Dialer/src/com/android/dialer/util/
ExpirableCache.java 29 * An LRU cache in which all items can be marked as expired at a given time and it is possible to
35 * Consider a cache for contact information:
41 * the cache:
56 * and insert it back into the cache when the fetch completes.
58 * At a certain point we want to expire the content of the cache because we know the content may
68 * The values will be still available from the cache, but they will be expired.
75 * for evicting items when the cache is full. It is possible to supply your own subclass of LruCache
77 * Since the underlying cache maps keys to cached values it can determine which items are expired
89 * A cached value stored inside the cache.
91 * It provides access to the value stored in the cache but also allows to check whether th
    [all...]
  /external/e2fsprogs/lib/blkid/
devname.c 43 * Find a dev struct in the cache by device name, if available.
48 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags)
53 if (!cache || !devname)
56 list_for_each(p, &cache->bic_devs) {
62 printf("found devname %s in cache\n", tmp->bid_name));
75 dev->bid_cache = cache;
76 list_add_tail(&dev->bid_devs, &cache->bic_devs);
77 cache->bic_flags |= BLKID_BIC_FL_CHANGED;
81 dev = blkid_verify(cache, dev);
86 * cache for any entries that match on the type, uuid
538 blkid_cache cache = NULL; local
    [all...]
  /external/guava/guava/src/com/google/common/cache/
LoadingCache.java 17 package com.google.common.cache;
30 * A semi-persistent mapping from keys to values. Values are automatically loaded by the cache,
31 * and are stored in the cache until either evicted or manually invalidated.
38 * <p>When evaluated as a {@link Function}, a cache yields the same result as invoking
46 public interface LoadingCache<K, V> extends Cache<K, V>, Function<K, V> {
49 * Returns the value associated with {@code key} in this cache, first loading that value if
50 * necessary. No observable state associated with this cache is modified until loading completes.
57 * into the cache. Newly loaded values are added to the cache using
58 * {@code Cache.asMap().putIfAbsent} after loading has completed; if another value was associate
    [all...]
  /frameworks/native/opengl/specs/
EGL_ANDROID_blob_cache.txt 45 implementations may cache shader binaries after they are compiled. It may
47 program. The management of the cache is handled by the application (or
51 While the focus of this extension is on providing a persistent cache for
75 * cache.
83 * cache.
116 the cache and associates it with the given key. <get> points to a function
117 that retrieves from the cache the value associated with a given key. The
118 semantics of these callback functions are described in Section 3.9.1 (Cache
121 Cache functions may only be specified once during the lifetime of an
135 3.9.1 Cache Operation
    [all...]
  /external/clang/test/Modules/
objc_redef.m 9 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map
10 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=weird_objc %S/Inputs/module.map
11 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t %s -verify
redecl-namespaces.mm 11 // RUN: %clang_cc1 -fmodules -x objective-c++ -fmodules-cache-path=%t -emit-module -fmodule-name=redecl_namespaces_left %S/Inputs/module.map
12 // RUN: %clang_cc1 -fmodules -x objective-c++ -fmodules-cache-path=%t -emit-module -fmodule-name=redecl_namespaces_right %S/Inputs/module.map
13 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -w %s -verify
redeclarations.m 8 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map
9 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.map
10 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t %s -verify
diamond-pch.c 22 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodules-cache-path=%t -fmodule-name=diamond_top %S/Inputs/module.map
23 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodules-cache-path=%t -fmodule-name=diamond_left %S/Inputs/module.map
24 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodules-cache-path=%t -fmodule-name=diamond_right %S/Inputs/module.map
25 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodules-cache-path=%t -fmodule-name=diamond_bottom %S/Inputs/module.map
26 // RUN: %clang_cc1 -fmodules -x objective-c -emit-pch -fmodules-cache-path=%t -o %t.pch %S/Inputs/diamond.h
27 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -include-pch %t.pch %s -verify
compiler_builtins.m 2 // RUN: %clang -fsyntax-only -fmodules -fmodules-cache-path=%t -D__need_wint_t %s -Xclang -verify
3 // RUN: %clang -fsyntax-only -std=c99 -fmodules -fmodules-cache-path=%t -D__need_wint_t %s -Xclang -verify
  /external/llvm/lib/IR/
LeaksContext.h 33 Cache(0), Name(name) { }
36 Cache = 0;
51 if (Cache) {
52 assert(Cache != o && "Object already in set!");
53 Ts.insert(Cache);
55 Cache = o;
59 if (o == Cache)
60 Cache = 0; // Cache hit
66 addGarbage(0); // Flush the Cache
    [all...]
  /external/smack/src/org/jivesoftware/smackx/entitycaps/cache/
EntityCapsPersistentCache.java 14 package org.jivesoftware.smackx.entitycaps.cache;
22 * Add an DiscoverInfo to the persistent Cache
35 * Empty the Cache
  /external/webkit/LayoutTests/http/tests/appcache/
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);
origin-quota-expected.txt 1 UI DELEGATE APPLICATION CACHE CALLBACK: exceededApplicationCacheOriginQuotaForSecurityOrigin:{http, 127.0.0.1, 8000}
2 This test checks that per-origin application cache quotas are enforced.
4 This test sets the quota for the origin to 20kb, and attempts to fill it up with 2 iframes that are 13kb each. The application cache download process should fail on the 2nd iframe and the UI Delegate should be informed of the exceeded quota. Increasing the size to 40kb. A 3rd iframe is added, which should succeed.
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);
  /system/core/libnl_2/
cache.c 19 #include "netlink/cache.h"
22 void nl_cache_free(struct nl_cache *cache)
27 void nl_cache_clear(struct nl_cache *cache)
  /external/webkit/Source/WebCore/loader/appcache/
ApplicationCacheStorage.cpp 116 LOG_ERROR("Could not load cache group, error \"%s\"", m_database.lastErrorMsg());
122 RefPtr<ApplicationCache> cache = loadCache(newestCacheStorageID); local
123 if (!cache)
129 group->setNewestCache(cache.release());
198 // Check if a cache already exists in memory.
208 if (ApplicationCache* cache = group->newestCache()) {
209 ApplicationCacheResource* resource = cache->resourceForURL(url);
221 // Check the database. Look for all cache groups with a newest cache.
236 // We found a cache group that matches. Now check if the newest cache has a resource wit
239 RefPtr<ApplicationCache> cache = loadCache(newestCacheID); local
310 RefPtr<ApplicationCache> cache = loadCache(newestCacheID); local
1067 RefPtr<ApplicationCache> cache = ApplicationCache::create(); local
1263 ApplicationCache* cache = cacheHost->applicationCache(); local
    [all...]
  /external/chromium/net/disk_cache/
cache_util_posix.cc 15 // For ChromeOS, we don't actually want to rename the cache
19 // filesystem, so we just move each item in the cache to a new
22 LOG(ERROR) << "Unable to create destination cache directory.";
34 LOG(ERROR) << "Unable to move cache item.";
50 LOG(WARNING) << "Unable to delete cache.";
57 LOG(WARNING) << "Unable to delete cache folder.";
  /external/clang/test/Index/
index-pch-with-module.m 14 // RUN: rm -rf %t.cache
15 // RUN: c-index-test -write-pch %t.h.pch %s -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules/Inputs -Xclang -fdisable-module-hash
16 // RUN: c-index-test -index-file %s -include %t.h -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules/Inputs \
30 // CHECK-PCH: [importedASTFile]: {{.*}}.cache{{[/\\]}}DependsOnModule.pcm | loc: 5:2 | name: "DependsOnModule" | isImplicit: 1
  /external/webkit/Source/WebCore/loader/cache/
MemoryCache.h 22 pages from the web. It has a memory cache for these objects.
46 // This cache holds subresources used by Web pages: images, scripts, stylesheets, etc.
48 // The cache keeps a flexible but bounded window of dead resources that grows/shrinks
49 // depending on the live resource load. Here's an example of cache growth over time,
54 // --|----------| Cache boundary: | (objects outside this mark have been evicted)
59 // The behavior of the cache changes in the following way if shouldMakeResourcePurgeableOnEviction
62 // 1. Dead resources in the cache are kept in non-purgeable memory.
66 // By leaving the in-cache dead resources in dirty resident memory, we decrease the likelihood of
119 // Sets the cache's memory capacities, in bytes. These will hold only approximately,
121 // - minDeadBytes: The maximum number of bytes that dead resources should consume when the cache is under pressure
    [all...]
  /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.
42 * Aborts the current cache operation. If an {@code IOException} occurs
43 * while reading the response or writing resource data to the cache, the
44 * current cache store operation is aborted.
  /docs/source.android.com/src/devices/
tuning.jd 50 <td>Defines the size, in megabytes, of the per process texture cache. We
51 recommend using a cache large enough to hold several screens worth of 32-bit textures (for instance, on a 1280x800 display, a full screen buffer uses about 4 MB so the cache should be at least 20 MB.)</td>
58 <td>Defines the size, in megabytes, of the per process layers cache. We recommend
59 using a cache large enough to hold 4 times the screen in 32 bits. For instance,
60 on a 1280x800 display, a full screen buffer uses about 4 MB, so the cache should be at least 16 MB.</td>
66 <td>Defines the size, in megabytes, of the per process gradients cache. A single
68 cache large enough to hold at least twelve gradients.</td>
75 <td>Defines the size, in megabytes, of the per process paths cache. We recommended using a
76 cache large enough to hold at least one screen worth of 32-bit textures. For instance
    [all...]
  /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)
80 extern void do_cache_destroy(lkmem_cache_t *cache);
103 _INLINE_ void do_cache_destroy(lkmem_cache_t *cache)
105 free(cache);

Completed in 37 milliseconds

1 2 3 4 5 6 7 891011>>