Home
last modified time | relevance | path

Searched refs:OpenEntry (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/net/disk_cache/
Dbackend_unittest.cc282 EXPECT_NE(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics()
288 ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics()
294 ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics()
295 EXPECT_NE(net::OK, OpenEntry("some other key", &entry2)); in BackendBasics()
302 ASSERT_EQ(net::OK, OpenEntry("some other key", &entry3)); in BackendBasics()
362 ASSERT_EQ(net::OK, OpenEntry(buffer, &entry2)); in BackendKeying()
367 ASSERT_EQ(net::OK, OpenEntry(buffer + 1, &entry2)); in BackendKeying()
372 ASSERT_EQ(net::OK, OpenEntry(buffer + 3, &entry2)); in BackendKeying()
751 EXPECT_NE(net::OK, OpenEntry(first, &entry2)); in BackendSetSize()
757 ASSERT_EQ(net::OK, OpenEntry(second, &entry)); in BackendSetSize()
[all …]
Dentry_unittest.cc180 ASSERT_EQ(net::OK, OpenEntry("the first key", &entry)); in InternalAsyncIO()
670 ASSERT_EQ(net::OK, OpenEntry("the first key", &entry)); in StreamAccess()
862 ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); in GrowData()
872 ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); in GrowData()
881 ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); in GrowData()
889 ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); in GrowData()
936 ASSERT_EQ(net::OK, OpenEntry(key, &entry)); in TruncateData()
1065 ASSERT_EQ(net::OK, OpenEntry(key, &entry)); in Buffering()
1075 ASSERT_EQ(net::OK, OpenEntry(key, &entry)); in Buffering()
1092 ASSERT_EQ(net::OK, OpenEntry(key, &entry)); in Buffering()
[all …]
Ddisk_cache_test_base.cc131 int DiskCacheTestWithCache::OpenEntry(const std::string& key, in OpenEntry() function in DiskCacheTestWithCache
134 int rv = cache_->OpenEntry(key, entry, cb.callback()); in OpenEntry()
Ddisk_cache.h108 virtual int OpenEntry(const std::string& key, Entry** entry,
Ddisk_cache_test_base.h125 int OpenEntry(const std::string& key, disk_cache::Entry** entry);
/external/chromium_org/content/browser/appcache/
Dappcache_disk_cache.cc127 int OpenEntry(int64 key, Entry** entry, in OpenEntry() function in content::AppCacheDiskCache::ActiveCall
129 int rv = owner_->disk_cache()->OpenEntry( in OpenEntry()
243 int AppCacheDiskCache::OpenEntry(int64 key, Entry** entry, in OpenEntry() function in content::AppCacheDiskCache
258 return (new ActiveCall(this))->OpenEntry(key, entry, callback); in OpenEntry()
351 rv = OpenEntry(iter->key, iter->entry, iter->callback); in OnCreateBackendComplete()
Dappcache_disk_cache_unittest.cc64 disk_cache->OpenEntry(2, &entry, completion_callback_); in TEST_F()
115 disk_cache->OpenEntry(2, &entry, completion_callback_)); in TEST_F()
Dappcache_disk_cache.h49 virtual int OpenEntry(int64 key, Entry** entry,
/external/chromium_org/chrome/browser/safe_browsing/
Dmalware_details_cache.cc55 base::Bind(&MalwareDetailsCacheCollector::OpenEntry, this)); in StartCacheCollection()
66 void MalwareDetailsCacheCollector::OpenEntry() { in OpenEntry() function in MalwareDetailsCacheCollector
197 base::Bind(&MalwareDetailsCacheCollector::OpenEntry, this)); in AdvanceEntry()
Dmalware_details_cache.h92 void OpenEntry();
/external/chromium_org/net/disk_cache/memory/
Dmem_backend_impl.cc136 int MemBackendImpl::OpenEntry(const std::string& key, Entry** entry, in OpenEntry() function in disk_cache::MemBackendImpl
138 if (OpenEntry(key, entry)) in OpenEntry()
227 bool MemBackendImpl::OpenEntry(const std::string& key, Entry** entry) { in OpenEntry() function in disk_cache::MemBackendImpl
258 if (!OpenEntry(key, &entry)) in DoomEntry()
Dmem_backend_impl.h68 virtual int OpenEntry(const std::string& key, Entry** entry,
92 bool OpenEntry(const std::string& key, Entry** entry);
/external/chromium_org/net/data/cache_tests/dirty_entry5/
Dcontents.txt155 ASSERT_EQ(net::OK, OpenEntry(key1, &entry));
161 ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); <--- 1st crash.
162 ASSERT_NE(net::OK, OpenEntry(key2, &entry)); <--- 2nd crash. *
/external/chromium_org/net/data/cache_tests/bad_rankings3/
Dcontents.txt83 ASSERT_EQ(net::OK, OpenEntry(kName1, &entry));
86 ASSERT_EQ(net::OK, OpenEntry(kName2, &entry));
/external/chromium_org/components/nacl/browser/
Dpnacl_translation_cache.cc83 void OpenEntry();
167 OpenEntry(); in Start()
172 void PnaclTranslationCacheEntry::OpenEntry() { in OpenEntry() function in pnacl::PnaclTranslationCacheEntry
173 int rv = cache_->backend()->OpenEntry( in OpenEntry()
/external/chromium_org/net/disk_cache/simple/
Dsimple_backend_impl.cc370 int SimpleBackendImpl::OpenEntry(const std::string& key, in OpenEntry() function in disk_cache::SimpleBackendImpl
381 base::Bind(&SimpleBackendImpl::OpenEntry, in OpenEntry()
396 return simple_entry->OpenEntry(entry, backend_callback); in OpenEntry()
630 return OpenEntry(has_active->second->key(), entry, callback); in OpenEntryFromHash()
638 return simple_entry->OpenEntry(entry, backend_callback); in OpenEntryFromHash()
695 it->second->OpenEntry(entry, callback); in OnEntryOpenedFromHash()
Dsimple_backend_impl.h93 virtual int OpenEntry(const std::string& key, Entry** entry,
/external/chromium_org/net/data/cache_tests/list_loop/
Dcontents.txt220 ASSERT_TRUE(cache_->OpenEntry("second", &entry));
224 ASSERT_TRUE(cache_->OpenEntry("fifth", &entry));
/external/chromium_org/net/http/
Ddisk_cache_based_quic_server_info.cc240 return backend_->OpenEntry(key(), &data_shim_->entry, io_callback_); in DoOpen()
275 return backend_->OpenEntry(key(), &data_shim_->entry, io_callback_); in DoCreateOrOpen()
Ddisk_based_cert_cache.cc216 return backend_->OpenEntry(key_, &entry_, io_callback_); in DoOpen()
441 return backend_->OpenEntry(key_, &entry_, io_callback_); in DoOpen()
/external/chromium_org/net/tools/crash_cache/
Dcrash_cache.cc215 rv = cache->OpenEntry(kCrashEntryName, &entry, cb.callback()); in SimpleRemove()
251 rv = cache->OpenEntry(kCrashEntryName, &entry, cb.callback()); in HeadRemove()
309 rv = cache->OpenEntry(kCrashEntryName, &entry, cb.callback()); in LoadOperations()
/external/chromium_org/net/data/cache_tests/dirty_entry3/
Dcontents.txt178 ASSERT_EQ(net::OK, OpenEntry(key1, &entry)); <--- 1st crash.
180 ASSERT_EQ(net::OK, OpenEntry(key1, &entry)); <--- 2nd crash.
/external/chromium_org/net/disk_cache/blockfile/
Din_flight_backend_io.h52 void OpenEntry(const std::string& key, Entry** entry);
156 void OpenEntry(const std::string& key, Entry** entry,
Din_flight_backend_io.cc85 void BackendIO::OpenEntry(const std::string& key, Entry** entry) { in OpenEntry() function in disk_cache::BackendIO
342 void InFlightBackendIO::OpenEntry(const std::string& key, Entry** entry, in OpenEntry() function in disk_cache::InFlightBackendIO
345 operation->OpenEntry(key, entry); in OpenEntry()
Dbackend_impl_v3.h177 virtual int OpenEntry(const std::string& key, Entry** entry,

12