Home
last modified time | relevance | path

Searched refs:cache_entry (Results 1 – 8 of 8) sorted by relevance

/external/chromium/net/disk_cache/
Dbackend_impl.cc675 EntryImpl* cache_entry = MatchEntry(key, hash, false, Addr(), &error); in OpenEntryImpl() local
676 if (!cache_entry) { in OpenEntryImpl()
681 if (ENTRY_NORMAL != cache_entry->entry()->Data()->state) { in OpenEntryImpl()
683 cache_entry->Release(); in OpenEntryImpl()
688 eviction_.OnOpenEntry(cache_entry); in OpenEntryImpl()
694 return cache_entry; in OpenEntryImpl()
754 scoped_refptr<EntryImpl> cache_entry( in CreateEntryImpl() local
758 if (!cache_entry->CreateEntry(node_address, key, hash)) { in CreateEntryImpl()
766 cache_entry->BeginLogging(net_log_, true); in CreateEntryImpl()
769 open_entries_[entry_address.value()] = cache_entry; in CreateEntryImpl()
[all …]
Ddisk_cache_perftest.cc68 disk_cache::Entry* cache_entry; in TimeWrite() local
70 int rv = cache->CreateEntry(entry.key, &cache_entry, &cb); in TimeWrite()
73 int ret = cache_entry->WriteData(0, 0, buffer1, kSize1, &callback, false); in TimeWrite()
79 ret = cache_entry->WriteData(1, 0, buffer2, entry.data_len, &callback, in TimeWrite()
85 cache_entry->Close(); in TimeWrite()
116 disk_cache::Entry* cache_entry; in TimeRead() local
118 int rv = cache->OpenEntry(entries[i].key, &cache_entry, &cb); in TimeRead()
121 int ret = cache_entry->ReadData(0, 0, buffer1, kSize1, &callback); in TimeRead()
127 ret = cache_entry->ReadData(1, 0, buffer2, entries[i].data_len, &callback); in TimeRead()
132 cache_entry->Close(); in TimeRead()
Dmem_backend_impl.cc210 MemEntryImpl* cache_entry = new MemEntryImpl(this); in CreateEntry() local
211 if (!cache_entry->CreateEntry(key, net_log_)) { in CreateEntry()
216 rankings_.Insert(cache_entry); in CreateEntry()
217 entries_[key] = cache_entry; in CreateEntry()
219 *entry = cache_entry; in CreateEntry()
Dbackend_impl.h337 bool CheckEntry(EntryImpl* cache_entry);
/external/v8/src/
Dprofile-generator.cc129 HashMap::Entry* cache_entry = names_.Lookup(str, hash, true); in AddOrDisposeString() local
130 if (cache_entry->value == NULL) { in AddOrDisposeString()
132 cache_entry->value = str; in AddOrDisposeString()
136 return reinterpret_cast<const char*>(cache_entry->value); in AddOrDisposeString()
1529 HashMap::Entry* cache_entry = entries_.Lookup(thing, Hash(thing), false); in Map() local
1530 if (cache_entry != NULL) { in Map()
1531 EntryInfo* entry_info = reinterpret_cast<EntryInfo*>(cache_entry->value); in Map()
1541 HashMap::Entry* cache_entry = entries_.Lookup(thing, Hash(thing), true); in Pair() local
1542 ASSERT(cache_entry->value == NULL); in Pair()
1543 cache_entry->value = new EntryInfo(entry, allocator); in Pair()
[all …]
/external/chromium/net/base/
Dhost_resolver_impl.cc1019 const HostCache::Entry* cache_entry = cache_->Lookup( in Resolve() local
1021 if (cache_entry) { in Resolve()
1023 int net_error = cache_entry->error; in Resolve()
1025 addresses->SetFrom(cache_entry->addrlist, info.port()); in Resolve()
/external/v8/src/mips/
Dcode-stubs-mips.cc3343 const Register cache_entry = a0; in Generate() local
3393 __ li(cache_entry, Operand( in Generate()
3397 __ lw(cache_entry, MemOperand(cache_entry, type_ * sizeof( in Generate()
3401 __ Branch(&invalid_cache, eq, cache_entry, Operand(zero_reg)); in Generate()
3422 __ Addu(cache_entry, cache_entry, t0); in Generate()
3425 __ lw(t0, MemOperand(cache_entry, 0)); in Generate()
3426 __ lw(t1, MemOperand(cache_entry, 4)); in Generate()
3427 __ lw(t2, MemOperand(cache_entry, 8)); in Generate()
3466 __ Push(cache_entry, a2, a3); in Generate()
3472 __ Pop(cache_entry, a2, a3); in Generate()
[all …]
/external/v8/src/arm/
Dcode-stubs-arm.cc3221 const Register cache_entry = r0; in Generate() local
3268 __ mov(cache_entry, Operand(cache_array)); in Generate()
3272 __ ldr(cache_entry, MemOperand(cache_entry, cache_array_index)); in Generate()
3275 __ cmp(cache_entry, Operand(0, RelocInfo::NONE)); in Generate()
3295 __ add(cache_entry, cache_entry, Operand(r1, LSL, 2)); in Generate()
3297 __ ldm(ia, cache_entry, r4.bit() | r5.bit() | r6.bit()); in Generate()
3336 __ push(cache_entry); in Generate()
3342 __ pop(cache_entry); in Generate()
3346 __ stm(ia, cache_entry, r2.bit() | r3.bit() | r6.bit()); in Generate()