Home
last modified time | relevance | path

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

12345

/external/chromium_org/net/disk_cache/flash/
Dlog_store_unittest.cc21 EXPECT_TRUE(log_store.CreateEntry(kSize, &id)); in TEST_F()
38 EXPECT_TRUE(log_store.CreateEntry(kSize, &id)); in TEST_F()
62 EXPECT_TRUE(log_store.CreateEntry(kSize/2, &id1)); in TEST_F()
68 EXPECT_TRUE(log_store.CreateEntry(kSize/2, &id2)); in TEST_F()
74 EXPECT_TRUE(log_store.CreateEntry(kSize, &id3)); in TEST_F()
98 EXPECT_TRUE(log_store.CreateEntry(kSize/2, &id1)); in TEST_F()
108 EXPECT_TRUE(log_store.CreateEntry(kSize/2, &id2)); in TEST_F()
114 EXPECT_TRUE(log_store.CreateEntry(kSize, &id3)); in TEST_F()
/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 …]
/external/chromium_org/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/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_org/net/disk_cache/
Dbackend_unittest.cc56 rv = cache->CreateEntry(kExistingEntryKey, &entry, cb.callback()); in CreateExistingEntryCache()
136 int rv = cache_->CreateEntry("some key", &entry, cb->callback()); in GeneratePendingIO()
186 ASSERT_EQ(net::OK, CreateEntry("zeroth", &entry0)); in InitSparseCache()
199 ASSERT_EQ(net::OK, CreateEntry("first", &entry1)); in InitSparseCache()
205 ASSERT_EQ(net::OK, CreateEntry("second", &entry2)); in InitSparseCache()
220 ASSERT_EQ(net::OK, CreateEntry("third", &entry3)); in InitSparseCache()
222 ASSERT_EQ(net::OK, CreateEntry("fourth", &entry4)); in InitSparseCache()
243 if (CreateEntry(key, &entry) != net::OK) in CreateSetOfRandomEntries()
279 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics()
289 EXPECT_NE(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics()
[all …]
Dentry_unittest.cc140 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in InternalSyncIO()
168 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in InternalAsyncIO()
423 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in ExternalSyncIO()
455 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in ExternalAsyncIO()
616 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in ReleaseBuffer()
644 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in StreamAccess()
710 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
722 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
729 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
737 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
[all …]
/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_org/net/tools/crash_cache/
Dcrash_cache.cc169 int rv = cache->CreateEntry(test_name, &entry, cb.callback()); in SimpleInsert()
180 rv = cache->CreateEntry(test_name, &entry, cb.callback()); in SimpleInsert()
199 int rv = cache->CreateEntry(kCrashEntryName, &entry, cb.callback()); in SimpleRemove()
207 rv = cache->CreateEntry("some other key", &entry, cb.callback()); in SimpleRemove()
238 int rv = cache->CreateEntry("some other key", &entry, cb.callback()); in HeadRemove()
244 rv = cache->CreateEntry(kCrashEntryName, &entry, cb.callback()); in HeadRemove()
287 rv = cache->CreateEntry(key, &entry, cb.callback()); in LoadOperations()
293 rv = cache->CreateEntry(kCrashEntryName, &entry, cb.callback()); in LoadOperations()
304 rv = cache->CreateEntry(kCrashEntryName, &entry, cb.callback()); in LoadOperations()
/external/chromium/net/url_request/
Durl_request_throttler_unittest.cc174 void CreateEntry(bool is_outdated) { in CreateEntry() function in net::__anon5b3f51830111::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()
/external/chromium_org/net/tools/dump_cache/
Dcache_dumper.h30 virtual int CreateEntry(const std::string& key,
50 virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry,
67 virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry,
/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,
/external/chromium_org/components/dom_distiller/core/
Ddom_distiller_store_unittest.cc80 ArticleEntry CreateEntry(std::string entry_id, in CreateEntry() function
103 CreateEntry("entry0", "example.com/1", "example.com/2", "example.com/3"), in GetSampleEntry()
104 CreateEntry("entry1", "example.com/1", "", ""), in GetSampleEntry()
105 CreateEntry("entry2", "example.com/p1", "example.com/p2", ""), in GetSampleEntry()
106 CreateEntry("entry3", "example.com/something/all", "", ""), in GetSampleEntry()
107 CreateEntry("entry4", "example.com/somethingelse/1", "", ""), in GetSampleEntry()
108 CreateEntry("entry5", "rock.example.com/p1", "rock.example.com/p2", ""), in GetSampleEntry()
109 CreateEntry("entry7", "example.com/entry7/1", "example.com/entry7/2", ""), in GetSampleEntry()
110 CreateEntry("entry8", "example.com/entry8/1", "", ""), in GetSampleEntry()
111 CreateEntry("entry9", "example.com/entry9/all", "", ""), }; in GetSampleEntry()
/external/chromium_org/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/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_org/net/url_request/
Durl_request_throttler_unittest.cc129 void CreateEntry(bool is_outdated) { in CreateEntry() function in net::__anone530000a0111::MockURLRequestThrottlerManager
456 manager.CreateEntry(true); // true = Entry is outdated. in TEST_F()
457 manager.CreateEntry(true); in TEST_F()
458 manager.CreateEntry(true); in TEST_F()
462 manager.CreateEntry(false); in TEST_F()
463 manager.CreateEntry(false); in TEST_F()
464 manager.CreateEntry(false); in TEST_F()
465 manager.CreateEntry(true); in TEST_F()
/external/chromium_org/webkit/browser/appcache/
Dappcache_disk_cache.cc98 int CreateEntry(int64 key, Entry** entry, in CreateEntry() function in appcache::AppCacheDiskCache::ActiveCall
100 int rv = owner_->disk_cache()->CreateEntry( in CreateEntry()
193 int AppCacheDiskCache::CreateEntry(int64 key, Entry** entry, in CreateEntry() function in appcache::AppCacheDiskCache
208 return (new ActiveCall(this))->CreateEntry(key, entry, callback); in CreateEntry()
308 rv = CreateEntry(iter->key, iter->entry, iter->callback); in OnCreateBackendComplete()
/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_org/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_rankings2/
Dcontents.txt60 ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
63 ASSERT_TRUE(cache_->CreateEntry("some other key", &entry)); <---- Edit value*
/external/chromium_org/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_org/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_rankings/
Dcontents.txt60 ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
63 ASSERT_TRUE(cache_->CreateEntry("some other key", &entry)); <---- Edit value*
/external/chromium_org/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/bad_entry/
Dcontents.txt60 ASSERT_TRUE(cache_->CreateEntry("the first key", &entry));
63 ASSERT_TRUE(cache_->CreateEntry("some other key", &entry)); <---- Edit value*

12345