OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AddNewPrefix
(Results
1 - 4
of
4
) sorted by null
/external/webrtc/webrtc/libjingle/xmllite/
xmlnsstack_unittest.cc
169
EXPECT_FALSE(stack.
AddNewPrefix
("", true).second);
170
EXPECT_FALSE(stack.
AddNewPrefix
("", false).second);
171
EXPECT_FALSE(stack.
AddNewPrefix
(NS_XML, true).second);
172
EXPECT_FALSE(stack.
AddNewPrefix
(NS_XML, false).second);
173
EXPECT_FALSE(stack.
AddNewPrefix
(NS_XMLNS, true).second);
174
EXPECT_FALSE(stack.
AddNewPrefix
(NS_XMLNS, false).second);
177
EXPECT_EQ("foo", stack.
AddNewPrefix
("http://a.b.com/foo.htm", true).first);
178
EXPECT_EQ("bare", stack.
AddNewPrefix
("http://a.b.com/bare", false).first);
179
EXPECT_EQ("z", stack.
AddNewPrefix
("z", false).first);
180
EXPECT_FALSE(stack.
AddNewPrefix
("http://a.b.com/foo.htm", true).second)
[
all
...]
xmlnsstack.h
35
std::pair<std::string, bool>
AddNewPrefix
(const std::string& ns, bool isAttr);
xmlprinter.cc
69
prefix = ns_stack_->
AddNewPrefix
(element->Name().Namespace(), false);
76
prefix = ns_stack_->
AddNewPrefix
(attr->Name().Namespace(), true);
xmlnsstack.cc
155
std::pair<std::string, bool> XmlnsStack::
AddNewPrefix
(const std::string& ns,
Completed in 61 milliseconds