Home
last modified time | relevance | path

Searched refs:QName (Results 1 – 25 of 140) sorted by relevance

123456

/external/chromium_org/third_party/webrtc/libjingle/xmllite/
Dxmlelement_unittest.cc19 using buzz::QName;
24 std::ostream& operator<<(std::ostream& os, const QName& name) { in operator <<()
30 XmlElement elt(QName("google:test", "first")); in TEST()
33 XmlElement elt2(QName("google:test", "first"), true); in TEST()
38 XmlElement elt(QName("google:test", "root"), true); in TEST()
39 elt.AddElement(new XmlElement(QName("google:test", "first"))); in TEST()
40 elt.AddElement(new XmlElement(QName("google:test", "nested")), 1); in TEST()
44 elt.AddElement(new XmlElement(QName("google:test", "nested2")), 1); in TEST()
45 elt.AddElement(new XmlElement(QName("google:test", "second"))); in TEST()
47 elt.AddElement(new XmlElement(QName("google:test", "nested3")), 1); in TEST()
[all …]
Dqname.cc15 QName::QName() { in QName() function in buzz::QName
18 QName::QName(const QName& qname) in QName() function in buzz::QName
23 QName::QName(const StaticQName& const_value) in QName() function in buzz::QName
28 QName::QName(const std::string& ns, const std::string& local) in QName() function in buzz::QName
33 QName::QName(const std::string& merged_or_local) { in QName() function in buzz::QName
43 QName::~QName() { in ~QName()
46 std::string QName::Merged() const { in Merged()
58 bool QName::IsEmpty() const { in IsEmpty()
62 int QName::Compare(const StaticQName& other) const { in Compare()
70 int QName::Compare(const QName& other) const { in Compare()
Dqname.h18 class QName; variable
31 bool operator==(const QName& other) const;
32 bool operator!=(const QName& other) const;
35 class QName {
37 QName();
38 QName(const QName& qname);
39 QName(const StaticQName& const_value);
40 QName(const std::string& ns, const std::string& local);
41 explicit QName(const std::string& merged_or_local);
42 ~QName();
[all …]
Dqname_unittest.cc16 using buzz::QName;
19 QName name("test"); in TEST()
25 QName name("a:test"); in TEST()
28 QName name2("a-very:long:namespace:test-this"); in TEST()
34 QName name("a", "test"); in TEST()
38 QName name2("a-very:long:namespace", "test-this"); in TEST()
45 QName name("a", "test"); in TEST()
47 QName namecopy(name); in TEST()
50 QName nameassigned(""); in TEST()
58 QName namecopy(name); in TEST()
[all …]
Dxmlelement.h94 const QName& Name() const { return name_; } in Name()
100 explicit XmlAttr(const QName& name, const std::string& value) : in XmlAttr()
112 QName name_;
118 explicit XmlElement(const QName& name);
119 explicit XmlElement(const QName& name, bool useDefaultNs);
124 const QName& Name() const { return name_; } in Name()
125 void SetName(const QName& name) { name_ = name; } in SetName()
130 const QName FirstElementName() const;
139 const std::string Attr(const QName& name) const;
141 bool HasAttr(const QName& name) const;
[all …]
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
Dxmlelement_unittest.cc36 using buzz::QName;
41 std::ostream& operator<<(std::ostream& os, const QName& name) { in operator <<()
47 XmlElement elt(QName("google:test", "first")); in TEST()
50 XmlElement elt2(QName("google:test", "first"), true); in TEST()
55 XmlElement elt(QName("google:test", "root"), true); in TEST()
56 elt.AddElement(new XmlElement(QName("google:test", "first"))); in TEST()
57 elt.AddElement(new XmlElement(QName("google:test", "nested")), 1); in TEST()
61 elt.AddElement(new XmlElement(QName("google:test", "nested2")), 1); in TEST()
62 elt.AddElement(new XmlElement(QName("google:test", "second"))); in TEST()
64 elt.AddElement(new XmlElement(QName("google:test", "nested3")), 1); in TEST()
[all …]
Dqname.cc32 QName::QName() { in QName() function in buzz::QName
35 QName::QName(const QName& qname) in QName() function in buzz::QName
40 QName::QName(const StaticQName& const_value) in QName() function in buzz::QName
45 QName::QName(const std::string& ns, const std::string& local) in QName() function in buzz::QName
50 QName::QName(const std::string& merged_or_local) { in QName() function in buzz::QName
60 QName::~QName() { in ~QName()
63 std::string QName::Merged() const { in Merged()
75 bool QName::IsEmpty() const { in IsEmpty()
79 int QName::Compare(const StaticQName& other) const { in Compare()
87 int QName::Compare(const QName& other) const { in Compare()
Dqname.h35 class QName; variable
48 bool operator==(const QName& other) const;
49 bool operator!=(const QName& other) const;
52 class QName {
54 QName();
55 QName(const QName& qname);
56 QName(const StaticQName& const_value);
57 QName(const std::string& ns, const std::string& local);
58 explicit QName(const std::string& merged_or_local);
59 ~QName();
[all …]
Dqname_unittest.cc33 using buzz::QName;
36 QName name("test"); in TEST()
42 QName name("a:test"); in TEST()
45 QName name2("a-very:long:namespace:test-this"); in TEST()
51 QName name("a", "test"); in TEST()
55 QName name2("a-very:long:namespace", "test-this"); in TEST()
62 QName name("a", "test"); in TEST()
64 QName namecopy(name); in TEST()
67 QName nameassigned(""); in TEST()
75 QName namecopy(name); in TEST()
[all …]
Dxmlelement.h111 const QName& Name() const { return name_; } in Name()
117 explicit XmlAttr(const QName& name, const std::string& value) : in XmlAttr()
129 QName name_;
135 explicit XmlElement(const QName& name);
136 explicit XmlElement(const QName& name, bool useDefaultNs);
141 const QName& Name() const { return name_; } in Name()
142 void SetName(const QName& name) { name_ = name; } in SetName()
147 const QName FirstElementName() const;
156 const std::string Attr(const QName& name) const;
158 bool HasAttr(const QName& name) const;
[all …]
/external/chromium_org/remoting/protocol/
Djingle_messages.cc14 using buzz::QName;
50 DCHECK(element->Name() == QName(kP2PTransportNamespace, "candidate")); in ParseCandidate()
52 const std::string& name = element->Attr(QName(kEmptyNamespace, "name")); in ParseCandidate()
53 const std::string& address = element->Attr(QName(kEmptyNamespace, "address")); in ParseCandidate()
54 const std::string& port_str = element->Attr(QName(kEmptyNamespace, "port")); in ParseCandidate()
55 const std::string& type = element->Attr(QName(kEmptyNamespace, "type")); in ParseCandidate()
57 element->Attr(QName(kEmptyNamespace, "protocol")); in ParseCandidate()
59 element->Attr(QName(kEmptyNamespace, "username")); in ParseCandidate()
61 element->Attr(QName(kEmptyNamespace, "password")); in ParseCandidate()
63 element->Attr(QName(kEmptyNamespace, "preference")); in ParseCandidate()
[all …]
Dcontent_description.cc14 using buzz::QName;
62 QName(kChromotingXmlNamespace, tag_name)); in FormatChannelConfig()
64 result->AddAttr(QName(kDefaultNs, kTransportAttr), in FormatChannelConfig()
68 result->AddAttr(QName(kDefaultNs, kVersionAttr), in FormatChannelConfig()
72 result->AddAttr(QName(kDefaultNs, kCodecAttr), in FormatChannelConfig()
84 kTransports, element->Attr(QName(kDefaultNs, kTransportAttr)), in ParseChannelConfig()
91 if (!base::StringToInt(element->Attr(QName(kDefaultNs, kVersionAttr)), in ParseChannelConfig()
98 if (!NameToValue(kCodecs, element->Attr(QName(kDefaultNs, kCodecAttr)), in ParseChannelConfig()
146 QName(kChromotingXmlNamespace, kDescriptionTag), true); in ToXml()
173 QName(kChromotingXmlNamespace, kDeprecatedResolutionTag)); in ToXml()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DOutputProperties.java35 import org.apache.xml.utils.QName;
118 public void setProperty(QName key, String value) in setProperty()
153 public String getProperty(QName key) in getProperty()
182 public void setBooleanProperty(QName key, boolean value) in setBooleanProperty()
210 public boolean getBooleanProperty(QName key) in getBooleanProperty()
238 public void setIntProperty(QName key, int value) in setIntProperty()
266 public int getIntProperty(QName key) in getIntProperty()
296 public void setQNameProperty(QName key, QName value) in setQNameProperty()
339 public void setQNameProperty(String key, QName value) in setQNameProperty()
354 public QName getQNameProperty(QName key) in getQNameProperty()
[all …]
DElemUse.java30 import org.apache.xml.utils.QName;
48 private QName m_attributeSetsNames[] = null;
66 m_attributeSetsNames = new QName[n]; in setUseAttributeSets()
70 m_attributeSetsNames[i] = (QName) v.elementAt(i); in setUseAttributeSets()
85 public void setUseAttributeSets(QName[] v) in setUseAttributeSets()
103 public QName[] getUseAttributeSets() in getUseAttributeSets()
141 TransformerImpl transformer, StylesheetRoot stylesheet, QName attributeSetsNames[]) in applyAttrSets()
151 QName qname = attributeSetsNames[i]; in applyAttrSets()
/external/smack/asmack-master/static-src/custom/com/kenai/jbosh/
DQName.java72 public class QName implements Serializable { class
91 public QName(String localPart) { in QName() method in QName
101 public QName(String namespaceURI, String localPart) { in QName() method in QName
112 public QName(String namespaceURI, String localPart, String prefix) { in QName() method in QName
193 if (!(obj instanceof QName)) { in equals()
197 if ((namespaceURI == ((QName) obj).namespaceURI) in equals()
198 && (localPart == ((QName) obj).localPart)) { in equals()
221 public static QName valueOf(String s) { in valueOf()
237 return new QName(s.substring(1, i), s.substring(i + 1)); in valueOf()
240 return new QName(s); in valueOf()
/external/smack/src/com/kenai/jbosh/
DQName.java72 public class QName implements Serializable { class
91 public QName(String localPart) { in QName() method in QName
101 public QName(String namespaceURI, String localPart) { in QName() method in QName
112 public QName(String namespaceURI, String localPart, String prefix) { in QName() method in QName
193 if (!(obj instanceof QName)) { in equals()
197 if ((namespaceURI == ((QName) obj).namespaceURI) in equals()
198 && (localPart == ((QName) obj).localPart)) { in equals()
221 public static QName valueOf(String s) { in valueOf()
237 return new QName(s.substring(1, i), s.substring(i + 1)); in valueOf()
240 return new QName(s); in valueOf()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DQName.java44 public class QName implements java.io.Serializable class
82 public QName(){} in QName() method in QName
91 public QName(String namespaceURI, String localName) in QName() method in QName
105 public QName(String namespaceURI, String localName, boolean validate) in QName() method in QName
137 public QName(String namespaceURI, String prefix, String localName) in QName() method in QName
152 public QName(String namespaceURI, String prefix, String localName, boolean validate) in QName() method in QName
189 public QName(String localName) in QName() method in QName
202 public QName(String localName, boolean validate) in QName() method in QName
232 public QName(String qname, Stack namespaces) in QName() method in QName
247 public QName(String qname, Stack namespaces, boolean validate) in QName() method in QName
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/
DArg.java23 import org.apache.xml.utils.QName;
40 private QName m_qname;
47 public final QName getQName() in getQName()
57 public final void setQName(QName name) in setQName()
182 m_qname = new QName(""); in Arg()
197 public Arg(QName qname, String expression, boolean isFromWithParam) in Arg()
214 public Arg(QName qname, XObject val) in Arg()
234 if(obj instanceof QName) in equals()
249 public Arg(QName qname, XObject val, boolean isFromWithParam) in Arg()
/external/chromium_org/remoting/host/
Dhost_status_logger_unittest.cc17 using buzz::QName;
39 return (node->Name() == QName(kChromotingNamespace, "entry") && in IsLogEntryForConnection()
40 node->Attr(QName(std::string(), "event-name")) == "session-state" && in IsLogEntryForConnection()
41 node->Attr(QName(std::string(), "session-state")) == "connected" && in IsLogEntryForConnection()
42 node->Attr(QName(std::string(), "role")) == "host" && in IsLogEntryForConnection()
43 node->Attr(QName(std::string(), "mode")) == "me2me" && in IsLogEntryForConnection()
44 node->Attr(QName(std::string(), "connection-type")) == in IsLogEntryForConnection()
49 if (arg->Name() != QName(kJabberClientNamespace, "iq")) {
53 if (log_stanza->Name() != QName(kChromotingNamespace, "log")) {
70 if (arg->Name() != QName(kJabberClientNamespace, "iq")) {
[all …]
Dregister_support_host_request_unittest.cc24 using buzz::QName;
102 EXPECT_EQ(stanza->Attr(buzz::QName(std::string(), "to")), in TEST_F()
104 EXPECT_EQ(stanza->Attr(buzz::QName(std::string(), "type")), "set"); in TEST_F()
106 EXPECT_EQ(QName(kChromotingXmlNamespace, "register-support-host"), in TEST_F()
109 QName signature_tag(kChromotingXmlNamespace, "signature"); in TEST_F()
115 signature->Attr(QName(kChromotingXmlNamespace, "time")); in TEST_F()
134 response->AddAttr(QName(std::string(), "from"), kTestBotJid); in TEST_F()
135 response->AddAttr(QName(std::string(), "type"), "result"); in TEST_F()
136 response->AddAttr(QName(std::string(), "id"), kStanzaId); in TEST_F()
139 QName(kChromotingXmlNamespace, "register-support-host-result")); in TEST_F()
[all …]
Dhost_status_sender_unittest.cc19 using buzz::QName;
126 EXPECT_EQ(stanza->Attr(QName(std::string(), "to")), in ValidateHostStatusStanza()
128 EXPECT_EQ(stanza->Attr(QName(std::string(), "type")), "set"); in ValidateHostStatusStanza()
131 stanza->FirstNamed(QName(kChromotingXmlNamespace, "host-status")); in ValidateHostStatusStanza()
137 QName(kChromotingXmlNamespace, "status"))); in ValidateHostStatusStanza()
139 QName(kChromotingXmlNamespace, "exit-code"))); in ValidateHostStatusStanza()
143 QName(kChromotingXmlNamespace, "status"))); in ValidateHostStatusStanza()
146 QName(kChromotingXmlNamespace, "exit-code"))); in ValidateHostStatusStanza()
151 QName(kChromotingXmlNamespace, "hostid"))); in ValidateHostStatusStanza()
153 QName signature_tag(kChromotingXmlNamespace, "signature"); in ValidateHostStatusStanza()
[all …]
Dheartbeat_sender.cc24 using buzz::QName;
128 response->FirstNamed(QName(buzz::NS_CLIENT, kErrorTag)); in ProcessResponse()
130 if (error_element->FirstNamed(QName(buzz::NS_STANZA, kNotFoundTag))) { in ProcessResponse()
167 response->FirstNamed(QName(kChromotingXmlNamespace, kHeartbeatResultTag)); in ProcessResponse()
170 result_element->FirstNamed(QName(kChromotingXmlNamespace, in ProcessResponse()
185 result_element->FirstNamed(QName(kChromotingXmlNamespace, in ProcessResponse()
247 QName(kChromotingXmlNamespace, kHeartbeatQueryTag))); in CreateHeartbeatMessage()
248 heartbeat->AddAttr(QName(kChromotingXmlNamespace, kHostIdAttr), host_id_); in CreateHeartbeatMessage()
249 heartbeat->AddAttr(QName(kChromotingXmlNamespace, kSequenceIdAttr), in CreateHeartbeatMessage()
254 QName(kChromotingXmlNamespace, kHostVersionTag))); in CreateHeartbeatMessage()
[all …]
/external/chromium_org/remoting/signaling/
Diq_sender_unittest.cc24 using ::buzz::QName;
61 new XmlElement(QName(kNamespace, kBodyTag))); in SendTestMessage()
95 response->AddAttr(QName(std::string(), "type"), "result"); in TEST_F()
96 response->AddAttr(QName(std::string(), "id"), kStanzaId); in TEST_F()
97 response->AddAttr(QName(std::string(), "from"), kTo); in TEST_F()
100 QName("test:namespace", "response-body")); in TEST_F()
127 response->AddAttr(QName(std::string(), "type"), "result"); in TEST_F()
128 response->AddAttr(QName(std::string(), "id"), kStanzaId); in TEST_F()
129 response->AddAttr(QName(std::string(), "from"), "different_user@domain.com"); in TEST_F()
132 QName("test:namespace", "response-body")); in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dparsing.h81 const buzz::QName& name,
84 const buzz::QName& name,
88 const buzz::QName& name, bool def);
90 const buzz::QName& name, int def);
94 const buzz::QName& name, in GetXmlAttr()
105 const buzz::QName& name, in GetXmlAttr()
117 const buzz::QName& name, const T& val) { in AddXmlAttr()
144 const buzz::QName& name,
148 const buzz::QName name,
/external/chromium_org/jingle/notifier/listener/
Dxml_element_util.cc25 const buzz::QName elementQName(buzz::STR_EMPTY, name); in MakeBoolXmlElement()
26 const buzz::QName boolAttrQName(buzz::STR_EMPTY, "bool"); in MakeBoolXmlElement()
34 const buzz::QName elementQName(buzz::STR_EMPTY, name); in MakeIntXmlElement()
35 const buzz::QName intAttrQName(buzz::STR_EMPTY, "int"); in MakeIntXmlElement()
43 const buzz::QName elementQName(buzz::STR_EMPTY, name); in MakeStringXmlElement()
44 const buzz::QName dataAttrQName(buzz::STR_EMPTY, "data"); in MakeStringXmlElement()

123456