/external/chromium_org/v8/src/ |
bootstrapper.h | 45 explicit SourceCodeCache(Script::Type type): type_(type), cache_(NULL) { } 48 cache_ = create_heap_objects ? isolate->heap()->empty_fixed_array() : NULL; 52 v->VisitPointer(BitCast<Object**, FixedArray**>(&cache_)); 56 for (int i = 0; i < cache_->length(); i+=2) { 57 SeqOneByteString* str = SeqOneByteString::cast(cache_->get(i)); 60 SharedFunctionInfo::cast(cache_->get(i + 1))); 71 int length = cache_->length(); 73 cache_->CopyTo(0, *new_array, 0, cache_->length()); 74 cache_ = *new_array 83 FixedArray* cache_; member in class:v8::internal::BASE_EMBEDDED [all...] |
frames.h | 71 memset(&cache_[0], 0, sizeof(cache_)); 77 InnerPointerToCodeCacheEntry* cache(int index) { return &cache_[index]; } 82 InnerPointerToCodeCacheEntry cache_[kInnerPointerToCodeCacheSize]; member in class:v8::internal::InnerPointerToCodeCache
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_quarantine.h | 46 : cache_(LINKER_INITIALIZED) { 64 cache_.Transfer(c); 66 if (cache_.Size() > max_size_ && recycle_mutex_.TryLock()) 79 Cache cache_; member in class:__sanitizer::Quarantine 86 while (cache_.Size() > min_size_) { 87 QuarantineBatch *b = cache_.DequeueBatch();
|
/external/v8/src/ |
bootstrapper.h | 45 explicit SourceCodeCache(Script::Type type): type_(type), cache_(NULL) { } 48 cache_ = create_heap_objects ? HEAP->empty_fixed_array() : NULL; 52 v->VisitPointer(BitCast<Object**, FixedArray**>(&cache_)); 56 for (int i = 0; i < cache_->length(); i+=2) { 57 SeqAsciiString* str = SeqAsciiString::cast(cache_->get(i)); 60 SharedFunctionInfo::cast(cache_->get(i + 1))); 69 int length = cache_->length(); 72 cache_->CopyTo(0, *new_array, 0, cache_->length()); 73 cache_ = *new_array 82 FixedArray* cache_; member in class:v8::internal::BASE_EMBEDDED [all...] |
/external/chromium/chrome/browser/ |
browsing_data_remover.h | 203 disk_cache::Backend* cache_; member in class:BrowsingDataRemover
|
/external/chromium/net/base/ |
x509_certificate.cc | 76 // The certificate cache. You must acquire |lock_| before using |cache_|. 77 CertMap cache_; member in class:net::__anon2713::X509CertificateCache 94 while (cache_.size() >= 50) 95 cache_.erase(cache_.begin()); 97 cache_[cert->fingerprint()] = cert; 101 if (cache_.size() <= 20) // high water mark 104 for (CertMap::iterator it = cache_.begin(); it != cache_.end(); ++it) { 106 cache_.erase(it) [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
addrcache_test.cc | 48 EXPECT_TRUE(cache_.Init()); 108 EXPECT_EQ(mode, cache_.EncodeAddress(address, here_address, &encoded_addr)); 109 if (cache_.WriteAddressAsVarintForMode(mode)) { 118 VCDiffAddressCache cache_; member in class:open_vcdiff::__anon2959::VCDiffAddressCacheTest 214 EXPECT_EQ(0, cache_.NearAddress(test_address)); 217 EXPECT_EQ(0, cache_.SameAddress(test_address)); 227 cache_.UpdateCache(test_address); 229 EXPECT_EQ(9, cache_.NearAddress(0)); // slot 0: 1 => 5 => 9 230 EXPECT_EQ(10, cache_.NearAddress(1)); // slot 1: 2 => 6 => 10 231 EXPECT_EQ(7, cache_.NearAddress(2)); // slot 2: 3 => [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
httpclient.h | 111 void set_cache(DiskCache* cache) { ASSERT(!IsCacheActive()); cache_ = cache; } 112 bool cache_enabled() const { return (NULL != cache_); } 195 DiskCache* cache_; member in class:talk_base::HttpClient
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
drive_integration_service.h | 163 scoped_ptr<internal::FileCache, util::DestroyHelper> cache_; member in class:drive::DriveIntegrationService
|
file_system_unittest.cc | 110 cache_.reset(new internal::FileCache( 115 ASSERT_TRUE(cache_->Initialize()); 125 cache_.get(), 285 scoped_ptr<internal::FileCache, test_util::DestroyHelperForTests> cache_; member in class:drive::FileSystemTest 607 EXPECT_TRUE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); 618 EXPECT_TRUE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); 653 EXPECT_FALSE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); 676 ASSERT_EQ(FILE_ERROR_OK, cache_->Store( 692 EXPECT_EQ(FILE_ERROR_IN_USE, cache_->Remove(entry->local_id())); 703 EXPECT_EQ(FILE_ERROR_OK, cache_->Remove(entry->local_id())) [all...] |
sync_client_unittest.cc | 135 cache_.reset(new FileCache(metadata_storage_.get(), 139 ASSERT_TRUE(cache_->Initialize()); 147 cache_.get(), 202 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("foo"))); 203 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("bar"))); 204 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("baz"))); 209 cache_->Store(GetLocalId("fetched"), md5_fetched, 211 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("fetched"))); 216 cache_->Store(GetLocalId("dirty"), md5_dirty, 218 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("dirty"))) 264 scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; member in class:drive::internal::SyncClientTest [all...] |
file_cache_unittest.cc | 84 cache_.reset(new FileCache( 94 base::Bind(&FileCache::Initialize, base::Unretained(cache_.get())), 113 base::Unretained(cache_.get()), 136 base::Unretained(cache_.get()), 150 const base::FilePath path = cache_->GetCacheFilePath(id); 166 base::Unretained(cache_.get()), 184 base::Unretained(cache_.get()), 202 base::Unretained(cache_.get()), 216 base::Unretained(cache_.get()), 239 base::Unretained(cache_.get()) 385 scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; member in class:drive::internal::FileCacheTestOnUIThread 768 scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_; member in class:drive::internal::FileCacheTest [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
client_side_detection_service.h | 312 PhishingCache cache_; member in class:safe_browsing::ClientSideDetectionService
|
/external/chromium_org/chrome_frame/ |
urlmon_url_request_private.h | 232 base::win::ScopedComPtr<IStream> cache_; member in class:UrlmonUrlRequest
|
/external/chromium_org/components/nacl/browser/ |
pnacl_translation_cache.cc | 99 base::WeakPtr<PnaclTranslationCache> cache_; member in class:pnacl::PnaclTranslationCacheEntry 139 : cache_(cache), 171 // from DispatchNext, so they know that cache_ is still valid. 173 int rv = cache_->backend()->OpenEntry( 182 int rv = cache_->backend()->CreateEntry( 239 cache_->OpComplete(this); 244 if (!cache_)
|
/external/chromium_org/components/policy/core/common/cloud/ |
component_cloud_policy_service.cc | 106 scoped_ptr<ResourceCache> cache_; member in class:policy::ComponentCloudPolicyService::Backend 124 cache_(cache.Pass()), 126 store_(this, cache_.get()) {}
|
component_cloud_policy_service_unittest.cc | 119 cache_ = new ResourceCache(temp_dir_.path(), loop_.message_loop_proxy()); 126 make_scoped_ptr(cache_), 200 EXPECT_TRUE(cache_->Store( 203 cache_->Store("extension-policy-data", kTestExtension, kTestPolicy)); 206 EXPECT_TRUE(cache_->Store( 209 cache_->Store("extension-policy-data", kTestExtension2, kTestPolicy)); 234 // |cache_| is owned by the |service_| and is invalid once the |service_| 236 ResourceCache* cache_; member in class:policy::ComponentCloudPolicyServiceTest 252 cache_ = new ResourceCache(temp_dir_.path(), loop_.message_loop_proxy()); 256 make_scoped_ptr(cache_), [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
memory_program_cache_unittest.cc | 77 : cache_(new MemoryProgramCache(kCacheSizeBytes)), 186 scoped_ptr<MemoryProgramCache> cache_; member in class:gpu::gles2::MemoryProgramCacheTest 205 cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, 210 EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( 230 cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL, 235 EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( 243 cache_->Clear(); 245 cache_->LoadProgram(shader_cache_shader()); 246 EXPECT_EQ(ProgramCache::LINK_SUCCEEDED, cache_->GetLinkedProgramStatus( 265 cache_->SaveLinkedProgram(kProgramId, vertex_shader_, NULL [all...] |
/external/chromium_org/sdch/open-vcdiff/src/ |
addrcache_test.cc | 48 EXPECT_TRUE(cache_.Init()); 108 EXPECT_EQ(mode, cache_.EncodeAddress(address, here_address, &encoded_addr)); 109 if (cache_.WriteAddressAsVarintForMode(mode)) { 118 VCDiffAddressCache cache_; member in class:open_vcdiff::__anon10347::VCDiffAddressCacheTest 214 EXPECT_EQ(0, cache_.NearAddress(test_address)); 217 EXPECT_EQ(0, cache_.SameAddress(test_address)); 227 cache_.UpdateCache(test_address); 229 EXPECT_EQ(9, cache_.NearAddress(0)); // slot 0: 1 => 5 => 9 230 EXPECT_EQ(10, cache_.NearAddress(1)); // slot 1: 2 => 6 => 10 231 EXPECT_EQ(7, cache_.NearAddress(2)); // slot 2: 3 => [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
httpclient.h | 113 void set_cache(DiskCache* cache) { ASSERT(!IsCacheActive()); cache_ = cache; } 114 bool cache_enabled() const { return (NULL != cache_); } 200 DiskCache* cache_; member in class:talk_base::HttpClient
|
/external/chromium_org/webkit/browser/appcache/ |
appcache_url_request_job.h | 168 scoped_refptr<AppCache> cache_; member in class:appcache::AppCacheURLRequestJob
|
/external/open-vcdiff/src/ |
addrcache_test.cc | 48 EXPECT_TRUE(cache_.Init()); 108 EXPECT_EQ(mode, cache_.EncodeAddress(address, here_address, &encoded_addr)); 109 if (cache_.WriteAddressAsVarintForMode(mode)) { 118 VCDiffAddressCache cache_; member in class:open_vcdiff::__anon23953::VCDiffAddressCacheTest 214 EXPECT_EQ(0, cache_.NearAddress(test_address)); 217 EXPECT_EQ(0, cache_.SameAddress(test_address)); 227 cache_.UpdateCache(test_address); 229 EXPECT_EQ(9, cache_.NearAddress(0)); // slot 0: 1 => 5 => 9 230 EXPECT_EQ(10, cache_.NearAddress(1)); // slot 1: 2 => 6 => 10 231 EXPECT_EQ(7, cache_.NearAddress(2)); // slot 2: 3 => [all...] |
/external/chromium/net/disk_cache/ |
entry_unittest.cc | 130 EXPECT_EQ(0, cache_->GetEntryCount()); 273 EXPECT_EQ(0, cache_->GetEntryCount()); 341 EXPECT_EQ(0, cache_->GetEntryCount()); 457 EXPECT_EQ(0, cache_->GetEntryCount()); 1714 disk_cache::Backend* cache_; member in class:SparseTestCompletionCallback [all...] |
/external/chromium_org/chrome/browser/browsing_data/ |
browsing_data_remover.h | 355 disk_cache::Backend* cache_; member in class:BrowsingDataRemover
|
/external/chromium_org/content/browser/gpu/ |
shader_disk_cache.cc | 57 base::WeakPtr<ShaderDiskCache> cache_; member in class:content::ShaderDiskCacheEntry 96 base::WeakPtr<ShaderDiskCache> cache_; member in class:content::ShaderDiskReadHelper 130 scoped_refptr<ShaderDiskCache> cache_; member in class:content::ShaderClearHelper 143 : cache_(cache), 158 if (!cache_.get()) 161 int rv = cache_->backend()->OpenEntry( 171 if (!cache_.get()) 197 // Called through OnOpComplete, so we know |cache_| is valid. 199 cache_->backend()->OnExternalCacheHit(key_); 200 cache_->EntryComplete(this) [all...] |