/external/chromium_org/components/nacl/browser/ |
nacl_validation_cache_unittest.cc | 20 NaClValidationCache cache1; member in class:nacl::NaClValidationCacheTest 26 cache1.SetValidationCacheKey(key); 41 ASSERT_EQ(0, (int) cache1.size()); 42 ASSERT_FALSE(cache1.QueryKnownToValidate(sig1, true)); 43 ASSERT_FALSE(cache1.QueryKnownToValidate(sig2, true)); 47 cache1.SetKnownToValidate(sig1); 48 ASSERT_EQ(1, (int) cache1.size()); 49 ASSERT_TRUE(cache1.QueryKnownToValidate(sig1, true)); 50 ASSERT_FALSE(cache1.QueryKnownToValidate(sig2, true)); 54 cache1.SetKnownToValidate(sig2) [all...] |
/external/chromium_org/content/browser/appcache/ |
appcache_group_unittest.cc | 117 scoped_refptr<AppCache> cache1(new AppCache(service.storage(), 111)); 118 cache1->set_complete(true); 119 cache1->set_update_time(now); 120 group->AddCache(cache1.get()); 121 EXPECT_EQ(cache1, group->newest_complete_cache()); 128 EXPECT_EQ(cache1, group->newest_complete_cache()); 152 group->RemoveCache(cache1.get()); 153 EXPECT_FALSE(cache1->owning_group()); 171 group->AddCache(cache1.get()); 172 EXPECT_EQ(cache1, group->newest_complete_cache()) 191 AppCache* cache1 = new AppCache(service.storage(), 111); local [all...] |
appcache_host_unittest.cc | 380 AppCache* cache1 = new AppCache(service_.storage(), 111); local 381 cache1->set_complete(true); 382 group1->AddCache(cache1); 384 EXPECT_EQ(cache1, host.swappable_cache_.get()); 388 host.AssociateCompleteCache(cache1); 393 EXPECT_EQ(cache1->cache_id(), mock_frontend_.last_cache_id_);
|
appcache_update_job_unittest.cc | 689 AppCache* cache1 = MakeCacheForGroup(1, 111); local 698 host1.AssociateCompleteCache(cache1); 704 host3.AssociateCompleteCache(cache1); [all...] |
/external/chromium_org/tools/binary_size/ |
explain_binary_size_delta.py | 58 cache1 = {} 61 for cache, symbols in ((cache1, symbols1), (cache2, symbols2)): 73 # Now diff them. We iterate over the elements in cache1. For each symbol 76 # in cache2 at the end of the iteration over cache1 are the 'new' symbols. 77 for key, bucket1 in cache1.items(): 93 del cache1[key] # Entire bucket is empty, delete from cache2 101 # We have now analyzed all symbols that are in cache1 and removed all of
|