HomeSort by relevance Sort by last modified time
    Searched refs:PrefixForNs (Results 1 - 3 of 3) sorted by null

  /external/webrtc/webrtc/libjingle/xmllite/
xmlnsstack_unittest.cc 33 EXPECT_EQ("xml", stack.PrefixForNs(NS_XML, false).first);
34 EXPECT_EQ("xmlns", stack.PrefixForNs(NS_XMLNS, false).first);
35 EXPECT_EQ("", stack.PrefixForNs("", false).first);
36 EXPECT_EQ("", stack.PrefixForNs("", true).first);
63 EXPECT_EQ("", stack.PrefixForNs("ns1", false).first);
64 EXPECT_FALSE(stack.PrefixForNs("ns1", false).second);
65 EXPECT_EQ("", stack.PrefixForNs("ns1", true).first);
66 EXPECT_FALSE(stack.PrefixForNs("ns1", true).second);
67 EXPECT_EQ("pre3", stack.PrefixForNs("ns2", false).first);
68 EXPECT_TRUE(stack.PrefixForNs("ns2", false).second)
    [all...]
xmlnsstack.h 34 std::pair<std::string, bool> PrefixForNs(const std::string& ns, bool isAttr);
xmlnsstack.cc 75 std::pair<std::string, bool> XmlnsStack::PrefixForNs(const std::string& ns,
96 std::string prefix(PrefixForNs(name.Namespace(), isAttr).first);
157 if (PrefixForNs(ns, isAttr).second)

Completed in 41 milliseconds