Home
last modified time | relevance | path

Searched refs:GetKey (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium/net/base/
Dcookie_monster_perftest.cc120 EXPECT_EQ("top.com", cm->GetKey(domain_base_1)); in TEST()
124 EXPECT_EQ("top.com", cm->GetKey(domain_base_2)); in TEST()
128 EXPECT_EQ("top.com", cm->GetKey(domain_base_3)); in TEST()
132 EXPECT_EQ("top.com", cm->GetKey(domain_base_4)); in TEST()
234 EXPECT_EQ("domain_1.com", cm->GetKey("www.Domain_1.com")); in TEST()
241 cm->GetKey("www.google.com"); in TEST()
Dcookie_monster_unittest.cc1807 TEST(CookieMonsterTest, GetKey) { in TEST() argument
1813 EXPECT_EQ("google.com", cm->GetKey("www.google.com")); in TEST()
1814 EXPECT_EQ("google.izzie", cm->GetKey("www.google.izzie")); in TEST()
1815 EXPECT_EQ("google.izzie", cm->GetKey(".google.izzie")); in TEST()
1816 EXPECT_EQ("bbc.co.uk", cm->GetKey("bbc.co.uk")); in TEST()
1817 EXPECT_EQ("bbc.co.uk", cm->GetKey("a.b.c.d.bbc.co.uk")); in TEST()
1818 EXPECT_EQ("apple.com", cm->GetKey("a.b.c.d.apple.com")); in TEST()
1819 EXPECT_EQ("apple.izzie", cm->GetKey("a.b.c.d.apple.izzie")); in TEST()
1823 EXPECT_EQ("co.uk", cm->GetKey("co.uk")); in TEST()
1825 EXPECT_EQ(extension_name, cm->GetKey(extension_name)); in TEST()
[all …]
Dcookie_monster.cc684 for (CookieMapItPair its = cookies_.equal_range(GetKey(host)); in DeleteAllForHost()
705 for (CookieMapItPair its = cookies_.equal_range(GetKey(cookie.Domain())); in DeleteCanonicalCookie()
887 InternalInsertCookie(GetKey((*it)->Domain()), *it, false); in InitStore()
1051 const std::string key(GetKey(url.host())); in FindCookiesForHostAndDomain()
1059 std::string key(GetKey(url.host())); in FindCookiesForHostAndDomain()
1233 const std::string key(GetKey((*cc)->Domain())); in SetCanonicalCookie()
1467 std::string CookieMonster::GetKey(const std::string& domain) const { in GetKey() function in net::CookieMonster
Dcookie_monster.h266 FRIEND_TEST_ALL_PREFIXES(CookieMonsterTest, GetKey);
452 std::string GetKey(const std::string& domain) const;
/external/openfst/src/include/fst/extensions/far/
Dfar.h122 virtual const string &GetKey() const = 0;
266 const string &GetKey() const { return reader_->GetKey(); } in GetKey() function
314 const string &GetKey() const { return reader_->GetKey(); } in GetKey() function
Dextract.h50 string key = far_reader->GetKey(); in FarExtract()
Dprint-strings.h76 string key = far_reader->GetKey(); in FarPrintStrings()
Dinfo.h64 string key = far_reader->GetKey(); in FarInfo()
Dstlist.h242 const string &GetKey() const { in GetKey() function
Dsttable.h221 const string &GetKey() const { in GetKey() function
/external/chromium/net/disk_cache/
Dsparse_control.cc344 entry->GetKey()); in DeleteChildren()
366 sparse_header_.parent_key_len = entry_->GetKey().size(); in CreateSparseEntry()
412 static_cast<int>(entry_->GetKey().size())) in OpenSparseEntry()
434 if (key == child_->GetKey()) in OpenChild()
489 return GenerateChildName(entry_->GetKey(), sparse_header_.signature, in GenerateChildKey()
Dbackend_unittest.cc457 ASSERT_EQ(net::OK, OpenEntry(entries[i]->GetKey(), &entry)); in BackendLoad()
686 keys[i] = entries[i]->GetKey(); in BackendInvalidEntryWithLoad()
923 EXPECT_EQ(entry2->GetKey(), second); in BackendEnumerations2()
931 EXPECT_EQ(entry2->GetKey(), first); in BackendEnumerations2()
941 EXPECT_EQ(entry2->GetKey(), second); in BackendEnumerations2()
943 EXPECT_EQ(entry2->GetKey(), first); in BackendEnumerations2()
1001 EXPECT_EQ(key2, entry->GetKey()); in BackendInvalidEntryEnumeration()
1063 EXPECT_NE(entry2->GetKey(), entry1->GetKey()); in BackendFixEnumerators()
1779 std::string key = entry2->GetKey(); in BackendDisable4()
1781 key = entry3->GetKey(); in BackendDisable4()
Dentry_unittest.cc36 void GetKey();
513 void DiskCacheEntryTest::GetKey() { in GetKey() function in DiskCacheEntryTest
517 EXPECT_EQ(key, entry->GetKey()) << "short key"; in GetKey()
529 EXPECT_TRUE(key == entry->GetKey()) << "1000 bytes key"; in GetKey()
536 EXPECT_TRUE(key == entry->GetKey()) << "medium size key"; in GetKey()
544 EXPECT_TRUE(key == entry->GetKey()) << "long key"; in GetKey()
548 TEST_F(DiskCacheEntryTest, GetKey) { in TEST_F() argument
550 GetKey(); in TEST_F()
556 GetKey(); in TEST_F()
1232 EXPECT_EQ(key, entry->GetKey()); in DoomedEntry()
[all …]
Ddisk_cache.h152 virtual std::string GetKey() const = 0;
Dmem_entry_impl.h97 virtual std::string GetKey() const;
Dentry_impl.h141 virtual std::string GetKey() const;
Dmem_backend_impl.cc98 EntryMap::iterator it = entries_.find(entry->GetKey()); in InternalDoomEntry()
Dentry_impl.cc455 std::string my_key = GetKey(); in IsSameEntry()
625 if (stored->hash != Hash(GetKey())) in DataSanityCheck()
716 make_scoped_refptr(new EntryCreationParameters(GetKey(), created))); in BeginLogging()
745 std::string EntryImpl::GetKey() const { in GetKey() function in disk_cache::EntryImpl
/external/v8/src/
Dproperty.cc107 GetKey()->ShortPrint(out); in Print()
Dcode-stubs.cc42 int index = heap->code_stubs()->FindEntry(GetKey()); in FindCodeInCache()
138 GetKey(), in GetCode()
Dproperty.h58 String* GetKey() { return key_; } in GetKey() function
Dobjects-debug.cc868 String* key = GetKey(i); in IsSortedNoDuplicates()
874 uint32_t hash = GetKey(i)->Hash(); in IsSortedNoDuplicates()
/external/chromium/net/url_request/
Dview_cache_helper.cc66 std::string key = entry->GetKey(); in FormatEntryInfo()
273 data_->append(EscapeForHTML(entry_->GetKey())); in DoOpenEntryComplete()
/external/chromium/net/http/
Dhttp_cache.cc651 DCHECK(!FindActiveEntry(disk_entry->GetKey())); in ActivateEntry()
653 active_entries_[disk_entry->GetKey()] = entry; in ActivateEntry()
665 std::string key = entry->disk_entry->GetKey(); in DeactivateEntry()
704 key = pending_op->disk_entry->GetKey(); in DeletePendingOp()
1037 key = pending_op->disk_entry->GetKey(); in OnIOComplete()
/external/chromium/net/tools/dump_cache/
Dupgrade.cc506 printf("Read failed, entry \"%s\" truncated!\n", entry_->GetKey().c_str()); in DoReadData()
785 std::string key = entry_->GetKey(); in DoGetKey()

12