Searched refs:NsForPrefix (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
D | xmlnsstack_unittest.cc | 46 EXPECT_EQ(std::string(NS_XML), stack.NsForPrefix("xml").first); in TEST() 47 EXPECT_EQ(std::string(NS_XMLNS), stack.NsForPrefix("xmlns").first); in TEST() 48 EXPECT_EQ("", stack.NsForPrefix("").first); in TEST() 63 EXPECT_EQ("ns3", stack.NsForPrefix("pre1").first); in TEST() 64 EXPECT_TRUE(stack.NsForPrefix("pre1").second); in TEST() 65 EXPECT_EQ("ns2", stack.NsForPrefix("pre2").first); in TEST() 66 EXPECT_EQ("ns4", stack.NsForPrefix("").first); in TEST() 67 EXPECT_EQ("", stack.NsForPrefix("pre3").first); in TEST() 68 EXPECT_FALSE(stack.NsForPrefix("pre3").second); in TEST() 122 EXPECT_EQ("ns3", stack.NsForPrefix("pre1").first); in TEST() [all …]
|
D | xmlnsstack.cc | 59 std::pair<std::string, bool> XmlnsStack::NsForPrefix( in NsForPrefix() function in buzz::XmlnsStack 88 const std::pair<std::string, bool> match = NsForPrefix(prefix); in PrefixMatchesNs() 180 while (NsForPrefix(result).second) { in AddNewPrefix()
|
D | xmlnsstack.h | 49 std::pair<std::string, bool> NsForPrefix(const std::string& prefix);
|
D | xmlparser.cc | 228 xmlnsstack_.NsForPrefix(std::string(qname, c - qname)); in ResolveQName() 237 std::pair<std::string, bool> result = xmlnsstack_.NsForPrefix(STR_EMPTY); in ResolveQName()
|