/external/chromium/chrome/browser/history/ |
D | starred_url_database_unittest.cc | 130 StarredEntry entry1; in TEST_F() local 131 entry1.parent_folder_id = 100; in TEST_F() 132 entry1.visual_order = 10; in TEST_F() 133 entry1.url = GURL("http://google.com/1"); in TEST_F() 134 CreateStarredEntry(&entry1); in TEST_F() 149 ASSERT_TRUE(GetStarredEntry(entry1.id, &entry1)); in TEST_F() 150 ASSERT_EQ(HistoryService::kBookmarkBarID, entry1.parent_folder_id); in TEST_F() 154 ASSERT_TRUE((entry1.visual_order == 0 && entry2.visual_order == 1) || in TEST_F() 155 (entry1.visual_order == 1 && entry2.visual_order == 0)); in TEST_F() 162 StarredEntry entry1; in TEST_F() local [all …]
|
/external/chromium/net/disk_cache/ |
D | storage_block_unittest.cc | 18 disk_cache::CacheEntryBlock entry1(file, disk_cache::Addr(0xa0010001)); in TEST_F() local 19 memset(entry1.Data(), 0, sizeof(disk_cache::EntryStore)); in TEST_F() 20 entry1.Data()->hash = 0xaa5555aa; in TEST_F() 21 entry1.Data()->rankings_node = 0xa0010002; in TEST_F() 23 EXPECT_TRUE(entry1.Store()); in TEST_F() 24 entry1.Data()->hash = 0x88118811; in TEST_F() 25 entry1.Data()->rankings_node = 0xa0040009; in TEST_F() 27 EXPECT_TRUE(entry1.Load()); in TEST_F() 28 EXPECT_EQ(0xaa5555aa, entry1.Data()->hash); in TEST_F() 29 EXPECT_EQ(0xa0010002, entry1.Data()->rankings_node); in TEST_F() [all …]
|
D | backend_unittest.cc | 67 disk_cache::Entry *entry1 = NULL, *entry2 = NULL; in BackendBasics() local 68 EXPECT_NE(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics() 69 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics() 70 ASSERT_TRUE(NULL != entry1); in BackendBasics() 71 entry1->Close(); in BackendBasics() 72 entry1 = NULL; in BackendBasics() 74 ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics() 75 ASSERT_TRUE(NULL != entry1); in BackendBasics() 76 entry1->Close(); in BackendBasics() 77 entry1 = NULL; in BackendBasics() [all …]
|
/external/chromium_org/net/disk_cache/ |
D | storage_block_unittest.cc | 21 CacheEntryBlock entry1(file.get(), disk_cache::Addr(0xa0010001)); in TEST_F() local 22 memset(entry1.Data(), 0, sizeof(disk_cache::EntryStore)); in TEST_F() 23 entry1.Data()->hash = 0xaa5555aa; in TEST_F() 24 entry1.Data()->rankings_node = 0xa0010002; in TEST_F() 26 EXPECT_TRUE(entry1.Store()); in TEST_F() 27 entry1.Data()->hash = 0x88118811; in TEST_F() 28 entry1.Data()->rankings_node = 0xa0040009; in TEST_F() 30 EXPECT_TRUE(entry1.Load()); in TEST_F() 31 EXPECT_EQ(0xaa5555aa, entry1.Data()->hash); in TEST_F() 32 EXPECT_EQ(0xa0010002, entry1.Data()->rankings_node); in TEST_F() [all …]
|
D | backend_unittest.cc | 180 disk_cache::Entry* entry1 = NULL; in InitSparseCache() local 199 ASSERT_EQ(net::OK, CreateEntry("first", &entry1)); in InitSparseCache() 200 ASSERT_EQ(kSize, WriteSparseData(entry1, 0, buffer.get(), kSize)); in InitSparseCache() 202 WriteSparseData(entry1, kOffset + kSize, buffer.get(), kSize)); in InitSparseCache() 203 entry1->Close(); in InitSparseCache() 277 disk_cache::Entry *entry1 = NULL, *entry2 = NULL; in BackendBasics() local 278 EXPECT_NE(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics() 279 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics() 280 ASSERT_TRUE(NULL != entry1); in BackendBasics() 281 entry1->Close(); in BackendBasics() [all …]
|
D | entry_unittest.cc | 1447 disk_cache::Entry* entry1; in DoomEntryNextToOpenEntry() local 1449 ASSERT_EQ(net::OK, CreateEntry("fixed", &entry1)); in DoomEntryNextToOpenEntry() 1450 entry1->Close(); in DoomEntryNextToOpenEntry() 1451 ASSERT_EQ(net::OK, CreateEntry("foo", &entry1)); in DoomEntryNextToOpenEntry() 1452 entry1->Close(); in DoomEntryNextToOpenEntry() 1453 ASSERT_EQ(net::OK, CreateEntry("bar", &entry1)); in DoomEntryNextToOpenEntry() 1454 entry1->Close(); in DoomEntryNextToOpenEntry() 1456 ASSERT_EQ(net::OK, OpenEntry("foo", &entry1)); in DoomEntryNextToOpenEntry() 1464 entry1->Close(); in DoomEntryNextToOpenEntry() 1466 ASSERT_EQ(net::OK, OpenEntry("fixed", &entry1)); in DoomEntryNextToOpenEntry() [all …]
|
/external/chromium_org/components/dom_distiller/core/ |
D | dom_distiller_model_unittest.cc | 12 ArticleEntry entry1; in TEST() local 13 entry1.set_entry_id("id1"); in TEST() 14 entry1.set_title("title1"); in TEST() 20 initial_model.push_back(entry1); in TEST() 26 EXPECT_TRUE(model.GetEntryById(entry1.entry_id(), &found_entry)); in TEST() 28 EXPECT_TRUE(AreEntriesEqual(entry1, found_entry)); in TEST() 38 ArticleEntry entry1; in TEST() local 39 entry1.set_entry_id("id1"); in TEST() 40 entry1.set_title("title1"); in TEST() 41 ArticleEntryPage* page1 = entry1.add_pages(); in TEST() [all …]
|
/external/chromium_org/v8/test/cctest/ |
D | test-profile-generator.cc | 51 CodeEntry entry1(i::Logger::FUNCTION_TAG, "aaa"); in TEST() local 52 ProfileNode* childNode1 = node.FindOrAddChild(&entry1); in TEST() 54 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); in TEST() 59 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); in TEST() 66 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); in TEST() 76 CodeEntry entry1(i::Logger::FUNCTION_TAG, aaa); in TEST() local 77 ProfileNode* childNode1 = node.FindOrAddChild(&entry1); in TEST() 79 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); in TEST() 96 ProfileNode* Walk(CodeEntry* entry1, in Walk() argument 100 node = node->FindChild(entry1); in Walk() [all …]
|
/external/v8/test/cctest/ |
D | test-profile-generator.cc | 64 CodeEntry entry1(i::Logger::FUNCTION_TAG, "", "aaa", "", 0, in TEST() local 66 ProfileNode* childNode1 = node.FindOrAddChild(&entry1); in TEST() 68 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); in TEST() 74 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); in TEST() 82 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); in TEST() 92 CodeEntry entry1(i::Logger::FUNCTION_TAG, empty, aaa, empty, 0, in TEST() local 94 ProfileNode* childNode1 = node.FindOrAddChild(&entry1); in TEST() 96 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); in TEST() 115 ProfileNode* Walk(CodeEntry* entry1, in Walk() argument 119 node = node->FindChild(entry1); in Walk() [all …]
|
/external/chromium_org/chrome/browser/network_time/ |
D | navigation_time_helper_unittest.cc | 27 scoped_ptr<content::NavigationEntry> entry1( in TEST() local 29 entry1->SetTimestamp(base::Time::Now()); in TEST() 31 EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(1), in TEST() 32 time_helper.GetNavigationTime(entry1.get())); in TEST() 36 EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(1), in TEST() 37 time_helper.GetNavigationTime(entry1.get())); in TEST() 41 content::NavigationEntry::Create(*entry1)); in TEST() 46 entry1->SetTimestamp( in TEST() 47 entry1->GetTimestamp() + base::TimeDelta::FromSeconds(1)); in TEST() 48 EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(2), in TEST() [all …]
|
/external/chromium_org/chromeos/ime/ |
D | candidate_window_unittest.cc | 59 CandidateWindow::Entry entry1; in TEST() local 62 cw1.mutable_candidates()->push_back(entry1); in TEST() 69 entry1.value = kSampleString1; in TEST() 71 cw1.mutable_candidates()->push_back(entry1); in TEST() 78 entry1.label = kSampleString1; in TEST() 80 cw1.mutable_candidates()->push_back(entry1); in TEST() 87 entry1.annotation = kSampleString1; in TEST() 89 cw1.mutable_candidates()->push_back(entry1); in TEST() 96 entry1.description_title = kSampleString1; in TEST() 98 cw1.mutable_candidates()->push_back(entry1); in TEST() [all …]
|
/external/chromium/net/ftp/ |
D | ftp_auth_cache_unittest.cc | 42 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1); in TEST() local 43 ASSERT_TRUE(entry1); in TEST() 44 EXPECT_EQ(origin1, entry1->origin); in TEST() 45 EXPECT_EQ(kUsername1, entry1->username); in TEST() 46 EXPECT_EQ(kPassword1, entry1->password); in TEST() 57 EXPECT_EQ(entry1, cache.Lookup(origin1)); in TEST() 101 FtpAuthCache::Entry* entry1 = cache.Lookup(GURL("ftp://HoSt:21")); in TEST() local 102 ASSERT_TRUE(entry1); in TEST() 103 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host:21"))); in TEST() 104 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host"))); in TEST()
|
/external/chromium/net/base/ |
D | host_cache_unittest.cc | 35 const HostCache::Entry* entry1 = NULL; // Entry for foobar.com. in TEST() local 43 entry1 = cache.Lookup(Key("foobar.com"), base::TimeTicks()); in TEST() 44 EXPECT_FALSE(entry1 == NULL); in TEST() 54 EXPECT_FALSE(NULL == entry1); in TEST() 61 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); in TEST() 73 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); in TEST() 77 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); in TEST() 119 const HostCache::Entry* entry1 = NULL; // Entry for foobar.com. in TEST() local 127 entry1 = cache.Lookup(Key("foobar.com"), base::TimeTicks()); in TEST() 128 EXPECT_FALSE(entry1 == NULL); in TEST() [all …]
|
/external/chromium_org/net/ftp/ |
D | ftp_auth_cache_unittest.cc | 43 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1); in TEST() local 44 ASSERT_TRUE(entry1); in TEST() 45 EXPECT_EQ(origin1, entry1->origin); in TEST() 46 EXPECT_EQ(kUsername1, entry1->credentials.username()); in TEST() 47 EXPECT_EQ(kPassword1, entry1->credentials.password()); in TEST() 58 EXPECT_EQ(entry1, cache.Lookup(origin1)); in TEST() 102 FtpAuthCache::Entry* entry1 = cache.Lookup(GURL("ftp://HoSt:21")); in TEST() local 103 ASSERT_TRUE(entry1); in TEST() 104 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host:21"))); in TEST() 105 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host"))); in TEST()
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
D | external_cache_unittest.cc | 180 const base::DictionaryValue* entry1 = NULL; in TEST_F() local 181 ASSERT_TRUE(provided_prefs()->GetDictionary(kTestExtensionId1, &entry1)); in TEST_F() 182 EXPECT_FALSE(entry1->HasKey( in TEST_F() 184 EXPECT_TRUE(entry1->HasKey( in TEST_F() 186 EXPECT_TRUE(entry1->HasKey( in TEST_F() 189 EXPECT_TRUE(entry1->GetBoolean( in TEST_F() 303 const base::DictionaryValue* entry1 = NULL; in TEST_F() local 304 ASSERT_TRUE(provided_prefs()->GetDictionary(kTestExtensionId1, &entry1)); in TEST_F() 305 EXPECT_TRUE(entry1->HasKey( in TEST_F() 307 EXPECT_FALSE(entry1->HasKey( in TEST_F() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | WellBehavedMapTest.java | 66 Map.Entry<Foo, Integer> entry1 = Iterables.getOnlyElement(map.entrySet()); in testEntriesAreMutableAndConsistent() local 70 assertNotSame(entry1, entry2); in testEntriesAreMutableAndConsistent() 74 assertTrue(entrySet.contains(entry1)); in testEntriesAreMutableAndConsistent() 78 entry1.setValue(2); in testEntriesAreMutableAndConsistent() 81 assertEquals(entry1.getValue(), entry2.getValue()); in testEntriesAreMutableAndConsistent() 84 assertTrue(entrySet.contains(entry1)); in testEntriesAreMutableAndConsistent()
|
/external/chromium/chrome/browser/geolocation/ |
D | geolocation_exceptions_table_model.cc | 193 const Entry& entry1 = entries_[row1]; in CompareValues() local 198 int origin_comparison = CompareOrigins(entry1.origin, entry2.origin); in CompareValues() 201 bool entry1_origins_same = entry1.origin == entry1.embedding_origin; in CompareValues() 207 bool embedding_origin1_empty = entry1.embedding_origin.is_empty(); in CompareValues() 213 CompareOrigins(entry1.embedding_origin, entry2.embedding_origin); in CompareValues()
|
/external/proguard/src/proguard/ |
D | InputReader.java | 154 ClassPathEntry entry1 = inputClassPath.get(index1); in checkInputOutput() local 155 if (!entry1.isOutput()) in checkInputOutput() 161 entry2.getName().equals(entry1.getName())) in checkInputOutput() 163 … throw new IOException("Input jars and output jars must be different ["+entry1.getName()+"]"); in checkInputOutput()
|
/external/chromium_org/net/disk_cache/flash/ |
D | segment_unittest.cc | 93 SmallEntry entry1; in TEST_F() local 94 EXPECT_TRUE(segment->CanHold(entry1.size)); in TEST_F() 96 EXPECT_TRUE(segment->WriteData(entry1.data, entry1.size)); in TEST_F() 104 EXPECT_EQ(entry1, entry2); in TEST_F()
|
/external/srec/shared/src/ |
D | HashMapImpl.c | 141 PHashTableEntry *entry1 = NULL; in HashMap_RemoveAll_Internal() local 148 if ((rc = PHashTableEntryGetFirst(impl->table, &entry1)) != ESR_SUCCESS) in HashMap_RemoveAll_Internal() 151 while (entry1 != NULL) in HashMap_RemoveAll_Internal() 153 if ((rc = PHashTableEntryGetKeyValue(entry1, (void **)&key, (void **)&value)) != ESR_SUCCESS) in HashMap_RemoveAll_Internal() 157 entry2 = entry1; in HashMap_RemoveAll_Internal() 158 if ((rc = PHashTableEntryAdvance(&entry1)) != ESR_SUCCESS) in HashMap_RemoveAll_Internal()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | session_model_associator_unittest.cc | 325 scoped_ptr<content::NavigationEntry> entry1( in TEST_F() local 327 entry1->SetVirtualURL(GURL("http://www.google.com")); in TEST_F() 328 entry1->SetTimestamp(kTime1); in TEST_F() 329 entry1->SetHttpStatusCode(200); in TEST_F() 342 Return(entry1.get())); in TEST_F() 375 EXPECT_EQ(entry1->GetVirtualURL(), in TEST_F() 401 scoped_ptr<content::NavigationEntry> entry1( in TEST_F() local 403 entry1->SetVirtualURL(GURL("http://www.google.com")); in TEST_F() 404 entry1->SetTimestamp(kTime1); in TEST_F() 407 Return(entry1.get())); in TEST_F() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
D | OriginAccessEntryTest.cpp | 73 …OriginAccessEntry entry1("http", "google.com", OriginAccessEntry::AllowSubdomains, OriginAccessEnt… in TEST() local 76 EXPECT_EQ(OriginAccessEntry::MatchesOrigin, entry1.matchesOrigin(*origin)); in TEST()
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | document_parser_test.py | 169 entry0, entry1, entry2, entry3 = entries 183 self.assertEqual('Grapefruit', entry1.name) 184 self.assertEqual({}, entry1.attributes) 185 self.assertEqual([], entry1.entries)
|
/external/chromium_org/content/browser/frame_host/ |
D | render_frame_host_manager_unittest.cc | 605 NavigationEntryImpl entry1( in TEST_F() local 609 host = manager.Navigate(entry1); in TEST_F() 695 NavigationEntryImpl entry1(NULL /* instance */, -1 /* page_id */, kUrl1, in TEST_F() local 699 RenderViewHost* host = manager.Navigate(entry1); in TEST_F() 887 NavigationEntryImpl entry1(NULL /* instance */, -1 /* page_id */, kUrl1, in TEST_F() local 891 RenderViewHost* host1 = manager1.Navigate(entry1); in TEST_F() 1010 const NavigationEntry* entry1 = contents()->GetController().GetPendingEntry(); in TEST_F() local 1011 rvh1->SendNavigate(entry1->GetPageID(), entry1->GetURL()); in TEST_F() 1203 NavigationEntryImpl entry1( in TEST_F() local 1207 host = manager.Navigate(entry1); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
D | candidate_window_controller_impl_unittest.cc | 292 InfolistWindowView::Entry entry1; in TEST_F() local 294 entry1.title = kSampleDescriptionTitle[0]; in TEST_F() 295 entry1.body = kSampleDescriptionBody[0]; in TEST_F() 296 old_entry.push_back(entry1); in TEST_F()
|