/external/chromium/net/disk_cache/ |
storage_block_unittest.cc | 18 disk_cache::CacheEntryBlock entry1(file, disk_cache::Addr(0xa0010001)); 19 memset(entry1.Data(), 0, sizeof(disk_cache::EntryStore)); 20 entry1.Data()->hash = 0xaa5555aa; 21 entry1.Data()->rankings_node = 0xa0010002; 23 EXPECT_TRUE(entry1.Store()); 24 entry1.Data()->hash = 0x88118811; 25 entry1.Data()->rankings_node = 0xa0040009; 27 EXPECT_TRUE(entry1.Load()); 28 EXPECT_EQ(0xaa5555aa, entry1.Data()->hash); 29 EXPECT_EQ(0xa0010002, entry1.Data()->rankings_node) 58 disk_cache::CacheEntryBlock* entry1 = local [all...] |
entry_unittest.cc | 1592 disk_cache::Entry* entry1; local 1637 disk_cache::Entry *entry1, *entry2; local [all...] |
/external/chromium_org/net/disk_cache/ |
storage_block_unittest.cc | 21 CacheEntryBlock entry1(file.get(), disk_cache::Addr(0xa0010001)); 22 memset(entry1.Data(), 0, sizeof(disk_cache::EntryStore)); 23 entry1.Data()->hash = 0xaa5555aa; 24 entry1.Data()->rankings_node = 0xa0010002; 26 EXPECT_TRUE(entry1.Store()); 27 entry1.Data()->hash = 0x88118811; 28 entry1.Data()->rankings_node = 0xa0040009; 30 EXPECT_TRUE(entry1.Load()); 31 EXPECT_EQ(0xaa5555aa, entry1.Data()->hash); 32 EXPECT_EQ(0xa0010002, entry1.Data()->rankings_node) 61 CacheEntryBlock* entry1 = local [all...] |
/external/chromium/net/ftp/ |
ftp_auth_cache_unittest.cc | 42 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1); local 43 ASSERT_TRUE(entry1); 44 EXPECT_EQ(origin1, entry1->origin); 45 EXPECT_EQ(kUsername1, entry1->username); 46 EXPECT_EQ(kPassword1, entry1->password); 56 // The original entry1 should still be there. 57 EXPECT_EQ(entry1, cache.Lookup(origin1)); 101 FtpAuthCache::Entry* entry1 = cache.Lookup(GURL("ftp://HoSt:21")); local 102 ASSERT_TRUE(entry1); 103 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host:21"))) [all...] |
/external/chromium_org/net/ftp/ |
ftp_auth_cache_unittest.cc | 43 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1); local 44 ASSERT_TRUE(entry1); 45 EXPECT_EQ(origin1, entry1->origin); 46 EXPECT_EQ(kUsername1, entry1->credentials.username()); 47 EXPECT_EQ(kPassword1, entry1->credentials.password()); 57 // The original entry1 should still be there. 58 EXPECT_EQ(entry1, cache.Lookup(origin1)); 102 FtpAuthCache::Entry* entry1 = cache.Lookup(GURL("ftp://HoSt:21")); local 103 ASSERT_TRUE(entry1); 104 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host:21"))) [all...] |
/external/chromium_org/chromeos/ime/ |
candidate_window_unittest.cc | 59 CandidateWindow::Entry entry1; local 62 cw1.mutable_candidates()->push_back(entry1); 69 entry1.value = kSampleString1; 71 cw1.mutable_candidates()->push_back(entry1); 78 entry1.label = kSampleString1; 80 cw1.mutable_candidates()->push_back(entry1); 87 entry1.annotation = kSampleString1; 89 cw1.mutable_candidates()->push_back(entry1); 96 entry1.description_title = kSampleString1; 98 cw1.mutable_candidates()->push_back(entry1); [all...] |
/external/chromium_org/components/dom_distiller/core/ |
dom_distiller_model_unittest.cc | 12 ArticleEntry entry1; local 13 entry1.set_entry_id("id1"); 14 entry1.set_title("title1"); 20 initial_model.push_back(entry1); 26 EXPECT_TRUE(model.GetEntryById(entry1.entry_id(), &found_entry)); 28 EXPECT_TRUE(AreEntriesEqual(entry1, found_entry)); 38 ArticleEntry entry1; local 39 entry1.set_entry_id("id1"); 40 entry1.set_title("title1"); 41 ArticleEntryPage* page1 = entry1.add_pages() 79 ArticleEntry entry1; local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
WellBehavedMapTest.java | 66 Map.Entry<Foo, Integer> entry1 = Iterables.getOnlyElement(map.entrySet()); local 70 assertNotSame(entry1, entry2); 74 assertTrue(entrySet.contains(entry1)); 78 entry1.setValue(2); 81 assertEquals(entry1.getValue(), entry2.getValue()); 84 assertTrue(entrySet.contains(entry1));
|
ImmutableClassToInstanceMapTest.java | 161 Entry<Class, Number> entry1 = local 172 entry1, entry2, entry3, entry4, entry5
|
/external/chromium/net/base/ |
host_cache_unittest.cc | 35 const HostCache::Entry* entry1 = NULL; // Entry for foobar.com. local 43 entry1 = cache.Lookup(Key("foobar.com"), base::TimeTicks()); 44 EXPECT_FALSE(entry1 == NULL); 54 EXPECT_FALSE(NULL == entry1); 61 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); 64 // Advance to t=10; entry1 is now expired. 70 // Update entry1, so it is no longer expired. 73 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); 77 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); 119 const HostCache::Entry* entry1 = NULL; // Entry for foobar.com local 283 const HostCache::Entry* entry1 = NULL; \/\/ Entry for key1 local 321 const HostCache::Entry* entry1 = NULL; \/\/ Entry for key1 local [all...] |
/external/chromium_org/net/disk_cache/flash/ |
segment_unittest.cc | 93 SmallEntry entry1; local 94 EXPECT_TRUE(segment->CanHold(entry1.size)); 96 EXPECT_TRUE(segment->WriteData(entry1.data, entry1.size)); 104 EXPECT_EQ(entry1, entry2);
|
/external/proguard/src/proguard/ |
InputReader.java | 154 ClassPathEntry entry1 = inputClassPath.get(index1); local 155 if (!entry1.isOutput()) 161 entry2.getName().equals(entry1.getName())) 163 throw new IOException("Input jars and output jars must be different ["+entry1.getName()+"]");
|
/frameworks/ex/chips/tests/src/com/android/ex/chips/ |
RecipientAlternatesAdapterTest.java | 111 final RecipientEntry entry1 = local 115 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry1, entry2), entry1); local 116 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry2, entry1), entry1); local 121 final RecipientEntry entry1 = local 127 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry1, entry2), entry1); local 128 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry2, entry1), entry1); local 134 final RecipientEntry entry1 = local 143 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry1, entry2), entry1); local 144 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry2, entry1), entry1); local 149 final RecipientEntry entry1 = local 158 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry1, entry2), entry1); local 159 assertEquals(RecipientAlternatesAdapter.getBetterRecipient(entry2, entry1), entry1); local [all...] |
/external/chromium/chrome/browser/history/ |
starred_url_database_unittest.cc | 130 StarredEntry entry1; local 131 entry1.parent_folder_id = 100; 132 entry1.visual_order = 10; 133 entry1.url = GURL("http://google.com/1"); 134 CreateStarredEntry(&entry1); 149 ASSERT_TRUE(GetStarredEntry(entry1.id, &entry1)); 150 ASSERT_EQ(HistoryService::kBookmarkBarID, entry1.parent_folder_id); 154 ASSERT_TRUE((entry1.visual_order == 0 && entry2.visual_order == 1) || 155 (entry1.visual_order == 1 && entry2.visual_order == 0)) 162 StarredEntry entry1; local 183 StarredEntry entry1; local 216 StarredEntry entry1; local 248 StarredEntry entry1; local [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
candidate_window_controller_impl_unittest.cc | 292 InfolistWindowView::Entry entry1; local 294 entry1.title = kSampleDescriptionTitle[0]; 295 entry1.body = kSampleDescriptionBody[0]; 296 old_entry.push_back(entry1);
|
/cts/tests/tests/sax/src/android/sax/cts/ |
ElementTest.java | 43 + "<entry1><id year=\"2009\">james</id></entry1>" 49 private static final String ENTRY1 = "entry1"; 82 Element entry1 = root.getChild(ATOM_NAMESPACE, ENTRY1); local 83 entry1.getChild(ATOM_NAMESPACE, ID).setElementListener(new ElementListener() {
|
/external/chromium/chrome/browser/geolocation/ |
geolocation_exceptions_table_model.cc | 193 const Entry& entry1 = entries_[row1]; local 198 int origin_comparison = CompareOrigins(entry1.origin, entry2.origin); 201 bool entry1_origins_same = entry1.origin == entry1.embedding_origin; 207 bool embedding_origin1_empty = entry1.embedding_origin.is_empty(); 213 CompareOrigins(entry1.embedding_origin, entry2.embedding_origin);
|
/external/srec/shared/src/ |
HashMapImpl.c | 141 PHashTableEntry *entry1 = NULL; local 148 if ((rc = PHashTableEntryGetFirst(impl->table, &entry1)) != ESR_SUCCESS) 151 while (entry1 != NULL) 153 if ((rc = PHashTableEntryGetKeyValue(entry1, (void **)&key, (void **)&value)) != ESR_SUCCESS) 157 entry2 = entry1; 158 if ((rc = PHashTableEntryAdvance(&entry1)) != ESR_SUCCESS)
|
/external/chromium/chrome/browser/ssl/ |
ssl_browser_tests.cc | 375 NavigationEntry* entry1 = tab->controller().GetActiveEntry(); local 376 ASSERT_TRUE(entry1); 387 ASSERT_TRUE(entry1 == entry3); [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_metadata_storage_unittest.cc | 87 // Put entry1. 88 ResourceEntry entry1; local 89 entry1.set_local_id(key1); 90 EXPECT_TRUE(storage_->PutEntry(entry1)); 98 // Put entry2 as a child of entry1. 120 // Change entry3's parent to entry1. 124 // entry3 is a child of entry1 now. 141 keys.push_back("entry1"); 220 entries["entry1"] = cache_entry; 234 entry.set_local_id("entry1"); 338 ResourceEntry entry1; local [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
external_cache_unittest.cc | 180 const base::DictionaryValue* entry1 = NULL; local 181 ASSERT_TRUE(provided_prefs()->GetDictionary(kTestExtensionId1, &entry1)); 182 EXPECT_FALSE(entry1->HasKey( 184 EXPECT_TRUE(entry1->HasKey( 186 EXPECT_TRUE(entry1->HasKey( 189 EXPECT_TRUE(entry1->GetBoolean( 303 const base::DictionaryValue* entry1 = NULL; local 304 ASSERT_TRUE(provided_prefs()->GetDictionary(kTestExtensionId1, &entry1)); 305 EXPECT_TRUE(entry1->HasKey( 307 EXPECT_FALSE(entry1->HasKey [all...] |
/external/v8/test/cctest/ |
test-cpu-profiler.cc | 118 CodeEntry* entry1 = generator.code_map()->FindEntry(ToAddress(0x1000)); local 119 CHECK_NE(NULL, entry1); 120 CHECK_EQ(aaa_str, entry1->name());
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipFileTest.java | 125 ZipEntry entry1, entry2; local 132 entry1 = zipFile.getEntry("file-1"); 136 assertEquals("file-1", entry1.getName()); 140 stream1 = zipFile.getInputStream(entry1);
|
/external/chromium_org/content/browser/frame_host/ |
render_frame_host_manager_unittest.cc | 605 NavigationEntryImpl entry1( 609 host = manager.Navigate(entry1); 695 NavigationEntryImpl entry1(NULL /* instance */, -1 /* page_id */, kUrl1, 699 RenderViewHost* host = manager.Navigate(entry1); 1010 const NavigationEntry* entry1 = contents()->GetController().GetPendingEntry(); local [all...] |
/external/chromium_org/v8/test/cctest/ |
test-profile-generator.cc | 51 CodeEntry entry1(i::Logger::FUNCTION_TAG, "aaa"); 52 ProfileNode* childNode1 = node.FindOrAddChild(&entry1); 54 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); 59 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); 66 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); 76 CodeEntry entry1(i::Logger::FUNCTION_TAG, aaa); 77 ProfileNode* childNode1 = node.FindOrAddChild(&entry1); 79 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1)); 96 ProfileNode* Walk(CodeEntry* entry1, 100 node = node->FindChild(entry1); 405 CodeEntry* entry1 = profiles.NewCodeEntry(i::Logger::FUNCTION_TAG, "aaa"); local 471 CodeEntry* entry1 = profiles.NewCodeEntry(i::Logger::FUNCTION_TAG, "aaa"); local 519 CodeEntry* entry1 = profiles.NewCodeEntry(i::Logger::FUNCTION_TAG, "aaa"); local [all...] |