/external/iptables/ |
H A D | autogen.sh | 4 rm -Rf autom4te*.cache;
|
/external/chromium/chrome/browser/notifications/ |
H A D | notifications_prefs_cache_unittest.cc | 13 scoped_refptr<NotificationsPrefsCache> cache(new NotificationsPrefsCache()); 23 cache->SetCacheAllowedOrigins(allowed_origins); 24 cache->SetCacheDeniedOrigins(denied_origins); 25 cache->SetCacheDefaultContentSetting(CONTENT_SETTING_DEFAULT); 28 cache->set_is_initialized(true); 34 cache->CacheAllowedOrigin(GURL("http://allowed2.com")); 35 cache->CacheDeniedOrigin(GURL("http://denied2.com")); 37 EXPECT_EQ(cache->HasPermission(GURL("http://allowed.com")), 39 EXPECT_EQ(cache->HasPermission(GURL("http://allowed2.com")), 42 EXPECT_EQ(cache [all...] |
/external/chromium/net/base/ |
H A D | host_cache_unittest.cc | 30 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL); 38 EXPECT_EQ(0U, cache.size()); 41 EXPECT_TRUE(cache.Lookup(Key("foobar.com"), base::TimeTicks()) == NULL); 42 cache.Set(Key("foobar.com"), OK, AddressList(), now); 43 entry1 = cache.Lookup(Key("foobar.com"), base::TimeTicks()); 45 EXPECT_EQ(1U, cache.size()); 51 EXPECT_TRUE(cache.Lookup(Key("foobar2.com"), base::TimeTicks()) == NULL); 52 cache.Set(Key("foobar2.com"), OK, AddressList(), now); 53 entry2 = cache.Lookup(Key("foobar2.com"), base::TimeTicks()); 55 EXPECT_EQ(2U, cache [all...] |
H A D | ssl_client_auth_cache_unittest.cc | 14 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/webkit/Source/WebKit/chromium/src/ |
H A D | WebCache.cpp | 59 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/openssl/crypto/x509v3/ |
H A D | pcy_cache.c | 69 /* Set cache entry according to CertificatePolicies extension. 78 X509_POLICY_CACHE *cache = x->policy_cache; local 83 cache->data = sk_X509_POLICY_DATA_new(policy_data_cmp); 84 if (!cache->data) 97 if (cache->anyPolicy) 102 cache->anyPolicy = data; 104 else if (sk_X509_POLICY_DATA_find(cache->data, data) != -1) 109 else if (!sk_X509_POLICY_DATA_push(cache->data, data)) 122 sk_X509_POLICY_DATA_pop_free(cache->data, policy_data_free); 123 cache 131 X509_POLICY_CACHE *cache; local 235 policy_cache_free(X509_POLICY_CACHE *cache) argument 260 policy_cache_find_data(const X509_POLICY_CACHE *cache, const ASN1_OBJECT *id) argument [all...] |
H A D | pcy_map.c | 65 /* 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/e2fsprogs/lib/blkid/ |
H A D | cache.c | 2 * 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...] |
H A D | blkid.h | 37 * in the cache. 43 * cache or by probing the device. 50 /* cache.c */ 51 extern void blkid_put_cache(blkid_cache cache); 52 extern int blkid_get_cache(blkid_cache *cache, const char *filename); 53 extern void blkid_gc_cache(blkid_cache cache); 58 extern blkid_dev_iterate blkid_dev_iterate_begin(blkid_cache cache); 68 extern int blkid_probe_all(blkid_cache cache); 69 extern int blkid_probe_all_new(blkid_cache cache); 70 extern blkid_dev blkid_get_dev(blkid_cache cache, cons [all...] |
H A D | resolve.c | 27 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 D | 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) argument 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 fo 182 probe_one(blkid_cache cache, const char *ptname, dev_t devno, int pri, int only_if_new) argument 300 lvm_probe_all(blkid_cache cache, int only_if_new) argument 365 evms_probe_all(blkid_cache cache, int only_if_new) argument 394 probe_all(blkid_cache cache, int only_if_new) argument 512 blkid_probe_all(blkid_cache cache) argument 524 blkid_probe_all_new(blkid_cache cache) argument 538 blkid_cache cache = NULL; local [all...] |
/external/chromium/net/ftp/ |
H A D | ftp_auth_cache_unittest.cc | 32 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/chromium/net/http/ |
H A D | http_cache_unittest.cc | 67 // mock disk cache (a very basic memory cache implementation) 490 // returns number of times a cache entry was successfully opened 493 // returns number of times a cache entry was successfully created 571 // Helper function for reading response info from the disk cache. 588 // Helper function for writing response info into the disk cache. 626 // This version of the disk cache doesn't invoke CreateEntry callbacks. 693 explicit DeleteCacheCompletionCallback(MockHttpCache* cache) argument 694 : cache_(cache) {} 718 void RunTransactionTestWithRequestAndLog(net::HttpCache* cache, argument 746 RunTransactionTestWithRequest(net::HttpCache* cache, const MockTransaction& trans_info, const MockHttpRequest& request, net::HttpResponseInfo* response_info) argument 754 RunTransactionTestWithLog(net::HttpCache* cache, const MockTransaction& trans_info, const net::BoundNetLog& log) argument 761 RunTransactionTest(net::HttpCache* cache, const MockTransaction& trans_info) argument 766 RunTransactionTestWithResponseInfo(net::HttpCache* cache, const MockTransaction& trans_info, net::HttpResponseInfo* response) argument 773 RunTransactionTestWithResponse(net::HttpCache* cache, const MockTransaction& trans_info, std::string* response_headers) argument 984 CreateTruncatedEntry(std::string raw_headers, MockHttpCache* cache) argument 1042 MockHttpCache cache; local 1061 MockHttpCache cache; local 1072 MockHttpCache cache; local 1122 MockHttpCache cache; local 1144 MockHttpCache cache; local 1181 MockHttpCache cache; local 1203 MockHttpCache cache; local 1271 MockHttpCache cache; local 1298 MockHttpCache cache; local 1315 MockHttpCache cache; local 1329 MockHttpCache cache; local 1373 MockHttpCache cache; local 1390 MockHttpCache cache; local 1407 MockHttpCache cache; local 1427 MockHttpCache cache; local 1456 MockHttpCache cache; local 1476 MockHttpCache cache; local 1496 MockHttpCache cache; local 1561 MockHttpCache cache; local 1691 MockHttpCache cache; local 1740 MockHttpCache cache; local 1799 MockHttpCache cache; local 1854 MockHttpCache cache; local 1877 MockHttpCache cache; local 1921 MockHttpCache cache; local 2122 MockHttpCache* cache = new MockHttpCache(factory); local 2160 MockHttpCache cache; local 2191 MockHttpCache cache; local 2226 MockHttpCache cache; local 2258 MockHttpCache cache; local 2283 MockHttpCache cache; local 2472 MockHttpCache cache; local 2516 MockHttpCache cache; local 2731 MockHttpCache cache; local 2755 MockHttpCache cache; local 2785 MockHttpCache cache; local 2815 MockHttpCache cache; local 2847 MockHttpCache cache; local 2881 MockHttpCache cache; local 2905 MockHttpCache cache; local 2935 MockHttpCache cache; local 2990 MockHttpCache cache; local 3044 MockHttpCache cache; local 3085 MockHttpCache cache; local 3117 MockHttpCache cache; local 3147 MockHttpCache cache; local 3184 MockHttpCache cache; local 3219 MockHttpCache cache; local 3257 MockHttpCache cache; local 3285 MockHttpCache cache; local 3316 MockHttpCache cache; local 3356 MockHttpCache cache; local 3397 MockHttpCache cache; local 3440 MockHttpCache cache; local 3482 MockHttpCache cache; local 3525 MockHttpCache cache; local 3595 MockHttpCache cache; local 3635 MockHttpCache cache; local 3668 MockHttpCache cache; local 3705 MockHttpCache cache; local 3750 MockHttpCache cache; local 3809 MockHttpCache cache; local 3837 MockHttpCache cache; local 3866 MockHttpCache cache; local 3960 MockHttpCache cache; local 3982 MockHttpCache cache; local 4009 MockHttpCache cache; local 4049 MockHttpCache cache; local 4087 MockHttpCache cache; local 4139 MockHttpCache cache; local 4169 MockHttpCache cache; local 4205 MockHttpCache cache; local 4249 MockHttpCache cache; local 4309 MockHttpCache cache; local 4355 MockHttpCache cache; local 4392 MockHttpCache cache; local 4428 MockHttpCache cache; local 4467 MockHttpCache cache; local 4517 MockHttpCache cache; local 4542 MockHttpCache cache; local 4580 MockHttpCache cache; local 4598 MockHttpCache cache; local 4665 MockHttpCache cache; local 4692 MockHttpCache cache; local 4720 MockHttpCache cache; local 4747 MockHttpCache cache; local 4775 MockHttpCache* cache = new MockHttpCache; local 4787 MockHttpCache cache; local 4811 MockHttpCache cache; local 4881 MockHttpCache cache; local 4918 MockHttpCache cache; local 4950 MockHttpCache cache; local [all...] |
/external/bluetooth/glib/gio/xdgmime/ |
H A D | xdgmimecache.c | 46 #warning Building xdgmime without MMAP support. Binary "mime.info" cache files will not be used. 86 #define GET_UINT16(cache,offset) (ntohs(*(xdg_uint16_t*)((cache) + (offset)))) 87 #define GET_UINT32(cache,offset) (ntohl(*(xdg_uint32_t*)((cache) + (offset)))) 90 _xdg_mime_cache_ref (XdgMimeCache *cache) argument 92 cache->ref_count++; 93 return cache; 97 _xdg_mime_cache_unref (XdgMimeCache *cache) argument 99 cache 113 XdgMimeCache *cache = NULL; local 158 cache_magic_matchlet_compare_to_data(XdgMimeCache *cache, xdg_uint32_t offset, const void *data, size_t len) argument 210 cache_magic_matchlet_compare(XdgMimeCache *cache, xdg_uint32_t offset, const void *data, size_t len) argument 237 cache_magic_compare_to_data(XdgMimeCache *cache, xdg_uint32_t offset, const void *data, size_t len, int *prio) argument 265 cache_magic_lookup_data(XdgMimeCache *cache, const void *data, size_t len, int *prio, const char *mime_types[], int n_mime_types) argument 320 XdgMimeCache *cache = _caches[i]; local 365 XdgMimeCache *cache = _caches[i]; local 410 XdgMimeCache *cache = _caches[i]; local 440 cache_glob_node_lookup_suffix(XdgMimeCache *cache, xdg_uint32_t n_entries, xdg_uint32_t offset, const char *file_name, int len, int ignore_case, MimeWeight mime_types[], int n_mime_types) argument 525 XdgMimeCache *cache = _caches[i]; local 601 XdgMimeCache *cache = _caches[i]; local 624 XdgMimeCache *cache = _caches[i]; local 801 XdgMimeCache *cache = _caches[i]; local 864 XdgMimeCache *cache = _caches[i]; local 916 XdgMimeCache *cache = _caches[i]; local 959 dump_glob_node(XdgMimeCache *cache, xdg_uint32_t offset, int depth) argument 992 XdgMimeCache *cache = _caches[i]; local [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
H A D | ScriptSourceProvider.h | 37 ScriptSourceProvider(const JSC::UString& url, JSC::SourceProviderCache* cache = 0) 38 : SourceProvider(url, cache)
|
/external/chromium/chrome/browser/policy/ |
H A D | user_policy_cache_unittest.cc | 44 // Tests the device management policy cache. 102 void SetPolicy(UserPolicyCache* cache, argument 107 registrar.Init(cache->GetManagedPolicyProvider(), &observer); 112 cache->SetPolicy(*policy); 120 const PolicyMap& mandatory_policy(const UserPolicyCache& cache) { argument 121 return cache.mandatory_policy_; 124 const PolicyMap& recommended_policy(const UserPolicyCache& cache) { argument 125 return cache.recommended_policy_; 195 UserPolicyCache cache(test_file()); 197 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); [all...] |
/external/bluetooth/glib/glib/ |
H A D | gcache.h | 53 void g_cache_destroy (GCache *cache); 54 gpointer g_cache_insert (GCache *cache, 56 void g_cache_remove (GCache *cache, 58 void g_cache_key_foreach (GCache *cache, 62 void g_cache_value_foreach (GCache *cache,
|
/external/valgrind/main/drd/ |
H A D | drd_bitmap.h | 347 * Rotate elements cache[0..n-1] such that the element at position n-1 is 348 * moved to position 0. This allows to speed up future cache lookups. 351 void bm_cache_rotate(struct bm_cache_elem cache[], const int n) 358 t = cache[0]; 360 cache[0] = cache[1]; 362 cache[1] = cache[2]; 364 cache[2] = cache[ [all...] |
/external/chromium/net/tools/crash_cache/ |
H A D | crash_cache.cc | 6 // cache unit tests (DiskCacheTest,CacheBackend_Recover*). This program only 8 // on release builds of the cache. 124 void FlushQueue(disk_cache::Backend* cache) { argument 127 reinterpret_cast<disk_cache::BackendImpl*>(cache)->FlushQueueForTest(&cb); 131 // Generates the files for an empty and one item cache. 135 disk_cache::Backend* cache; local 138 NULL, &cache, &cb); 139 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount()) 150 rv = cache->CreateEntry(test_name, &entry, &cb); 155 FlushQueue(cache); 175 disk_cache::Backend* cache; local 218 disk_cache::Backend* cache; local 258 disk_cache::BackendImpl* cache = new disk_cache::BackendImpl( local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | unix_io.c | 5 * Implements a one-block write-through cache. 82 struct unix_cache cache[CACHE_SIZE]; member in struct:unix_private_data 101 struct unix_cache *cache, unsigned long long block); 288 * Here we implement the cache functions 291 /* Allocate the cache buffers */ 296 struct unix_cache *cache; local 300 for (i=0, cache = data->cache; i < CACHE_SIZE; i++, cache++) { 301 cache 315 struct unix_cache *cache; local 340 struct unix_cache *cache, *unused_cache, *oldest_cache; local 366 reuse_cache(io_channel channel, struct unix_private_data *data, struct unix_cache *cache, unsigned long long block) argument 386 struct unix_cache *cache; local 583 struct unix_cache *cache, *reuse[READ_DIRECT_SIZE]; local 654 struct unix_cache *cache, *reuse; local [all...] |
/external/webkit/Source/WebCore/loader/appcache/ |
H A D | ApplicationCacheHost.cpp | 78 // Check if this request should be loaded from the application cache 85 // Get the resource from the application cache. By definition, cacheForMainRequest() returns a cache that contains the resource. 138 // Even when the main resource is being loaded from an application cache, loading can fail if aborted. 218 // or if there were network errors (but not if the user canceled the download), then instead get, from the cache, the resource of the fallback entry 277 ApplicationCache* cache = applicationCache(); local 278 if (!cache || !cache->isComplete()) 281 ApplicationCache::ResourceMap::const_iterator end = cache->end(); 282 for (ApplicationCache::ResourceMap::const_iterator it = cache 296 ApplicationCache* cache = applicationCache(); local 338 ApplicationCache* cache = applicationCache(); local 361 getApplicationCacheFallbackResource(const ResourceRequest& request, ApplicationCacheResource*& resource, ApplicationCache* cache) argument 387 scheduleLoadFallbackResourceFromApplicationCache(ResourceLoader* loader, ApplicationCache* cache) argument 406 ApplicationCache* cache = applicationCache(); local 430 ApplicationCache* cache = applicationCache(); local 439 ApplicationCache* cache = applicationCache(); local [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | ChunkedOutputStream.java | 55 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/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGResourcesCache.cpp | 56 // Put object in cache. 98 SVGResourcesCache* cache = extensions->resourcesCache(); local 99 ASSERT(cache); 101 return cache; 107 SVGResourcesCache* cache = resourcesCacheFromRenderObject(renderer); local 108 if (!cache->m_cache.contains(renderer)) 111 return cache->m_cache.get(renderer); 142 SVGResourcesCache* cache = resourcesCacheFromRenderObject(renderer); local 143 cache->removeResourcesFromRenderObject(renderer); 144 cache 150 SVGResourcesCache* cache = resourcesCacheFromRenderObject(renderer); local 157 SVGResourcesCache* cache = resourcesCacheFromRenderObject(resource); local [all...] |
/external/quake/quake/src/QW/client/ |
H A D | d_surf.c | 27 qboolean r_cache_thrash; // set if surface cache is thrashing
86 // Con_Printf ("%ik surface cache\n", size/1024);
135 Sys_Error ("D_SCAlloc: bad cache width %d\n", width);
138 Sys_Error ("D_SCAlloc: bad cache size %d\n", size);
147 Sys_Error ("D_SCAlloc: %i > cache size",size);
269 surfcache_t *cache;
local 272 // if the surface is animating or flashing, flush the cache
281 // see if the cache holds apropriate data
283 cache = surface->cachespots[miplevel];
285 if (cache [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | d_surf.cpp | 27 qboolean r_cache_thrash; // set if surface cache is thrashing
87 Con_Printf ("%ik surface cache\n", size/1024);
136 Sys_Error ("D_SCAlloc: bad cache width %d\n", width);
139 Sys_Error ("D_SCAlloc: bad cache size %d\n", size);
144 Sys_Error ("D_SCAlloc: %i > cache size",size);
266 surfcache_t *cache;
local 269 // if the surface is animating or flashing, flush the cache
278 // see if the cache holds apropriate data
280 cache = surface->cachespots[miplevel];
282 if (cache [all...] |