Searched defs:cache (Results 1 - 25 of 184) sorted by relevance

12345678

/external/chromium/net/ftp/
H A Dftp_auth_cache_unittest.cc32 FtpAuthCache cache; local
38 EXPECT_TRUE(cache.Lookup(origin1) == NULL);
41 cache.Add(origin1, kUsername1, kPassword1);
42 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1);
49 cache.Add(origin2, kUsername2, kPassword2);
50 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2);
57 EXPECT_EQ(entry1, cache.Lookup(origin1));
60 cache.Add(origin1, kUsername3, kPassword3);
61 FtpAuthCache::Entry* entry3 = cache.Lookup(origin1);
68 cache
79 FtpAuthCache cache; local
95 FtpAuthCache cache; local
120 FtpAuthCache cache; local
135 FtpAuthCache cache; local
[all...]
/external/icu4c/i18n/
H A Danytrans.h40 UHashtable* cache; member in class:AnyTransliterator
/external/v8/test/mjsunit/
H A Dsubstr.js113 var cache = []; variable
117 cache.push(z);
132 var cache = []; variable
136 cache.push(z);
/external/chromium/net/base/
H A Dssl_client_auth_cache_unittest.cc14 SSLClientAuthCache cache; local
34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert));
37 cache.Add(server1, cert1);
39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert));
43 cache.Add(server2, cert2);
45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert));
48 EXPECT_TRUE(cache.Lookup(server2, &cached_cert));
52 cache.Add(server1, cert3);
54 EXPECT_TRUE(cache.Lookup(server1, &cached_cert));
57 EXPECT_TRUE(cache
80 SSLClientAuthCache cache; local
106 SSLClientAuthCache cache; local
142 SSLClientAuthCache cache; local
[all...]
/external/bluetooth/glib/glib/
H A Dgcompletion.h55 GList* cache; member in struct:_GCompletion
/external/openssl/crypto/x509v3/
H A Dpcy_map.c65 /* Set policy mapping entries in cache.
73 X509_POLICY_CACHE *cache = x->policy_cache; local
93 data = policy_cache_find_data(cache, map->issuerDomainPolicy);
95 if (!data && !cache->anyPolicy)
102 cache->anyPolicy->flags
106 data->qualifier_set = cache->anyPolicy->qualifier_set;
110 if (!sk_X509_POLICY_DATA_push(cache->data, data))
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_GetLocal.java35 static Hashtable<String, File> cache = new Hashtable<String, File>(20); field in class:Support_GetLocal
40 File temp = cache.get(url);
53 cache.put(url, temp);
60 File temp = cache.get(url);
73 cache.put(url, temp);
/external/chromium/net/tools/dump_cache/
H A Dcache_dumper.h15 // Dumping the cache often creates very large filenames, which are tricky
23 // An abstract class for writing cache dump data.
46 // Writes data to a cache.
49 explicit CacheDumper(disk_cache::Backend* cache) : cache_(cache) {} argument
/external/e2fsprogs/lib/blkid/
H A Dresolve.c27 char *blkid_get_tag_value(blkid_cache cache, const char *tagname, argument
32 blkid_cache c = cache;
40 if (!cache) {
49 if (!cache)
61 char *blkid_get_devname(blkid_cache cache, const char *token, argument
65 blkid_cache c = cache;
72 if (!cache) {
79 value ? value : "", cache ? "in cache" : "from disk"));
102 if (!cache) {
112 blkid_cache cache; local
[all...]
H A Dsave.c2 * save.c - write the cache struct to disk
55 * Write out the cache struct to the cache file on disk.
57 int blkid_flush_cache(blkid_cache cache) argument
67 if (!cache)
70 if (list_empty(&cache->bic_devs) ||
71 !(cache->bic_flags & BLKID_BIC_FL_CHANGED)) {
72 DBG(DEBUG_SAVE, printf("skipping cache file write\n"));
76 filename = cache->bic_filename ? cache
163 blkid_cache cache = NULL; local
[all...]
H A Dcache.c2 * cache.c - allocation/initialization/free routines for cache
59 static blkid_debug_dump_cache(int mask, blkid_cache cache)
63 if (!cache) {
64 printf("cache: NULL\n");
68 printf("cache: time = %lu\n", cache->bic_time);
69 printf("cache: flags = 0x%08X\n", cache->bic_flags);
71 list_for_each(p, &cache
80 blkid_cache cache; local
115 blkid_put_cache(blkid_cache cache) argument
154 blkid_gc_cache(blkid_cache cache) argument
182 blkid_cache cache = NULL; local
[all...]
/external/emma/core/java12/com/vladium/emma/report/
H A DIReportGenerator.java29 void process (IMetaData mdata, ICoverageData cdata, SourcePathCache cache, IProperties parameters) argument
/external/webkit/Source/WebCore/accessibility/
H A DAccessibilityMenuList.cpp54 AXObjectCache* cache = m_renderer->document()->axObjectCache(); local
56 AccessibilityObject* list = cache->getOrCreate(MenuListPopupRole);
61 cache->remove(list->axObjectID());
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DMemoryUsage.cpp75 static MemoryUsageCache cache; local
76 return cache.getCachedMemoryUsage(forceFresh);
H A DWebCache.h48 net::HttpCache* cache() { return m_cache.get(); } function in class:android::WebCache
H A DWebRequestContext.cpp57 // We do not need to clear the cache as it is in memory only for private browsing
63 WebCache* cache = WebCache::get(m_isPrivateBrowsing); local
64 set_host_resolver(cache->hostResolver());
65 set_http_transaction_factory(cache->cache());
80 // This is the last private browsing context, delete the cookies and cache
/external/webkit/Source/WebKit/chromium/src/
H A DWebCache.cpp59 MemoryCache* cache = WebCore::memoryCache(); local
60 if (cache)
61 cache->setCapacities(static_cast<unsigned int>(minDeadCapacity),
68 MemoryCache* cache = WebCore::memoryCache(); local
69 if (cache && !cache->disabled()) {
70 cache->setDisabled(true);
71 cache->setDisabled(false);
79 MemoryCache* cache = WebCore::memoryCache(); local
80 if (cache) {
92 MemoryCache* cache = WebCore::memoryCache(); local
[all...]
/external/webkit/Source/WebKit/chromium/tests/
H A DUniscribeHelperTest.cpp51 HFONT MakeFont(const wchar_t* fontName, SCRIPT_CACHE** cache) argument
62 *cache = new SCRIPT_CACHE;
63 **cache = 0;
64 createdFonts.append(std::make_pair(hfont, *cache));
94 // The script cache pointer is heap allocated and must be freed.
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
H A DRegexCache.java29 private LRUCache<String, Pattern> cache; field in class:RegexCache
32 cache = new LRUCache<String, Pattern>(size);
36 Pattern pattern = cache.get(regex);
39 cache.put(regex, pattern);
46 return cache.containsKey(regex);
50 // LinkedHashMap offers a straightforward implementation of LRU cache.
/external/valgrind/main/drd/
H A Dpub_drd_bitmap.h72 struct bm_cache_elem cache[DRD_BITMAP_N_CACHE_ELEM]; member in struct:bitmap
/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedOutputStream.java55 private byte[] cache; field in class:ChunkedOutputStream
74 this.cache = new byte[bufferSize];
92 * Writes the cache out onto the underlying stream
98 this.out.write(this.cache, 0, this.cachePosition);
105 * Writes the cache and bufferToAppend to the underlying stream
114 this.out.write(this.cache, 0, this.cachePosition);
128 * Must be called to ensure the internal cache is flushed and the closing chunk is written.
144 this.cache[this.cachePosition] = (byte) b;
146 if (this.cachePosition == this.cache.length) flushCache();
163 if (len >= this.cache
[all...]
/external/chromium/chrome/browser/notifications/
H A Ddesktop_notification_service_unittest.cc25 // routes calls to the cache on the IO thread.
44 int CacheHasPermission(NotificationsPrefsCache* cache, const GURL& url) { argument
48 make_scoped_refptr(cache), url));
79 void CacheHasPermissionIO(NotificationsPrefsCache* cache, const GURL& url) { argument
81 permission_ = cache->HasPermission(url);
105 // profile into the cache and then puts the cache in io thread mode.
124 // and that's what sent to the cache.
128 // to update the cache.
131 // The updated pref shouldn't be sent to the cache immediatel
[all...]
/external/chromium/net/disk_cache/
H A Ddisk_cache_perftest.cc42 // Creates num_entries on the cache, and writes 200 bytes of metadata and up
44 int TimeWrite(int num_entries, disk_cache::Backend* cache, argument
60 PerfTimeLogger timer("Write disk cache entries");
70 int rv = cache->CreateEntry(entry.key, &cache_entry, &cb);
95 int TimeRead(int num_entries, disk_cache::Backend* cache, argument
111 const char* message = cold ? "Read disk cache entries (cold)" :
112 "Read disk cache entries (warm)";
118 int rv = cache->OpenEntry(entries[i].key, &cache_entry, &cb);
152 PerfTimeLogger timer("Hash disk cache keys");
169 disk_cache::Backend* cache; local
[all...]
/external/chromium/net/url_request/
H A Dview_cache_helper_unittest.cc23 // Gets a pointer to the cache backend.
68 void WriteToEntry(disk_cache::Backend* cache, const std::string key, argument
73 int rv = cache->CreateEntry(key, &entry, &cb);
76 rv = cache->OpenEntry(key, &entry, &cb);
89 disk_cache::Backend* cache; local
91 context->http_transaction_factory()->GetCache()->GetBackend(&cache, &cb);
95 WriteToEntry(cache, "first", "some", empty, empty);
96 WriteToEntry(cache, "second", "only hex_dumped", "same", "kind");
97 WriteToEntry(cache, "third", empty, "another", "thing");
184 disk_cache::Backend* cache; local
[all...]
/external/chromium/webkit/glue/
H A Dwebaccessibility.cc303 WebKit::WebAccessibilityCache* cache,
305 Init(src, cache, include_children);
312 WebKit::WebAccessibilityCache* cache,
386 // Add the source object to the cache and store its id.
387 id = cache->addOrGetId(src);
395 int32 child_id = cache->addOrGetId(child);
420 children.push_back(WebAccessibility(child, cache, include_children));
302 WebAccessibility(const WebKit::WebAccessibilityObject& src, WebKit::WebAccessibilityCache* cache, bool include_children) argument
311 Init(const WebKit::WebAccessibilityObject& src, WebKit::WebAccessibilityCache* cache, bool include_children) argument

Completed in 650 milliseconds

12345678