Home
last modified time | relevance | path

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

/external/webrtc/webrtc/libjingle/xmllite/
Dxmlnsstack_unittest.cc169 EXPECT_FALSE(stack.AddNewPrefix("", true).second); in TEST()
170 EXPECT_FALSE(stack.AddNewPrefix("", false).second); in TEST()
171 EXPECT_FALSE(stack.AddNewPrefix(NS_XML, true).second); in TEST()
172 EXPECT_FALSE(stack.AddNewPrefix(NS_XML, false).second); in TEST()
173 EXPECT_FALSE(stack.AddNewPrefix(NS_XMLNS, true).second); in TEST()
174 EXPECT_FALSE(stack.AddNewPrefix(NS_XMLNS, false).second); in TEST()
177 EXPECT_EQ("foo", stack.AddNewPrefix("http://a.b.com/foo.htm", true).first); in TEST()
178 EXPECT_EQ("bare", stack.AddNewPrefix("http://a.b.com/bare", false).first); in TEST()
179 EXPECT_EQ("z", stack.AddNewPrefix("z", false).first); in TEST()
180 EXPECT_FALSE(stack.AddNewPrefix("http://a.b.com/foo.htm", true).second); in TEST()
[all …]
Dxmlprinter.cc69 prefix = ns_stack_->AddNewPrefix(element->Name().Namespace(), false); in PrintElement()
76 prefix = ns_stack_->AddNewPrefix(attr->Name().Namespace(), true); in PrintElement()
Dxmlnsstack.h35 std::pair<std::string, bool> AddNewPrefix(const std::string& ns, bool isAttr);
Dxmlnsstack.cc155 std::pair<std::string, bool> XmlnsStack::AddNewPrefix(const std::string& ns, in AddNewPrefix() function in buzz::XmlnsStack