Home
last modified time | relevance | path

Searched refs:NsForPrefix (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/libjingle/xmllite/
Dxmlnsstack_unittest.cc29 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 …]
Dxmlnsstack.cc42 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()
Dxmlparser.cc211 xmlnsstack_.NsForPrefix(std::string(qname, c - qname)); in ResolveQName()
220 std::pair<std::string, bool> result = xmlnsstack_.NsForPrefix(STR_EMPTY); in ResolveQName()
Dxmlnsstack.h32 std::pair<std::string, bool> NsForPrefix(const std::string& prefix);