HomeSort by relevance Sort by last modified time
    Searched refs:entry1 (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /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...]
backend_unittest.cc 67 disk_cache::Entry *entry1 = NULL, *entry2 = NULL; local
68 EXPECT_NE(net::OK, OpenEntry("the first key", &entry1));
69 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1));
70 ASSERT_TRUE(NULL != entry1);
71 entry1->Close();
72 entry1 = NULL;
74 ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1));
75 ASSERT_TRUE(NULL != entry1);
76 entry1->Close();
77 entry1 = NULL
134 disk_cache::Entry *entry1, *entry2; local
912 disk_cache::Entry *entry1, *entry2; local
978 disk_cache::Entry *entry, *entry1, *entry2; local
1037 disk_cache::Entry *entry1, *entry2; local
1205 disk_cache::Entry* entry1; 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 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...]
backend_unittest.cc 180 disk_cache::Entry* entry1 = NULL; local
199 ASSERT_EQ(net::OK, CreateEntry("first", &entry1));
200 ASSERT_EQ(kSize, WriteSparseData(entry1, 0, buffer.get(), kSize));
202 WriteSparseData(entry1, kOffset + kSize, buffer.get(), kSize));
203 entry1->Close();
277 disk_cache::Entry *entry1 = NULL, *entry2 = NULL; local
278 EXPECT_NE(net::OK, OpenEntry("the first key", &entry1));
279 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1));
280 ASSERT_TRUE(NULL != entry1);
281 entry1->Close()
349 disk_cache::Entry *entry1, *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
1690 disk_cache::Entry* entry1; 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/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/network_time/
navigation_time_helper_unittest.cc 27 scoped_ptr<content::NavigationEntry> entry1(
29 entry1->SetTimestamp(base::Time::Now());
31 EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(1),
32 time_helper.GetNavigationTime(entry1.get()));
36 EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(1),
37 time_helper.GetNavigationTime(entry1.get()));
41 content::NavigationEntry::Create(*entry1));
46 entry1->SetTimestamp(
47 entry1->GetTimestamp() + base::TimeDelta::FromSeconds(1));
48 EXPECT_EQ(entry1->GetTimestamp() + base::TimeDelta::FromHours(2)
    [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...]
  /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_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/v8/test/cctest/
test-profile-generator.cc 64 CodeEntry entry1(i::Logger::FUNCTION_TAG, "", "aaa", "", 0,
66 ProfileNode* childNode1 = node.FindOrAddChild(&entry1);
68 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1));
74 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1));
82 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1));
92 CodeEntry entry1(i::Logger::FUNCTION_TAG, empty, aaa, empty, 0,
94 ProfileNode* childNode1 = node.FindOrAddChild(&entry1);
96 CHECK_EQ(childNode1, node.FindOrAddChild(&entry1));
115 ProfileNode* Walk(CodeEntry* entry1,
119 node = node->FindChild(entry1);
587 CodeEntry* entry1 = generator.NewCodeEntry(i::Logger::FUNCTION_TAG, "aaa"); 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...]
  /system/media/camera/docs/
metadata_model_test.py 16 entry1 = Entry(name="entry1", type="int32", kind="static",
26 ins1._entries = [entry1]
46 self.assertIn(entry1, new_ins.entries)
62 entry1 = Entry(name="entry1", type="int32", kind="static",
68 kind_static._entries = [entry1]
83 self.assertIn(entry1, combined_kind.entries)
96 entry1 = Entry(name="entry1", type="int32", kind="static"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/weborigin/
OriginAccessEntryTest.cpp 73 OriginAccessEntry entry1("http", "google.com", OriginAccessEntry::AllowSubdomains, OriginAccessEntry::TreatIPAddressAsIPAddress);
76 EXPECT_EQ(OriginAccessEntry::MatchesOrigin, entry1.matchesOrigin(*origin));
  /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/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));
  /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/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/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/src/com/android/ex/chips/
RecipientAlternatesAdapter.java 261 static RecipientEntry getBetterRecipient(final RecipientEntry entry1,
265 return entry1;
268 if (entry1 == null) {
273 if (!TextUtils.isEmpty(entry1.getDisplayName())
275 return entry1;
279 && TextUtils.isEmpty(entry1.getDisplayName())) {
284 if (!TextUtils.equals(entry1.getDisplayName(), entry1.getDestination())
286 return entry1;
290 && TextUtils.equals(entry1.getDisplayName(), entry1.getDestination()))
    [all...]
  /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/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/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/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)
  /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() {

Completed in 1347 milliseconds

1 2 3 4 5