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

12

/external/chromium/net/base/
H A Dcookie_monster_perftest.cc120 EXPECT_EQ("top.com", cm->GetKey(domain_base_1));
124 EXPECT_EQ("top.com", cm->GetKey(domain_base_2));
128 EXPECT_EQ("top.com", cm->GetKey(domain_base_3));
132 EXPECT_EQ("top.com", cm->GetKey(domain_base_4));
234 EXPECT_EQ("domain_1.com", cm->GetKey("www.Domain_1.com"));
241 cm->GetKey("www.google.com");
H A Dcookie_monster_unittest.cc1807 TEST(CookieMonsterTest, GetKey) {
1810 // This test is really only interesting if GetKey() actually does something.
1813 EXPECT_EQ("google.com", cm->GetKey("www.google.com"));
1814 EXPECT_EQ("google.izzie", cm->GetKey("www.google.izzie"));
1815 EXPECT_EQ("google.izzie", cm->GetKey(".google.izzie"));
1816 EXPECT_EQ("bbc.co.uk", cm->GetKey("bbc.co.uk"));
1817 EXPECT_EQ("bbc.co.uk", cm->GetKey("a.b.c.d.bbc.co.uk"));
1818 EXPECT_EQ("apple.com", cm->GetKey("a.b.c.d.apple.com"));
1819 EXPECT_EQ("apple.izzie", cm->GetKey("a.b.c.d.apple.izzie"));
1823 EXPECT_EQ("co.uk", cm->GetKey("c
[all...]
H A Dcookie_monster.h266 FRIEND_TEST_ALL_PREFIXES(CookieMonsterTest, GetKey);
452 std::string GetKey(const std::string& domain) const;
H A Dcookie_monster.cc684 for (CookieMapItPair its = cookies_.equal_range(GetKey(host));
705 for (CookieMapItPair its = cookies_.equal_range(GetKey(cookie.Domain()));
887 InternalInsertCookie(GetKey((*it)->Domain()), *it, false);
1051 const std::string key(GetKey(url.host()));
1059 std::string key(GetKey(url.host()));
1233 const std::string key(GetKey((*cc)->Domain()));
1456 // form of a DNS host and hence GetKey() will return it unchanged.
1467 std::string CookieMonster::GetKey(const std::string& domain) const {
/external/openfst/src/include/fst/extensions/far/
H A Dextract.h50 string key = far_reader->GetKey();
H A Dfar.h122 virtual const string &GetKey() const = 0;
266 const string &GetKey() const { return reader_->GetKey(); } function in class:fst::STTableFarReader
314 const string &GetKey() const { return reader_->GetKey(); } function in class:fst::STListFarReader
H A Dprint-strings.h76 string key = far_reader->GetKey();
H A Dinfo.h64 string key = far_reader->GetKey();
H A Dstlist.h242 const string &GetKey() const { function in class:fst::STListReader
H A Dsttable.h221 const string &GetKey() const { function in class:fst::STTableReader
/external/v8/src/
H A Dproperty.cc107 GetKey()->ShortPrint(out);
H A Dcode-stubs.cc42 int index = heap->code_stubs()->FindEntry(GetKey());
138 GetKey(),
H A Dproperty.h58 String* GetKey() { return key_; } function in class:v8::internal::BASE_EMBEDDED
H A Dobjects-debug.cc868 String* key = GetKey(i);
874 uint32_t hash = GetKey(i)->Hash();
/external/chromium/net/disk_cache/
H A Ddisk_cache.h152 virtual std::string GetKey() const = 0;
H A Dsparse_control.cc344 entry->GetKey());
366 sparse_header_.parent_key_len = entry_->GetKey().size();
412 static_cast<int>(entry_->GetKey().size()))
434 if (key == child_->GetKey())
489 return GenerateChildName(entry_->GetKey(), sparse_header_.signature,
H A Dmem_entry_impl.h97 virtual std::string GetKey() const;
H A Dentry_unittest.cc36 void GetKey();
513 void DiskCacheEntryTest::GetKey() { function in class:DiskCacheEntryTest
517 EXPECT_EQ(key, entry->GetKey()) << "short key";
529 EXPECT_TRUE(key == entry->GetKey()) << "1000 bytes key";
536 EXPECT_TRUE(key == entry->GetKey()) << "medium size key";
544 EXPECT_TRUE(key == entry->GetKey()) << "long key";
548 TEST_F(DiskCacheEntryTest, GetKey) {
550 GetKey();
556 GetKey();
1232 EXPECT_EQ(key, entry->GetKey());
[all...]
H A Dbackend_unittest.cc457 ASSERT_EQ(net::OK, OpenEntry(entries[i]->GetKey(), &entry));
686 keys[i] = entries[i]->GetKey();
923 EXPECT_EQ(entry2->GetKey(), second);
931 EXPECT_EQ(entry2->GetKey(), first);
941 EXPECT_EQ(entry2->GetKey(), second);
943 EXPECT_EQ(entry2->GetKey(), first);
1001 EXPECT_EQ(key2, entry->GetKey());
1063 EXPECT_NE(entry2->GetKey(), entry1->GetKey());
1779 std::string key = entry2->GetKey();
[all...]
H A Dentry_impl.h141 virtual std::string GetKey() const;
H A Dmem_backend_impl.cc98 EntryMap::iterator it = entries_.find(entry->GetKey());
H A Dentry_impl.cc455 std::string my_key = GetKey();
625 if (stored->hash != Hash(GetKey()))
716 make_scoped_refptr(new EntryCreationParameters(GetKey(), created)));
745 std::string EntryImpl::GetKey() const { function in class:disk_cache::EntryImpl
/external/chromium/net/url_request/
H A Dview_cache_helper.cc66 std::string key = entry->GetKey();
273 data_->append(EscapeForHTML(entry_->GetKey()));
/external/chromium/net/http/
H A Dhttp_cache.cc651 DCHECK(!FindActiveEntry(disk_entry->GetKey()));
653 active_entries_[disk_entry->GetKey()] = entry;
665 std::string key = entry->disk_entry->GetKey();
704 key = pending_op->disk_entry->GetKey();
1037 key = pending_op->disk_entry->GetKey();
/external/chromium/net/tools/dump_cache/
H A Dupgrade.cc506 printf("Read failed, entry \"%s\" truncated!\n", entry_->GetKey().c_str());
785 std::string key = entry_->GetKey();

Completed in 515 milliseconds

12