Home
last modified time | relevance | path

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

123

/external/chromium_org/components/dom_distiller/core/
Ddistilled_content_store_unittest.cc17 ArticleEntry CreateEntry(std::string entry_id, in CreateEntry() function
78 const ArticleEntry entry = CreateEntry("test-id", "url1", "url2", "url3"); in TEST_F()
102 const ArticleEntry entry = CreateEntry("bogus-id", "url1", "url2", "url3"); in TEST_F()
116 const ArticleEntry first_entry = CreateEntry("first", "url1", "url2", "url3"); in TEST_F()
129 CreateEntry("second", "url4", "url5", "url6"); in TEST_F()
171 const ArticleEntry first_entry = CreateEntry("first", "url1", "url2", "url3"); in TEST_F()
184 CreateEntry("second", "url4", "url5", "url6"); in TEST_F()
196 const ArticleEntry third_entry = CreateEntry("third", "url7", "url8", "url9"); in TEST_F()
221 CreateEntry("fourth", "url10", "url11", "url12"); in TEST_F()
246 const ArticleEntry entry = CreateEntry("test-id", "url1", "url2", "url3"); in TEST_F()
[all …]
Ddom_distiller_store_unittest.cc82 ArticleEntry CreateEntry(std::string entry_id, std::string page_url1, 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/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.cc59 rv = cache->CreateEntry(kExistingEntryKey, &entry, cb.callback()); in CreateExistingEntryCache()
138 int rv = cache_->CreateEntry("some key", &entry, cb->callback()); in GeneratePendingIO()
188 ASSERT_EQ(net::OK, CreateEntry("zeroth", &entry0)); in InitSparseCache()
201 ASSERT_EQ(net::OK, CreateEntry("first", &entry1)); in InitSparseCache()
207 ASSERT_EQ(net::OK, CreateEntry("second", &entry2)); in InitSparseCache()
222 ASSERT_EQ(net::OK, CreateEntry("third", &entry3)); in InitSparseCache()
224 ASSERT_EQ(net::OK, CreateEntry("fourth", &entry4)); in InitSparseCache()
245 if (CreateEntry(key, &entry) != net::OK) in CreateSetOfRandomEntries()
283 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics()
293 EXPECT_NE(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics()
[all …]
Dentry_unittest.cc141 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in InternalSyncIO()
169 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in InternalAsyncIO()
424 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in ExternalSyncIO()
456 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in ExternalAsyncIO()
617 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in ReleaseBuffer()
645 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry)); in StreamAccess()
711 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
723 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
730 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
738 ASSERT_EQ(net::OK, CreateEntry(key, &entry)); in GetKey()
[all …]
/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_org/sync/syncable/
Ddirectory_unittest.h49 void CreateEntry(const ModelType& model_type, const std::string& entryname);
52 void CreateEntry(const ModelType& model_type,
56 void CreateEntry(const ModelType& model_type,
/external/chromium_org/sync/internal_api/
Dsync_rollback_manager_unittest.cc92 int64 CreateEntry(UserShare* user_share, ModelType type, in CreateEntry() function in syncer::__anone0d90f660111::SyncRollbackManagerTest
138 CreateEntry(backup_manager.GetUserShare(), type, client_tag); in PrepopulateDb()
194 CreateEntry(rollback_manager.GetUserShare(), PREFERENCES, "pref2"); in TEST_F()
218 CreateEntry(rollback_manager.GetUserShare(), PREFERENCES, "pref2"); in TEST_F()
219 CreateEntry(rollback_manager.GetUserShare(), APPS, "app1"); in TEST_F()
245 CreateEntry(rollback_manager->GetUserShare(), PREFERENCES, "pref2"); in TEST_F()
Dsync_backup_manager_unittest.cc78 void CreateEntry(UserShare* user_share, ModelType type, in CreateEntry() function in syncer::__anonc483ff320111::SyncBackupManagerTest
118 CreateEntry(manager->GetUserShare(), SEARCH_ENGINES, "test"); in TEST_F()
148 CreateEntry(manager->GetUserShare(), SEARCH_ENGINES, "test"); in TEST_F()
170 CreateEntry(manager->GetUserShare(), SEARCH_ENGINES, "test"); in TEST_F()
/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,
Dcache_dumper.cc21 int CacheDumper::CreateEntry(const std::string& key, in CreateEntry() function in CacheDumper
24 return cache_->CreateEntry(key, entry, callback); in CreateEntry()
77 int DiskDumper::CreateEntry(const std::string& key, in CreateEntry() function in DiskDumper
/external/chromium_org/content/browser/appcache/
Dappcache_disk_cache_unittest.cc63 disk_cache->CreateEntry(1, &entry, completion_callback_); in TEST_F()
113 disk_cache->CreateEntry(1, &entry, completion_callback_)); in TEST_F()
144 disk_cache->CreateEntry(1, &entry1, completion_callback_); in TEST_F()
145 disk_cache->CreateEntry(2, &entry2, completion_callback_); in TEST_F()
Dappcache_disk_cache.cc119 int CreateEntry(int64 key, Entry** entry, in CreateEntry() function in content::AppCacheDiskCache::ActiveCall
121 int rv = owner_->disk_cache()->CreateEntry( in CreateEntry()
225 int AppCacheDiskCache::CreateEntry(int64 key, Entry** entry, in CreateEntry() function in content::AppCacheDiskCache
240 return (new ActiveCall(this))->CreateEntry(key, entry, callback); in CreateEntry()
348 rv = CreateEntry(iter->key, iter->entry, iter->callback); in OnCreateBackendComplete()
/external/chromium_org/net/url_request/
Durl_request_throttler_unittest.cc126 void CreateEntry(bool is_outdated) { in CreateEntry() function in net::__anon9c37f9f70111::MockURLRequestThrottlerManager
435 manager.CreateEntry(true); // true = Entry is outdated. in TEST_F()
436 manager.CreateEntry(true); in TEST_F()
437 manager.CreateEntry(true); in TEST_F()
441 manager.CreateEntry(false); in TEST_F()
442 manager.CreateEntry(false); in TEST_F()
443 manager.CreateEntry(false); in TEST_F()
444 manager.CreateEntry(true); in TEST_F()
/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_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_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_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_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/disk_cache/memory/
Dmem_backend_impl.cc144 int MemBackendImpl::CreateEntry(const std::string& key, Entry** entry, in CreateEntry() function in disk_cache::MemBackendImpl
146 if (CreateEntry(key, entry)) in CreateEntry()
238 bool MemBackendImpl::CreateEntry(const std::string& key, Entry** entry) { in CreateEntry() function in disk_cache::MemBackendImpl
244 if (!cache_entry->CreateEntry(key, net_log_)) { in CreateEntry()
Dmem_backend_impl.h70 virtual int CreateEntry(const std::string& key, Entry** entry,
93 bool CreateEntry(const std::string& key, Entry** entry);
/external/chromium_org/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_org/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_org/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));
/external/chromium_org/components/nacl/browser/
Dpnacl_translation_cache.cc85 void CreateEntry();
181 void PnaclTranslationCacheEntry::CreateEntry() { in CreateEntry() function in pnacl::PnaclTranslationCacheEntry
182 int rv = cache_->backend()->CreateEntry( in CreateEntry()
275 CreateEntry(); in DispatchNext()

123