Searched defs:Cache (Results 1 - 25 of 83) sorted by relevance

1234

/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
H A Dcache.h5 // A Cache is an interface that maps keys to values. It has internal
26 class Cache;
29 // of Cache uses a least-recently-used eviction policy.
30 extern Cache* NewLRUCache(size_t capacity);
32 class Cache { class in namespace:leveldb
34 Cache() { } function in class:leveldb::Cache
38 virtual ~Cache();
93 Cache(const Cache&);
94 void operator=(const Cache
[all...]
/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/chromium_org/ui/file_manager/image_loader/
H A Dcache.js11 function Cache() { class
21 * Cache database name.
25 Cache.DB_NAME = 'image-loader';
28 * Cache database version.
32 Cache.DB_VERSION = 11;
40 Cache.MEMORY_LIMIT = 250 * 1024 * 1024; // 250 MB.
49 Cache.EVICTION_CHUNK_SIZE = 50 * 1024 * 1024; // 50 MB.
55 * @return {string} Cache key.
57 Cache.createKey = function(request) {
71 Cache
[all...]
H A Dimage_loader_client.js33 * @type {ImageLoaderClient.Cache}
36 this.cache_ = new ImageLoaderClient.Cache();
136 ImageLoaderClient.recordPercentage('Cache.Usage', this.cache_.getUsage());
158 var cacheKey = ImageLoaderClient.Cache.createKey(url, opt_options);
164 ImageLoaderClient.recordBinary('Cache.HitMiss', 1);
168 ImageLoaderClient.recordBinary('Cache.HitMiss', 0);
212 ImageLoaderClient.Cache = function() {
223 ImageLoaderClient.Cache.MEMORY_LIMIT = 20 * 1024 * 1024; // 20 MB.
230 * @return {string} Cache key.
232 ImageLoaderClient.Cache
[all...]
/external/chromium_org/components/omnibox/
H A Danswers_cache.h21 // Cache for the most-recently seen answer for Answers in Suggest.
40 typedef std::list<AnswersQueryData> Cache; typedef in class:AnswersCache
41 Cache cache_;
/external/compiler-rt/test/tsan/
H A Dstatic_init2.cc6 struct Cache { struct
8 explicit Cache(int x) function in struct:Cache
13 void foo(Cache *my) {
14 static Cache *c = my ? my : new Cache(rand());
20 foo(new Cache(rand()));
H A Dstatic_init3.cc7 struct Cache { struct
11 Cache g_cache;
13 Cache *CreateCache() {
18 _Atomic(Cache*) queue;
21 static Cache *c = CreateCache();
27 Cache *c = 0;
H A Dstatic_init4.cc7 struct Cache { struct
9 explicit Cache(int x) function in struct:Cache
16 Cache *CreateCache() {
18 return new Cache(rand());
22 static Cache *c = CreateCache();
H A Dstatic_init5.cc7 struct Cache { struct
9 explicit Cache(int x) function in struct:Cache
15 return new Cache((int)(long)p);
18 Cache *CreateCache() {
23 return (Cache*)res;
27 static Cache *c = CreateCache();
H A Dstatic_init6.cc7 struct Cache { struct
9 explicit Cache(int x) function in struct:Cache
15 return new Cache((int)(long)p);
18 Cache *CreateCache() {
23 return (Cache*)res;
27 static Cache *c = CreateCache();
/external/lldb/examples/summaries/cocoa/
H A Dcache.py10 class Cache: class in inherits:
/external/chromium_org/net/base/
H A Dexpiring_cache_unittest.cc25 std::less<base::TimeTicks> > Cache; typedef in namespace:net::__anon9000
39 Cache cache(kMaxCacheEntries);
94 Cache cache(kMaxCacheEntries);
161 Cache cache(3);
198 Cache cache(kMaxCacheEntries);
218 Cache cache(kMaxCacheEntries);
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DMatchedPropertiesCache.h79 typedef HeapHashMap<unsigned, Member<CachedMatchedProperties>, DefaultHash<unsigned>::Hash, HashTraits<unsigned>, CachedMatchedPropertiesHashTraits > Cache; typedef in class:blink::MatchedPropertiesCache
87 typedef HashMap<unsigned, OwnPtr<CachedMatchedProperties> > Cache; typedef in class:blink::MatchedPropertiesCache
90 Cache m_cache;
/external/chromium_org/tools/telemetry/telemetry/
H A Ddecorators.py11 def Cache(obj): function
15 @Cache
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_dense_alloc_test.cc26 typedef Alloc::Cache Cache; typedef
31 Cache cache;
/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/skia/include/core/
H A DSkImageFilter.h51 class SK_API Cache : public SkRefCnt { class in class:SkImageFilter
54 static Cache* Create(int minChildren = 2);
55 virtual ~Cache() {}
64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) :
69 Cache* cache() const { return fCache; }
73 Cache* fCache;
191 static void SetExternalCache(Cache* cache);
196 static Cache* GetExternalCache();
/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_;
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dsidenav_data_source.py9 from compiled_file_system import Cache, SingleFile, Unicode namespace
68 @Cache
H A Dcompiled_file_system_test.py9 from compiled_file_system import Cache, CompiledFileSystem namespace
124 compiled_fs = _GetTestCompiledFsCreator()(Cache(identity),
208 mock_fs, Cache(lambda path, contents: contents), type(self))
/external/chromium_org/gpu/command_buffer/service/
H A Dshader_translator_cache.h82 typedef std::map<ShaderTranslatorInitParams, ShaderTranslator* > Cache; typedef in class:gpu::gles2::ShaderTranslatorCache
83 Cache 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/llvm/lib/IR/
H A DLeaksContext.h37 Cache(nullptr), Name(name) { }
40 Cache = nullptr;
55 if (Cache) {
56 assert(Cache != o && "Object already in set!");
57 Ts.insert(Cache);
59 Cache = o;
63 if (o == Cache)
64 Cache = nullptr; // Cache hit
70 addGarbage(nullptr); // Flush the Cache
92 const T* Cache; member in struct:llvm::LeakDetectorImpl
[all...]
/external/chromium_org/base/containers/
H A Dmru_cache_unittest.cc36 typedef base::MRUCache<int, CachedItem> Cache; typedef
37 Cache cache(Cache::NO_AUTO_EVICT);
48 Cache::iterator inserted_item = cache.Put(kItem1Key, item1);
53 Cache::iterator found = cache.Get(kItem1Key);
71 Cache::reverse_iterator oldest = cache.rbegin();
79 Cache::iterator test_item = cache.Get(kItem1Key);
87 Cache::reverse_iterator oldest = cache.rbegin();
95 Cache::reverse_iterator next = cache.Erase(cache.rbegin());
116 typedef base::MRUCache<int, CachedItem> Cache; typedef
151 typedef base::MRUCache<int, CachedItem> Cache; typedef
189 typedef base::OwningMRUCache<int, CachedItem*> Cache; typedef
232 typedef base::OwningMRUCache<int, CachedItem*> Cache; typedef
257 typedef base::HashingMRUCache<std::string, CachedItem> Cache; typedef
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontDataCache.h92 typedef HashMap<FontPlatformData, pair<RefPtr<SimpleFontData>, unsigned>, FontDataCacheKeyHash, FontDataCacheKeyTraits> Cache; typedef in class:blink::FontDataCache
93 Cache m_cache;

Completed in 579 milliseconds

1234