Searched refs:NsForPrefix (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/libjingle/xmllite/ |
D | xmlnsstack_unittest.cc | 29 EXPECT_EQ(std::string(NS_XML), stack.NsForPrefix("xml").first); in TEST() 30 EXPECT_EQ(std::string(NS_XMLNS), stack.NsForPrefix("xmlns").first); in TEST() 31 EXPECT_EQ("", stack.NsForPrefix("").first); in TEST() 46 EXPECT_EQ("ns3", stack.NsForPrefix("pre1").first); in TEST() 47 EXPECT_TRUE(stack.NsForPrefix("pre1").second); in TEST() 48 EXPECT_EQ("ns2", stack.NsForPrefix("pre2").first); in TEST() 49 EXPECT_EQ("ns4", stack.NsForPrefix("").first); in TEST() 50 EXPECT_EQ("", stack.NsForPrefix("pre3").first); in TEST() 51 EXPECT_FALSE(stack.NsForPrefix("pre3").second); in TEST() 105 EXPECT_EQ("ns3", stack.NsForPrefix("pre1").first); in TEST() [all …]
|
D | xmlnsstack.cc | 42 std::pair<std::string, bool> XmlnsStack::NsForPrefix( in NsForPrefix() function in buzz::XmlnsStack 71 const std::pair<std::string, bool> match = NsForPrefix(prefix); in PrefixMatchesNs() 163 while (NsForPrefix(result).second) { in AddNewPrefix()
|
D | xmlparser.cc | 211 xmlnsstack_.NsForPrefix(std::string(qname, c - qname)); in ResolveQName() 220 std::pair<std::string, bool> result = xmlnsstack_.NsForPrefix(STR_EMPTY); in ResolveQName()
|
D | xmlnsstack.h | 32 std::pair<std::string, bool> NsForPrefix(const std::string& prefix);
|