Searched defs:cache_entry (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/net/disk_cache/blockfile/
H A Ddisk_cache_perftest.cc64 disk_cache::Entry* cache_entry; local
66 int rv = cache->CreateEntry(entry.key, &cache_entry, cb.callback());
69 int ret = cache_entry->WriteData(
77 ret = cache_entry->WriteData(
84 cache_entry->Close();
113 disk_cache::Entry* cache_entry; local
115 int rv = cache->OpenEntry(entries[i].key, &cache_entry, cb.callback());
118 int ret = cache_entry->ReadData(
126 ret = cache_entry->ReadData(
133 cache_entry
[all...]
H A Dbackend_impl_v3.cc436 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
437 if (cache_entry && ENTRY_NORMAL != cache_entry->entry()->Data()->state) {
439 cache_entry->Release();
440 cache_entry = NULL;
448 if (!cache_entry) {
457 eviction_.OnOpenEntry(cache_entry);
461 cache_entry->entry()->address().value());
468 return cache_entry;
528 scoped_refptr<EntryImpl> cache_entry(
721 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
[all...]
H A Dbackend_impl.cc451 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
452 if (cache_entry) {
453 if (ENTRY_NORMAL == cache_entry->entry()->Data()->state) {
454 UpdateRank(cache_entry, cache_type() == net::SHADER_CACHE);
456 cache_entry->Release();
469 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); local
470 if (cache_entry && ENTRY_NORMAL != cache_entry->entry()->Data()->state) {
472 cache_entry->Release();
473 cache_entry
774 EntryImpl* cache_entry = NULL; local
1589 scoped_refptr<EntryImpl> cache_entry, parent_entry; local
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dresource_metadata_storage_unittest.cc303 FileCacheEntry cache_entry; local
304 EXPECT_TRUE(cache_entry.SerializeToString(&serialized_entry));
353 FileCacheEntry cache_entry; local
354 EXPECT_TRUE(cache_entry.SerializeToString(&serialized_entry));
407 FileCacheEntry cache_entry; local
408 cache_entry.set_md5(md5);
409 EXPECT_TRUE(cache_entry.SerializeToString(&serialized_entry));
415 cache_entry.set_md5(md5_2);
416 EXPECT_TRUE(cache_entry.SerializeToString(&serialized_entry));
H A Dresource_metadata_storage.cc324 FileCacheEntry cache_entry; local
325 if (!cache_entry.ParseFromArray(it->value().data(), it->value().size()))
342 cache_entry;
402 FileCacheEntry cache_entry; local
403 if (!cache_entry.ParseFromArray(it->value().data(), it->value().size()))
411 cache_entry;
453 FileCacheEntry cache_entry; local
454 if (!cache_entry.ParseFromArray(it->value().data(), it->value().size()))
482 cache_entry;
/external/chromium_org/ppapi/proxy/
H A Dflash_resource.cc125 LocalTimeZoneOffsetEntry cache_entry; local
126 cache_entry.expiration = now + expiration_delta;
127 cache_entry.offset = 0.0;
137 &cache_entry.offset);
139 cache_entry.offset = 0.0;
141 cache_entry.offset = PPGetLocalTimeZoneOffset(PPTimeToTime(t));
144 cache.Put(t_minute_base, cache_entry);
145 return cache_entry.offset;
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Ddrive_internals_ui.cc269 const drive::FileCacheEntry& cache_entry);
851 const drive::FileCacheEntry& cache_entry) {
854 // Convert |cache_entry| into a dictionary.
857 value.SetString("md5", cache_entry.md5());
858 value.SetBoolean("is_present", cache_entry.is_present());
859 value.SetBoolean("is_pinned", cache_entry.is_pinned());
860 value.SetBoolean("is_dirty", cache_entry.is_dirty());
849 UpdateCacheEntry( const std::string& local_id, const drive::FileCacheEntry& cache_entry) argument
/external/chromium_org/net/cert/
H A Dx509_certificate.cc130 Entry cache_entry; local
131 cache_entry.cert_handle = *cert_handle;
132 cache_entry.ref_count = 0;
133 CertMap::value_type cache_value(fingerprint, cache_entry);
/external/chromium_org/chrome/browser/extensions/api/identity/
H A Didentity_api.cc487 IdentityTokenCacheValue cache_entry = id_api->GetCachedToken(*token_key_); local
489 cache_entry.status();
522 CompleteFunctionWithResult(cache_entry.token());
528 issue_advice_ = cache_entry.issue_advice();
537 CompleteFunctionWithResult(cache_entry.token());
/external/chromium_org/google_apis/gaia/
H A Doauth2_token_service.cc537 const CacheEntry* cache_entry = GetCacheEntry(request_parameters); local
544 cache_entry->expiration_date));
549 cache_entry->access_token,
550 cache_entry->expiration_date));
643 const CacheEntry* cache_entry = GetCacheEntry(request_parameters); local
644 return cache_entry && cache_entry->access_token.length();
/external/chromium_org/chrome/browser/predictors/
H A Dresource_prefetch_predictor.cc875 PrefetchDataMap::iterator cache_entry = data_map->find(key); local
876 if (cache_entry == data_map->end()) {
882 cache_entry = data_map->insert(std::make_pair(
884 cache_entry->second.last_visit = base::Time::Now();
897 cache_entry->second.resources.push_back(row_to_add);
901 ResourceRows& old_resources = cache_entry->second.resources;
902 cache_entry->second.last_visit = base::Time::Now();
963 ResourceRows& resources = cache_entry->second.resources;
992 const PrefetchData& host_data = is_host ? cache_entry->second : empty_data;
993 const PrefetchData& url_data = is_host ? empty_data : cache_entry
[all...]
/external/chromium_org/net/dns/
H A Dhost_resolver_impl.cc2066 const HostCache::Entry* cache_entry = cache_->Lookup( local
2068 if (!cache_entry)
2071 *net_error = cache_entry->error;
2073 if (cache_entry->has_ttl())
2074 RecordTTL(cache_entry->ttl);
2075 *addresses = EnsurePortOnAddressList(cache_entry->addrlist, info.port());
/external/chromium_org/v8/src/
H A Dheap-snapshot-generator.cc725 HashMap::Entry* cache_entry = entries_.Lookup(thing, Hash(thing), false); local
726 if (cache_entry == NULL) return HeapEntry::kNoEntry;
727 return static_cast<int>(reinterpret_cast<intptr_t>(cache_entry->value));
732 HashMap::Entry* cache_entry = entries_.Lookup(thing, Hash(thing), true); local
733 DCHECK(cache_entry->value == NULL);
734 cache_entry->value = reinterpret_cast<void*>(static_cast<intptr_t>(entry));
764 HashMap::Entry* cache_entry = local
766 return cache_entry != NULL
767 ? reinterpret_cast<const char*>(cache_entry->value)
775 HashMap::Entry* cache_entry local
2769 HashMap::Entry* cache_entry = strings_.Lookup( local
[all...]

Completed in 423 milliseconds