Home
last modified time | relevance | path

Searched refs:entry2 (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium_org/components/dom_distiller/core/
Ddom_distiller_model_unittest.cc15 ArticleEntry entry2; in TEST() local
16 entry2.set_entry_id("id2"); in TEST()
17 entry2.set_title("title1"); in TEST()
21 initial_model.push_back(entry2); in TEST()
30 EXPECT_TRUE(model.GetEntryById(entry2.entry_id(), &found_entry)); in TEST()
32 EXPECT_TRUE(AreEntriesEqual(entry2, found_entry)); in TEST()
46 ArticleEntry entry2; in TEST() local
47 entry2.set_entry_id("id2"); in TEST()
48 entry2.set_title("title1"); in TEST()
49 ArticleEntryPage* page3 = entry2.add_pages(); in TEST()
[all …]
/external/chromium_org/v8/test/cctest/
Dtest-profile-generator.cc57 CodeEntry entry2(i::Logger::FUNCTION_TAG, "bbb"); in TEST() local
58 ProfileNode* childNode2 = node->FindOrAddChild(&entry2); in TEST()
62 CHECK_EQ(childNode2, node->FindOrAddChild(&entry2)); in TEST()
69 CHECK_EQ(childNode2, node->FindOrAddChild(&entry2)); in TEST()
83 CodeEntry entry2(i::Logger::FUNCTION_TAG, aaa); in TEST() local
84 CHECK_EQ(childNode1, node->FindOrAddChild(&entry2)); in TEST()
99 CodeEntry* entry2 = NULL, in Walk() argument
104 if (entry2 != NULL) { in Walk()
105 node = node->FindChild(entry2); in Walk()
122 CodeEntry entry2(i::Logger::FUNCTION_TAG, "bbb"); in TEST() local
[all …]
/external/chromium_org/net/disk_cache/blockfile/
Dstorage_block_unittest.cc44 CacheEntryBlock entry2(file.get(), disk_cache::Addr(0xa0010002)); in TEST_F() local
45 EXPECT_TRUE(entry2.Load()); in TEST_F()
46 EXPECT_TRUE(entry2.Data() != NULL); in TEST_F()
47 EXPECT_TRUE(0 == entry2.Data()->hash); in TEST_F()
49 EXPECT_TRUE(entry2.Data() != entry1.Data()); in TEST_F()
50 entry2.SetData(entry1.Data()); in TEST_F()
51 EXPECT_EQ(0xaa5555aa, entry2.Data()->hash); in TEST_F()
52 EXPECT_TRUE(entry2.Data() == entry1.Data()); in TEST_F()
69 CacheEntryBlock entry2(file.get(), disk_cache::Addr(0xa0010003)); in TEST_F() local
70 EXPECT_TRUE(entry2.Load()); in TEST_F()
[all …]
/external/chromium_org/net/spdy/
Dhpack_header_table_test.cc213 const HpackEntry* entry2 = in TEST_F() local
227 EXPECT_EQ(entry2, table_.GetByIndex(67)); in TEST_F()
234 EXPECT_EQ(entry2->name(), in TEST_F()
247 EXPECT_EQ(entry2, table_.GetByNameAndValue(first_static_entry->name(), in TEST_F()
258 EXPECT_EQ(entry2, table_.GetByNameAndValue(first_static_entry->name(), in TEST_F()
270 const HpackEntry* entry2 = table_.TryAddEntry(key, value); in TEST_F() local
274 size_t max_size = entry1->Size() + entry2->Size() + entry3->Size(); in TEST_F()
279 max_size = entry1->Size() + entry2->Size() + entry3->Size() - 1; in TEST_F()
304 const HpackEntry* entry2 = table_.TryAddEntry(key, value); in TEST_F() local
308 table_.SetMaxSize(entry1->Size() + entry2->Size() + entry3_size); in TEST_F()
[all …]
/external/chromium_org/net/ftp/
Dftp_auth_cache_unittest.cc52 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2); in TEST() local
53 ASSERT_TRUE(entry2); in TEST()
54 EXPECT_EQ(origin2, entry2->origin); in TEST()
55 EXPECT_EQ(kUsername2, entry2->credentials.username()); in TEST()
56 EXPECT_EQ(kPassword2, entry2->credentials.password()); in TEST()
110 FtpAuthCache::Entry* entry2 = cache.Lookup(GURL("ftp://HoSt:21")); in TEST() local
111 ASSERT_TRUE(entry2); in TEST()
112 EXPECT_EQ(GURL("ftp://host"), entry2->origin); in TEST()
113 EXPECT_EQ(kOthername, entry2->credentials.username()); in TEST()
114 EXPECT_EQ(kOtherword, entry2->credentials.password()); in TEST()
/external/chromium_org/ui/base/ime/
Dcandidate_window_unittest.cc81 CandidateWindow::Entry entry2; in TEST() local
86 cw2.mutable_candidates()->push_back(entry2); in TEST()
91 entry2.value = kSampleString2; in TEST()
93 cw2.mutable_candidates()->push_back(entry2); in TEST()
100 entry2.label = kSampleString2; in TEST()
102 cw2.mutable_candidates()->push_back(entry2); in TEST()
109 entry2.annotation = kSampleString2; in TEST()
111 cw2.mutable_candidates()->push_back(entry2); in TEST()
118 entry2.description_title = kSampleString2; in TEST()
120 cw2.mutable_candidates()->push_back(entry2); in TEST()
[all …]
/external/chromium_org/net/disk_cache/
Dbackend_unittest.cc183 disk_cache::Entry* entry2 = NULL; in InitSparseCache() local
207 ASSERT_EQ(net::OK, CreateEntry("second", &entry2)); in InitSparseCache()
208 ASSERT_EQ(kSize, WriteSparseData(entry2, 0, buffer.get(), kSize)); in InitSparseCache()
210 WriteSparseData(entry2, kOffset + kSize, buffer.get(), kSize)); in InitSparseCache()
211 entry2->Close(); in InitSparseCache()
281 disk_cache::Entry *entry1 = NULL, *entry2 = NULL; in BackendBasics() local
295 EXPECT_NE(net::OK, OpenEntry("some other key", &entry2)); in BackendBasics()
296 ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); in BackendBasics()
298 ASSERT_TRUE(NULL != entry2); in BackendBasics()
304 EXPECT_TRUE(entry2 == entry3); in BackendBasics()
[all …]
Dentry_unittest.cc1483 disk_cache::Entry* entry2; in DoomEntryNextToOpenEntry() local
1492 ASSERT_EQ(net::OK, OpenEntry("bar", &entry2)); in DoomEntryNextToOpenEntry()
1493 entry2->Doom(); in DoomEntryNextToOpenEntry()
1494 entry2->Close(); in DoomEntryNextToOpenEntry()
1496 ASSERT_EQ(net::OK, OpenEntry("foo", &entry2)); in DoomEntryNextToOpenEntry()
1497 entry2->Doom(); in DoomEntryNextToOpenEntry()
1498 entry2->Close(); in DoomEntryNextToOpenEntry()
1964 disk_cache::Entry* entry2; in UpdateSparseEntry() local
1965 ASSERT_EQ(net::OK, CreateEntry("the second key", &entry2)); in UpdateSparseEntry()
1968 entry2->Close(); in UpdateSparseEntry()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DWellBehavedMapTest.java67 Map.Entry<Foo, Integer> entry2 = Iterables.getOnlyElement(map.entrySet()); in testEntriesAreMutableAndConsistent() local
70 assertNotSame(entry1, entry2); in testEntriesAreMutableAndConsistent()
75 assertTrue(entrySet.contains(entry2)); in testEntriesAreMutableAndConsistent()
81 assertEquals(entry1.getValue(), entry2.getValue()); in testEntriesAreMutableAndConsistent()
85 assertTrue(entrySet.contains(entry2)); in testEntriesAreMutableAndConsistent()
/external/bison/m4/
Dsetenv.m4113 char entry2[] = "b=2";
114 char *env[] = { entry1, entry2, NULL };
116 if (putenv (entry2)) return 2;
117 entry2[0] = 'a';
121 entry2[0] = 'b';
124 entry2[0] = 'a';
/external/chromium_org/content/browser/appcache/
Dappcache_disk_cache_unittest.cc143 AppCacheDiskCache::Entry* entry2 = NULL; in TEST_F() local
145 disk_cache->CreateEntry(2, &entry2, completion_callback_); in TEST_F()
148 EXPECT_TRUE(entry2); in TEST_F()
160 entry2->Write(0, 0, write_buf.get(), kDataLen, completion_callback_); in TEST_F()
179 entry2->Close(); in TEST_F()
/external/chromium_org/third_party/angle/src/compiler/translator/
DUnfoldShortCircuitAST.cpp75 NodeUpdateEntry& entry2 = replacements[jj]; in updateTree() local
76 if (entry2.parent == entry.original) in updateTree()
77 entry2.parent = entry.replacement; in updateTree()
/external/chromium_org/remoting/signaling/
Dlog_to_server_unittest.cc73 ServerLogEntry entry2; in TEST_F() local
75 entry2.Set("b", "2"); in TEST_F()
78 log_to_server_->Log(entry2); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dexternal_cache_unittest.cc221 const base::DictionaryValue* entry2 = NULL; in TEST_F() local
222 ASSERT_TRUE(provided_prefs()->GetDictionary(kTestExtensionId2, &entry2)); in TEST_F()
223 EXPECT_FALSE(entry2->HasKey( in TEST_F()
225 EXPECT_TRUE(entry2->HasKey( in TEST_F()
227 EXPECT_TRUE(entry2->HasKey( in TEST_F()
230 EXPECT_TRUE(entry2->GetBoolean( in TEST_F()
/external/chromium_org/chrome/browser/extensions/activity_log/
Dhashed_ad_network_database.cc25 bool CompareEntries(const char* entry1, const char* entry2) { in CompareEntries() argument
26 return strcmp(entry1, entry2) < 0; in CompareEntries()
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DOriginAccessEntryTest.cpp74 …OriginAccessEntry entry2("http", "hamster.com", OriginAccessEntry::AllowSubdomains, OriginAccessEn… in TEST() local
77 EXPECT_EQ(OriginAccessEntry::DoesNotMatchOrigin, entry2.matchesOrigin(*origin)); in TEST()
/external/chromium_org/chrome/common/extensions/docs/server2/
Ddocument_parser_test.py169 entry0, entry1, entry2, entry3 = entries
187 self.assertEqual('Not the main header', entry2.name)
188 self.assertEqual({'id': 'not-main'}, entry2.attributes)
189 self.assertEqual([], entry2.entries)
/external/proguard/src/proguard/
DInputReader.java161 ClassPathEntry entry2 = outputClassPath.get(index2); in checkInputOutput() local
162 if (entry2.isOutput() && in checkInputOutput()
163 entry2.getName().equals(entry1.getName())) in checkInputOutput()
/external/chromium_org/chrome/browser/chromeos/drive/
Dsync_client_unittest.cc465 ResourceEntry entry2; in TEST_F() local
466 entry2.set_parent_local_id(local_id1); in TEST_F()
467 entry2.set_title(kPath2.BaseName().AsUTF8Unsafe()); in TEST_F()
468 entry2.mutable_file_info()->set_is_directory(true); in TEST_F()
469 entry2.set_metadata_edit_state(ResourceEntry::DIRTY); in TEST_F()
471 EXPECT_EQ(FILE_ERROR_OK, metadata_->AddEntry(entry2, &local_id2)); in TEST_F()
482 EXPECT_EQ(FILE_ERROR_OK, metadata_->GetResourceEntryById(local_id2, &entry2)); in TEST_F()
483 EXPECT_EQ(ResourceEntry::CLEAN, entry2.metadata_edit_state()); in TEST_F()
Dresource_metadata_storage_unittest.cc102 ResourceEntry entry2; in TEST_F() local
103 entry2.set_local_id(key2); in TEST_F()
104 entry2.set_parent_local_id(key1); in TEST_F()
105 entry2.set_base_name(name2); in TEST_F()
106 EXPECT_EQ(FILE_ERROR_OK, storage_->PutEntry(entry2)); in TEST_F()
256 ResourceEntry entry2; in TEST_F() local
257 entry2.set_local_id(child_id1); in TEST_F()
258 entry2.set_parent_local_id(parent_id1); in TEST_F()
259 entry2.set_base_name(child_name1); in TEST_F()
263 EXPECT_EQ(FILE_ERROR_OK, storage_->PutEntry(entry2)); in TEST_F()
/external/chromium_org/ui/file_manager/file_manager/common/js/
Dutil.js940 util.isSameEntry = function(entry1, entry2) { argument
941 if (!entry1 && !entry2)
943 if (!entry1 || !entry2)
945 return entry1.toURL() === entry2.toURL();
976 util.compareName = function(entry1, entry2) { argument
977 return util.collator.compare(entry1.name, entry2.name);
986 util.comparePath = function(entry1, entry2) { argument
987 return util.collator.compare(entry1.fullPath, entry2.fullPath);
/external/chromium_org/third_party/webrtc/base/
Ddiskcache.cc329 Entry* entry2 = this2->GetOrCreateEntry(id, false); in ReleaseResource() local
334 entry2->size += new_size; in ReleaseResource()
338 entry2->last_modified = time(0); in ReleaseResource()
339 entry2->lock_state = LS_UNLOCKED; in ReleaseResource()
/external/chromium_org/chrome/browser/sync/sessions/
Dsessions_sync_manager_unittest.cc480 content::NavigationEntry* entry2(content::NavigationEntry::Create()); in TEST_F() local
481 entry2->SetVirtualURL(GURL("file://bla")); in TEST_F()
482 tab.AppendEntry(entry2); in TEST_F()
533 content::NavigationEntry* entry2(content::NavigationEntry::Create()); in TEST_F() local
534 entry2->SetVirtualURL(GURL("http://www.noodle.com")); in TEST_F()
535 entry2->SetTimestamp(kTime2); in TEST_F()
536 entry2->SetHttpStatusCode(201); in TEST_F()
543 tab.AppendEntry(entry2); in TEST_F()
573 EXPECT_EQ(entry2->GetVirtualURL(), in TEST_F()
604 content::NavigationEntry* entry2(content::NavigationEntry::Create()); in TEST_F() local
[all …]
/external/srec/shared/src/
DHashMapImpl.c142 PHashTableEntry *entry2 = NULL; in HashMap_RemoveAll_Internal() local
157 entry2 = entry1; in HashMap_RemoveAll_Internal()
160 if ((rc = PHashTableEntryRemove(entry2)) != ESR_SUCCESS) in HashMap_RemoveAll_Internal()
/external/chromium_org/chrome/browser/ui/app_list/search/
Dhistory_data.cc32 const EntrySortData& entry2) { in EntrySortByTimeAscending() argument
33 return *entry1.update_time < *entry2.update_time; in EntrySortByTimeAscending()

123