/external/chromium_org/components/dom_distiller/core/ |
dom_distiller_model_unittest.cc | 15 ArticleEntry entry2; local 16 entry2.set_entry_id("id2"); 17 entry2.set_title("title1"); 21 initial_model.push_back(entry2); 30 EXPECT_TRUE(model.GetEntryById(entry2.entry_id(), &found_entry)); 32 EXPECT_TRUE(AreEntriesEqual(entry2, found_entry)); 46 ArticleEntry entry2; local 47 entry2.set_entry_id("id2"); 48 entry2.set_title("title1"); 49 ArticleEntryPage* page3 = entry2.add_pages() 87 ArticleEntry entry2; local [all...] |
/external/chromium/chrome/browser/history/ |
starred_url_database_unittest.cc | 136 StarredEntry entry2; local 137 entry2.parent_folder_id = 101; 138 entry2.visual_order = 20; 139 entry2.url = GURL("http://google.com/2"); 140 CreateStarredEntry(&entry2); 152 ASSERT_TRUE(GetStarredEntry(entry2.id, &entry2)); 153 ASSERT_EQ(HistoryService::kBookmarkBarID, entry2.parent_folder_id); 154 ASSERT_TRUE((entry1.visual_order == 0 && entry2.visual_order == 1) || 155 (entry1.visual_order == 1 && entry2.visual_order == 0)) 190 StarredEntry entry2; local 223 StarredEntry entry2; local 253 StarredEntry entry2 = entry1; local [all...] |
/external/chromium/net/disk_cache/ |
storage_block_unittest.cc | 41 disk_cache::CacheEntryBlock entry2(file, disk_cache::Addr(0xa0010002)); 42 EXPECT_TRUE(entry2.Load()); 43 EXPECT_TRUE(entry2.Data() != NULL); 44 EXPECT_TRUE(0 == entry2.Data()->hash); 46 EXPECT_TRUE(entry2.Data() != entry1.Data()); 47 entry2.SetData(entry1.Data()); 48 EXPECT_EQ(0xaa5555aa, entry2.Data()->hash); 49 EXPECT_TRUE(entry2.Data() == entry1.Data()); 66 disk_cache::CacheEntryBlock entry2(file, disk_cache::Addr(0xa0010003)); 67 EXPECT_TRUE(entry2.Load()) [all...] |
backend_unittest.cc | 67 disk_cache::Entry *entry1 = NULL, *entry2 = NULL; local 81 EXPECT_NE(net::OK, OpenEntry("some other key", &entry2)); 82 ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); 84 ASSERT_TRUE(NULL != entry2); 90 EXPECT_TRUE(entry2 == entry3); 96 entry2->Close(); 103 ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); 108 entry2->Close(); 134 disk_cache::Entry *entry1, *entry2; local 137 ASSERT_EQ(net::OK, CreateEntry(kName2, &entry2)); 404 disk_cache::Entry* entry2; local 912 disk_cache::Entry *entry1, *entry2; local 978 disk_cache::Entry *entry, *entry1, *entry2; local 1037 disk_cache::Entry *entry1, *entry2; local 1357 disk_cache::Entry *entry1, *entry2; local 1505 disk_cache::Entry *entry1, *entry2; local 1536 disk_cache::Entry *entry1, *entry2; local 1605 disk_cache::Entry *entry1, *entry2; local 1712 disk_cache::Entry *entry1, *entry2; local 1746 disk_cache::Entry *entry1, *entry2, *entry3, *entry4; local 1832 disk_cache::Entry *entry1, *entry2; local [all...] |
/external/chromium_org/net/disk_cache/ |
storage_block_unittest.cc | 44 CacheEntryBlock entry2(file.get(), disk_cache::Addr(0xa0010002)); 45 EXPECT_TRUE(entry2.Load()); 46 EXPECT_TRUE(entry2.Data() != NULL); 47 EXPECT_TRUE(0 == entry2.Data()->hash); 49 EXPECT_TRUE(entry2.Data() != entry1.Data()); 50 entry2.SetData(entry1.Data()); 51 EXPECT_EQ(0xaa5555aa, entry2.Data()->hash); 52 EXPECT_TRUE(entry2.Data() == entry1.Data()); 69 CacheEntryBlock entry2(file.get(), disk_cache::Addr(0xa0010003)); 70 EXPECT_TRUE(entry2.Load()) [all...] |
backend_unittest.cc | 181 disk_cache::Entry* entry2 = NULL; local 205 ASSERT_EQ(net::OK, CreateEntry("second", &entry2)); 206 ASSERT_EQ(kSize, WriteSparseData(entry2, 0, buffer.get(), kSize)); 208 WriteSparseData(entry2, kOffset + kSize, buffer.get(), kSize)); 209 entry2->Close(); 277 disk_cache::Entry *entry1 = NULL, *entry2 = NULL; local 291 EXPECT_NE(net::OK, OpenEntry("some other key", &entry2)); 292 ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); 294 ASSERT_TRUE(NULL != entry2); 300 EXPECT_TRUE(entry2 == entry3) 349 disk_cache::Entry *entry1, *entry2; local 735 disk_cache::Entry* entry2; local 1294 disk_cache::Entry *entry1, *entry2; local 1365 disk_cache::Entry *entry1, *entry2; local 1400 disk_cache::Entry *entry, *entry1, *entry2; local 1460 disk_cache::Entry *entry1, *entry2; local 1979 disk_cache::Entry *entry1, *entry2; local 2455 disk_cache::Entry *entry1, *entry2; local 2520 disk_cache::Entry *entry1, *entry2; local 2619 disk_cache::Entry *entry1, *entry2; local 2653 disk_cache::Entry *entry1, *entry2, *entry3, *entry4; local 2762 disk_cache::Entry *entry1, *entry2; local [all...] |
/external/chromium_org/chromeos/ime/ |
candidate_window_unittest.cc | 60 CandidateWindow::Entry entry2; local 65 cw2.mutable_candidates()->push_back(entry2); 70 entry2.value = kSampleString2; 72 cw2.mutable_candidates()->push_back(entry2); 79 entry2.label = kSampleString2; 81 cw2.mutable_candidates()->push_back(entry2); 88 entry2.annotation = kSampleString2; 90 cw2.mutable_candidates()->push_back(entry2); 97 entry2.description_title = kSampleString2; 99 cw2.mutable_candidates()->push_back(entry2); [all...] |
/frameworks/ex/chips/tests/src/com/android/ex/chips/ |
RecipientAlternatesAdapterTest.java | 113 final RecipientEntry entry2 = null; local 115 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry1, entry2), entry1); 116 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry2, entry1), entry1); 125 final RecipientEntry entry2 = RecipientEntry.constructFakeEntry("1@android.com", true); local 127 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry1, entry2), entry1); 128 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry2, entry1), entry1); 138 final RecipientEntry entry2 = local 143 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry1, entry2), entry1); 144 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry2, entry1), entry1); 153 final RecipientEntry entry2 local [all...] |
/external/v8/test/cctest/ |
test-profile-generator.cc | 69 CodeEntry entry2(i::Logger::FUNCTION_TAG, "", "bbb", "", 0, 71 ProfileNode* childNode2 = node.FindOrAddChild(&entry2); 75 CHECK_EQ(childNode2, node.FindOrAddChild(&entry2)); 83 CHECK_EQ(childNode2, node.FindOrAddChild(&entry2)); 98 CodeEntry entry2(i::Logger::FUNCTION_TAG, empty, aaa, empty, 0, 100 CHECK_EQ(childNode1, node.FindOrAddChild(&entry2)); 116 CodeEntry* entry2 = NULL, 121 if (entry2 != NULL) { 122 node = node->FindChild(entry2); 140 CodeEntry entry2(i::Logger::FUNCTION_TAG, "", "bbb", "", 0 588 CodeEntry* entry2 = generator.NewCodeEntry(i::Logger::FUNCTION_TAG, "bbb"); local [all...] |
/system/media/camera/docs/ |
metadata_model_test.py | 18 entry2 = Entry(name="entry2", type="int32", kind="static", 27 ins1a._entries = [entry2] 47 self.assertIn(entry2, new_ins.entries) 64 entry2 = Entry(name="entry2", type="int32", kind="static", 71 kind_dynamic._entries = [entry2] 84 self.assertIn(entry2, combined_kind.entries) 98 entry2 = Entry(name="entry2", type="int32", kind="static" [all...] |
/external/chromium_org/v8/test/cctest/ |
test-profile-generator.cc | 55 CodeEntry entry2(i::Logger::FUNCTION_TAG, "bbb"); 56 ProfileNode* childNode2 = node.FindOrAddChild(&entry2); 60 CHECK_EQ(childNode2, node.FindOrAddChild(&entry2)); 67 CHECK_EQ(childNode2, node.FindOrAddChild(&entry2)); 81 CodeEntry entry2(i::Logger::FUNCTION_TAG, aaa); 82 CHECK_EQ(childNode1, node.FindOrAddChild(&entry2)); 97 CodeEntry* entry2 = NULL, 102 if (entry2 != NULL) { 103 node = node->FindChild(entry2); 120 CodeEntry entry2(i::Logger::FUNCTION_TAG, "bbb") 406 CodeEntry* entry2 = profiles.NewCodeEntry(i::Logger::FUNCTION_TAG, "bbb"); local 472 CodeEntry* entry2 = profiles.NewCodeEntry(i::Logger::FUNCTION_TAG, "bbb"); local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
OriginAccessEntryTest.cpp | 74 OriginAccessEntry entry2("http", "hamster.com", OriginAccessEntry::AllowSubdomains, OriginAccessEntry::TreatIPAddressAsIPAddress); 77 EXPECT_EQ(OriginAccessEntry::DoesNotMatchOrigin, entry2.matchesOrigin(*origin));
|
/external/chromium_org/chrome/browser/network_time/ |
navigation_time_helper_unittest.cc | 40 scoped_ptr<content::NavigationEntry> entry2( 42 EXPECT_EQ(entry2->GetTimestamp() + base::TimeDelta::FromHours(2), 43 time_helper.GetNavigationTime(entry2.get()));
|
/external/chromium/net/ftp/ |
ftp_auth_cache_unittest.cc | 50 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2); local 51 ASSERT_TRUE(entry2); 52 EXPECT_EQ(origin2, entry2->origin); 53 EXPECT_EQ(kUsername2, entry2->username); 54 EXPECT_EQ(kPassword2, entry2->password); 108 FtpAuthCache::Entry* entry2 = cache.Lookup(GURL("ftp://HoSt:21")); local 109 ASSERT_TRUE(entry2); 110 EXPECT_EQ(GURL("ftp://host"), entry2->origin); 111 EXPECT_EQ(kOthername, entry2->username); 112 EXPECT_EQ(kOtherword, entry2->password) [all...] |
/external/chromium_org/net/ftp/ |
ftp_auth_cache_unittest.cc | 51 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2); local 52 ASSERT_TRUE(entry2); 53 EXPECT_EQ(origin2, entry2->origin); 54 EXPECT_EQ(kUsername2, entry2->credentials.username()); 55 EXPECT_EQ(kPassword2, entry2->credentials.password()); 109 FtpAuthCache::Entry* entry2 = cache.Lookup(GURL("ftp://HoSt:21")); local 110 ASSERT_TRUE(entry2); 111 EXPECT_EQ(GURL("ftp://host"), entry2->origin); 112 EXPECT_EQ(kOthername, entry2->credentials.username()); 113 EXPECT_EQ(kOtherword, entry2->credentials.password()) [all...] |
/external/chromium_org/third_party/angle/src/compiler/ |
UnfoldShortCircuitAST.cpp | 75 NodeUpdateEntry& entry2 = replacements[jj]; local 76 if (entry2.parent == entry.original) 77 entry2.parent = entry.replacement;
|
/cts/tests/tests/sax/src/android/sax/cts/ |
ElementTest.java | 44 + "<entry2 year=\"2000\"><id>jim</id></entry2>" 50 private static final String ENTRY2 = "entry2"; 94 Element entry2 = root.requireChild(ATOM_NAMESPACE, ENTRY2); local 95 entry2.setStartElementListener(new StartElementListener() { 101 entry2.setEndElementListener(new EndElementListener() { 106 entry2.getChild(ATOM_NAMESPACE, ID).setTextElementListener(new TextElementListener() {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
WellBehavedMapTest.java | 67 Map.Entry<Foo, Integer> entry2 = Iterables.getOnlyElement(map.entrySet()); local 70 assertNotSame(entry1, entry2); 75 assertTrue(entrySet.contains(entry2)); 80 // entry2 is also modified 81 assertEquals(entry1.getValue(), entry2.getValue()); 85 assertTrue(entrySet.contains(entry2));
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
candidate_window_controller_impl_unittest.cc | 293 InfolistWindowView::Entry entry2; local 299 entry2.title = kSampleDescriptionTitle[1]; 300 entry2.body = kSampleDescriptionBody[1]; 301 new_entry.push_back(entry2); 310 entry2.title = kSampleDescriptionTitle[1]; 311 entry2.body = kSampleDescriptionBody[0]; 312 new_entry.push_back(entry2); 321 entry2.title = kSampleDescriptionTitle[0]; 322 entry2.body = kSampleDescriptionBody[1]; 323 new_entry.push_back(entry2); [all...] |
/external/chromium/net/base/ |
host_cache_unittest.cc | 36 const HostCache::Entry* entry2 = NULL; // Entry for foobar2.com. local 53 entry2 = cache.Lookup(Key("foobar2.com"), base::TimeTicks()); 62 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now)); 68 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now)); 78 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now)); 120 const HostCache::Entry* entry2 = NULL; // Entry for foobar2.com. local 137 entry2 = cache.Lookup(Key("foobar2.com"), base::TimeTicks()); 146 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now)); 152 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now)); 162 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now)) 284 const HostCache::Entry* entry2 = NULL; \/\/ Entry for key2 local 322 const HostCache::Entry* entry2 = NULL; \/\/ Entry for key2 local [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientAlternatesAdapter.java | 258 * contains more complete information for display purposes. Defaults to <code>entry2</code> if 262 final RecipientEntry entry2) { 264 if (entry2 == null) { 269 return entry2; 274 && TextUtils.isEmpty(entry2.getDisplayName())) { 278 if (!TextUtils.isEmpty(entry2.getDisplayName()) 280 return entry2; 285 && TextUtils.equals(entry2.getDisplayName(), entry2.getDestination())) { 289 if (!TextUtils.equals(entry2.getDisplayName(), entry2.getDestination() [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipFileTest.java | 125 ZipEntry entry1, entry2; local 133 entry2 = zipFile.getEntry("file-2"); 137 assertEquals("file-2", entry2.getName()); 141 stream2 = zipFile.getInputStream(entry2);
|
/external/chromium/chrome/browser/geolocation/ |
geolocation_exceptions_table_model.cc | 194 const Entry& entry2 = entries_[row2]; local 198 int origin_comparison = CompareOrigins(entry1.origin, entry2.origin); 202 bool entry2_origins_same = entry2.origin == entry2.embedding_origin; 208 bool embedding_origin2_empty = entry2.embedding_origin.is_empty(); 213 CompareOrigins(entry1.embedding_origin, entry2.embedding_origin);
|
/external/proguard/src/proguard/ |
InputReader.java | 159 ClassPathEntry entry2 = outputClassPath.get(index2); local 160 if (entry2.isOutput() && 161 entry2.getName().equals(entry1.getName()))
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
external_cache_unittest.cc | 219 const base::DictionaryValue* entry2 = NULL; local 220 ASSERT_TRUE(provided_prefs()->GetDictionary(kTestExtensionId2, &entry2)); 221 EXPECT_FALSE(entry2->HasKey( 223 EXPECT_TRUE(entry2->HasKey( 225 EXPECT_TRUE(entry2->HasKey( 228 EXPECT_TRUE(entry2->GetBoolean(
|