Searched refs:Cache (Results 26 - 50 of 263) sorted by relevance

1234567891011

/external/guava/guava-tests/test/com/google/common/cache/
H A DForwardingCacheTest.java37 private Cache<String, Boolean> forward;
38 private Cache<String, Boolean> mock;
48 mock = createMock(Cache.class);
50 @Override protected Cache<String, Boolean> delegate() {
126 protected Cache<K, V> delegate() {
H A DCacheTesting.java51 * A collection of utilities for {@link Cache} testing.
58 * Poke into the Cache internals to simulate garbage collection of the value associated with the
64 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) {
78 * Poke into the Cache internals to simulate garbage collection of the given key. This assumes
83 static <K, V> void simulateKeyReclamation(Cache<K, V> cache, K key) {
93 static <K, V> ReferenceEntry<K, V> getReferenceEntry(Cache<K, V> cache, K key) {
102 static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) {
110 * Gets the {@link LocalCache} used by the given {@link Cache}, if any, or throws an
111 * IllegalArgumentException if this is a Cache type that doesn't have a LocalCache.
113 static <K, V> LocalCache<K, V> toLocalCache(Cache<
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dtable_cache.cc27 Cache* cache = reinterpret_cast<Cache*>(arg1);
28 Cache::Handle* h = reinterpret_cast<Cache::Handle*>(arg2);
46 Cache::Handle** handle) {
90 Cache::Handle* handle = NULL;
111 Cache::Handle* handle = NULL;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h45 typedef QuarantineCache<Callback> Cache; typedef in class:__sanitizer::Quarantine
57 void Put(Cache *c, Callback cb, Node *ptr, uptr size) {
63 void NOINLINE Drain(Cache *c, Callback cb) {
81 Cache cache_;
85 Cache tmp;
97 void NOINLINE DoRecycle(Cache *c, Callback cb) {
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dcache.cc16 Cache::~Cache() {
143 // Like Cache methods, but with an extra "hash" parameter.
144 Cache::Handle* Insert(const Slice& key, uint32_t hash,
147 Cache::Handle* Lookup(const Slice& key, uint32_t hash);
148 void Release(Cache::Handle* handle);
209 Cache::Handle* LRUCache::Lookup(const Slice& key, uint32_t hash) {
217 return reinterpret_cast<Cache::Handle*>(e);
220 void LRUCache::Release(Cache::Handle* handle) {
225 Cache
[all...]
H A Dcache_test.cc13 // Conversions between numeric keys/values and the types expected by Cache.
38 Cache* cache_;
49 Cache::Handle* handle = cache_->Lookup(EncodeKey(key));
112 Cache::Handle* h1 = cache_->Lookup(EncodeKey(100));
116 Cache::Handle* h2 = cache_->Lookup(EncodeKey(100));
/external/chromium_org/tools/telemetry/telemetry/core/
H A Ddiscover.py14 @decorators.Cache
51 @decorators.Cache
77 @decorators.Cache
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dandroid_prebuilt_profiler_helper.py20 @decorators.Cache
/external/chromium_org/chrome/browser/ui/app_list/search/common/
H A Dwebservice_cache.h80 typedef base::MRUCacheBase<std::string, Payload, CacheDeletor> Cache; typedef in class:app_list::WebserviceCache
103 Cache cache_;
H A Dwebservice_cache.cc30 : cache_(Cache::NO_AUTO_EVICT),
32 const char kStoreDataFileName[] = "Webservice Search Cache";
45 Cache::iterator iter = cache_.Get(typed_query);
141 for (Cache::size_type i = cache_.size(); i > kWebserviceCacheMaxSize; i--) {
142 Cache::reverse_iterator rbegin = cache_.rbegin();
/external/chromium_org/components/omnibox/
H A Danswers_cache.cc24 for (Cache::iterator it = cache_.begin(); it != cache_.end(); ++it) {
38 for (Cache::iterator it = cache_.begin(); it != cache_.end(); ++it) {
/external/chromium_org/gpu/command_buffer/service/
H A Dshader_translator_cache.cc20 Cache::iterator it = cache_.begin();
43 Cache::iterator it = cache_.find(params);
H A Dshader_translator_cache.h82 typedef std::map<ShaderTranslatorInitParams, ShaderTranslator* > Cache; typedef in class:gpu::gles2::ShaderTranslatorCache
83 Cache cache_;
/external/chromium_org/tools/telemetry/telemetry/unittest/
H A Ddecorators_unittest.py13 @decorators.Cache
24 @decorators.Cache
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dsupport_binaries.py22 @decorators.Cache
41 @decorators.Cache
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DMatchedPropertiesCache.cpp96 Cache::iterator it = m_cache.find(hash);
128 Cache::AddResult addResult = m_cache.add(hash, nullptr);
147 for (Cache::iterator it = m_cache.begin(); it != m_cache.end(); ++it) {
162 Cache::iterator it = m_cache.begin();
163 Cache::iterator end = m_cache.end();
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmsxform.c382 _cmsCACHE Cache; local
393 memcpy(&Cache, &p ->Cache, sizeof(Cache));
399 if (memcmp(wIn, Cache.CacheIn, sizeof(Cache.CacheIn)) == 0) {
401 memcpy(wOut, Cache.CacheOut, sizeof(Cache.CacheOut));
407 memcpy(Cache.CacheIn, wIn, sizeof(Cache
427 _cmsCACHE Cache; local
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DCacheStorage.cpp11 #include "modules/serviceworkers/Cache.h"
45 m_resolver->reject(Cache::domExceptionForCacheError(*reason));
68 Cache* cache = Cache::create(webCache);
79 m_resolver->reject(Cache::domExceptionForCacheError(*reason));
109 m_resolver->reject(Cache::domExceptionForCacheError(*reason));
138 m_resolver->reject(Cache::domExceptionForCacheError(*reason));
157 Cache* cache = m_nameToCacheMap.find(cacheName)->value;
/external/chromium_org/third_party/skia/include/core/
H A DSkImageFilter.h54 class Cache : public SkRefCnt { class in class:SkImageFilter
57 virtual ~Cache() {}
58 static Cache* Create(size_t maxBytes);
59 static Cache* Get();
66 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) :
71 Cache* cache() const { return fCache; }
75 Cache* fCache;
/external/chromium_org/chrome/test/chromedriver/js/
H A Dcall_function.js42 function Cache() { class
48 Cache.prototype = {
127 * @return {!Cache} The page's object cache.
133 doc[key] = new Cache();
168 * @param {Cache} cache The cache to retrieve wrapped elements from.
/external/clang/include/clang/Basic/
H A DFileSystemStatCache.h72 std::unique_ptr<vfs::File> *F, FileSystemStatCache *Cache,
77 void setNextStatCache(FileSystemStatCache *Cache) { argument
78 NextStatCache.reset(Cache);
/external/clang/lib/Basic/
H A DFileSystemStatCache.cpp56 FileSystemStatCache *Cache, vfs::FileSystem &FS) {
61 if (Cache)
62 R = Cache->getStat(Path, Data, isFile, F, FS);
133 // Cache file 'stat' results and directories with absolutely paths.
54 get(const char *Path, FileData &Data, bool isFile, std::unique_ptr<vfs::File> *F, FileSystemStatCache *Cache, vfs::FileSystem &FS) argument
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontDataCache.cpp53 Cache::iterator result = m_cache.find(*platformData);
87 Cache::iterator it = m_cache.find(fontData->platformData());
100 Cache::iterator end = m_cache.end();
101 for (Cache::iterator fontData = m_cache.begin(); fontData != end; ++fontData) {
/external/lldb/examples/summaries/cocoa/
H A Dcache.py10 class Cache: class in inherits:
/external/oprofile/events/mips/25K/
H A Devents48 # I-Cache Efficiency:
50 event:0x18 counters:0,1 um:zero minimum:500 name:INSNS_FETCHED_FROM_ICACHE : Total number of instructions fetched from the I-Cache
52 event:0x1a counters:0,1 um:zero minimum:500 name:ICACHE_MISSES : I-Cache miss
55 # D-Cache Efficiency:
57 event:0x1b counters:0,1 um:zero minimum:500 name:DCACHE_MISSES : D-Cache miss
58 event:0x1c counters:0,1 um:zero minimum:500 name:DCACHE_WRITEBACKS : D-Cache number of write-backs
59 event:0x1d counters:0,1 um:zero minimum:500 name:CACHEABLE_DCACHE_REQUEST : number of cacheable requests to D-Cache
62 # Level 2 Cache Efficiency:
64 event:0x1e counters:0,1 um:zero minimum:500 name:L2_MISSES : L2 Cache miss
65 event:0x1f counters:0,1 um:zero minimum:500 name:L2_WBACKS : L2 Cache numbe
[all...]

Completed in 813 milliseconds

1234567891011