Searched refs:AddNewPrefix (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
H A D | xmlnsstack_unittest.cc | 186 EXPECT_FALSE(stack.AddNewPrefix("", true).second); 187 EXPECT_FALSE(stack.AddNewPrefix("", false).second); 188 EXPECT_FALSE(stack.AddNewPrefix(NS_XML, true).second); 189 EXPECT_FALSE(stack.AddNewPrefix(NS_XML, false).second); 190 EXPECT_FALSE(stack.AddNewPrefix(NS_XMLNS, true).second); 191 EXPECT_FALSE(stack.AddNewPrefix(NS_XMLNS, false).second); 194 EXPECT_EQ("foo", stack.AddNewPrefix("http://a.b.com/foo.htm", true).first); 195 EXPECT_EQ("bare", stack.AddNewPrefix("http://a.b.com/bare", false).first); 196 EXPECT_EQ("z", stack.AddNewPrefix("z", false).first); 197 EXPECT_FALSE(stack.AddNewPrefix("htt [all...] |
H A D | xmlnsstack.h | 52 std::pair<std::string, bool> AddNewPrefix(const std::string& ns, bool isAttr);
|
H A D | xmlprinter.cc | 86 prefix = ns_stack_->AddNewPrefix(element->Name().Namespace(), false); 93 prefix = ns_stack_->AddNewPrefix(attr->Name().Namespace(), true);
|
H A D | xmlnsstack.cc | 172 std::pair<std::string, bool> XmlnsStack::AddNewPrefix(const std::string& ns, function in class:buzz::XmlnsStack
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
H A D | xmlnsstack.h | 52 std::pair<std::string, bool> AddNewPrefix(const std::string & ns, bool isAttr);
|
H A D | xmlprinter.cc | 92 prefix = xmlnsStack_.AddNewPrefix(element->Name().Namespace(), false); 99 prefix = xmlnsStack_.AddNewPrefix(pattr->Name().Namespace(), true);
|
H A D | xmlnsstack.cc | 182 XmlnsStack::AddNewPrefix(const std::string & ns, bool isAttr) { function in class:buzz::XmlnsStack
|
Completed in 746 milliseconds