Home
last modified time | relevance | path

Searched refs:CreateEntry (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium/net/disk_cache/
Dbackend_unittest.cc69 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics()
79 EXPECT_NE(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics()
82 ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); in BackendBasics()
102 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics()
103 ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); in BackendBasics()
135 ASSERT_EQ(net::OK, CreateEntry(kName1, &entry1)); in BackendKeying()
137 ASSERT_EQ(net::OK, CreateEntry(kName2, &entry2)); in BackendKeying()
161 ASSERT_EQ(net::OK, CreateEntry(buffer2, &entry2)) << "key on block file"; in BackendKeying()
166 ASSERT_EQ(net::OK, CreateEntry(buffer2, &entry2)) << "key on external file"; in BackendKeying()
245 ASSERT_EQ(net::OK, CreateEntry("key", &entry)); in TEST_F()
[all …]
Dentry_unittest.cc121 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in InternalSyncIO()
147 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in InternalAsyncIO()
333 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in ExternalSyncIO()
365 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in ExternalAsyncIO()
481 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in StreamAccess()
516 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
528 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
535 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
543 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
564 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetTimes()
[all …]
Dmem_backend_impl.cc142 int MemBackendImpl::CreateEntry(const std::string& key, Entry** entry, in CreateEntry() function in disk_cache::MemBackendImpl
144 if (CreateEntry(key, entry)) in CreateEntry()
205 bool MemBackendImpl::CreateEntry(const std::string& key, Entry** entry) { in CreateEntry() function in disk_cache::MemBackendImpl
211 if (!cache_entry->CreateEntry(key, net_log_)) { in CreateEntry()
Dmem_backend_impl.h69 virtual int CreateEntry(const std::string& key, Entry** entry,
89 bool CreateEntry(const std::string& key, Entry** entry);
Din_flight_backend_io.h51 void CreateEntry(const std::string& key, Entry** entry);
150 void CreateEntry(const std::string& key, Entry** entry,
Ddisk_cache_test_base.cc87 int DiskCacheTestWithCache::CreateEntry(const std::string& key, in CreateEntry() function in DiskCacheTestWithCache
90 int rv = cache_->CreateEntry(key, entry, &cb); in CreateEntry()
Din_flight_backend_io.cc64 void BackendIO::CreateEntry(const std::string& key, Entry** entry) { in CreateEntry() function in disk_cache::BackendIO
306 void InFlightBackendIO::CreateEntry(const std::string& key, Entry** entry, in CreateEntry() function in disk_cache::InFlightBackendIO
309 operation->CreateEntry(key, entry); in CreateEntry()
Ddisk_cache_test_base.h92 int CreateEntry(const std::string& key, disk_cache::Entry** entry);
Ddisk_cache.h86 virtual int CreateEntry(const std::string& key, Entry** entry,
/external/chromium/net/data/cache_tests/list_loop/
Dcontents.txt193 ASSERT_TRUE(cache_->CreateEntry("first", &entry));
197 ASSERT_TRUE(cache_->CreateEntry("second", &entry));
201 ASSERT_TRUE(cache_->CreateEntry("third", &entry));
204 ASSERT_TRUE(cache_->CreateEntry("fourth", &entry));
207 ASSERT_TRUE(cache_->CreateEntry("fifth", &entry));
211 ASSERT_TRUE(cache_->CreateEntry("sixth", &entry));
214 ASSERT_TRUE(cache_->CreateEntry("seventh", &entry));
217 ASSERT_TRUE(cache_->CreateEntry("eight", &entry));
/external/chromium/net/tools/crash_cache/
Dcrash_cache.cc150 rv = cache->CreateEntry(test_name, &entry, &cb); in SimpleInsert()
161 rv = cache->CreateEntry(test_name, &entry, &cb); in SimpleInsert()
184 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb); in SimpleRemove()
192 rv = cache->CreateEntry("some other key", &entry, &cb); in SimpleRemove()
227 rv = cache->CreateEntry("some other key", &entry, &cb); in HeadRemove()
233 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb); in HeadRemove()
274 rv = cache->CreateEntry(key, &entry, &cb); in LoadOperations()
280 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb); in LoadOperations()
291 rv = cache->CreateEntry(kCrashEntryName, &entry, &cb); in LoadOperations()
/external/chromium/net/url_request/
Durl_request_throttler_unittest.cc174 void CreateEntry(bool is_outdated) { in CreateEntry() function in net::__anon56ccef7d0111::MockURLRequestThrottlerManager
403 manager.CreateEntry(true); // true = Entry is outdated. in TEST()
404 manager.CreateEntry(true); in TEST()
405 manager.CreateEntry(true); in TEST()
409 manager.CreateEntry(false); in TEST()
410 manager.CreateEntry(false); in TEST()
411 manager.CreateEntry(false); in TEST()
412 manager.CreateEntry(true); in TEST()
Dview_cache_helper_unittest.cc73 int rv = cache->CreateEntry(key, &entry, &cb); in WriteToEntry()
191 rv = cache->CreateEntry(key, &entry, &cb); in TEST()
/external/chromium/net/tools/dump_cache/
Dcache_dumper.h31 virtual int CreateEntry(const std::string& key,
51 virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry,
69 virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry,
Dcache_dumper.cc16 int CacheDumper::CreateEntry(const std::string& key, in CreateEntry() function in CacheDumper
19 return cache_->CreateEntry(key, entry, callback); in CreateEntry()
67 int DiskDumper::CreateEntry(const std::string& key, in CreateEntry() function in DiskDumper
/external/chromium/net/data/cache_tests/bad_rankings3/
Dcontents.txt76 ASSERT_EQ(net::OK, CreateEntry(kName1, &entry));
78 ASSERT_EQ(net::OK, CreateEntry(kName2, &entry));
80 ASSERT_EQ(net::OK, CreateEntry("some other key", &entry));
/external/chromium/net/data/cache_tests/list_loop3/
Dcontents.txt256 ASSERT_EQ(net::OK, CreateEntry("The first key", &entry));
258 ASSERT_EQ(net::OK, CreateEntry("The Second key", &entry));
260 ASSERT_EQ(net::OK, CreateEntry("The third key", &entry));
262 ASSERT_EQ(net::OK, CreateEntry("The Fouth key", &entry));
264 ASSERT_EQ(net::OK, CreateEntry("The fifth key", &entry)); <---- Loop it to the first one.
/external/chromium/net/data/cache_tests/bad_rankings/
Dcontents.txt60 ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
63 ASSERT_TRUE(cache_->CreateEntry("some other key", &entry)); <---- Edit value*
/external/chromium/net/data/cache_tests/bad_entry/
Dcontents.txt60 ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
63 ASSERT_TRUE(cache_->CreateEntry("some other key", &entry)); <---- Edit value*
/external/chromium/net/data/cache_tests/bad_rankings2/
Dcontents.txt60 ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
63 ASSERT_TRUE(cache_->CreateEntry("some other key", &entry)); <---- Edit value*
/external/chromium/net/data/cache_tests/dirty_entry2/
Dcontents.txt60 ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
63 ASSERT_TRUE(cache_->CreateEntry("some other key", &entry));
/external/chromium/net/data/cache_tests/dirty_entry/
Dcontents.txt60 ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
63 ASSERT_TRUE(cache_->CreateEntry("some other key", &entry));
/external/chromium/net/data/cache_tests/dirty_entry4/
Dcontents.txt175 ASSERT_EQ(net::OK, CreateEntry(key1, &entry));
177 ASSERT_EQ(net::OK, CreateEntry(key2, &entry));
182 ASSERT_EQ(net::OK, CreateEntry(key1, &entry));
/external/chromium/net/data/cache_tests/dirty_entry5/
Dcontents.txt147 ASSERT_EQ(net::OK, CreateEntry(key1, &entry));
149 ASSERT_EQ(net::OK, CreateEntry(key2, &entry));
151 ASSERT_EQ(net::OK, CreateEntry(key3, &entry));
/external/chromium/net/data/cache_tests/dirty_entry3/
Dcontents.txt174 ASSERT_EQ(net::OK, CreateEntry(key1, &entry));
176 ASSERT_EQ(net::OK, CreateEntry(key2, &entry));
182 ASSERT_EQ(net::OK, CreateEntry(key1, &entry));

12