Home
last modified time | relevance | path

Searched refs:FirstNamed (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/libjingle/xmpp/
Dmucroomdiscoverytask.cc25 const XmlElement* query = stanza->FirstNamed(QN_DISCO_INFO_QUERY); in HandleResult()
33 const XmlElement* identity = query->FirstNamed(QN_DISCO_IDENTITY); in HandleResult()
43 identity->FirstNamed(QN_GOOGLE_MUC_HANGOUT_CONVERSATION_ID); in HandleResult()
49 for (const XmlElement* feature = query->FirstNamed(QN_DISCO_FEATURE); in HandleResult()
54 const XmlElement* data_x = query->FirstNamed(QN_XDATA_X); in HandleResult()
56 for (const XmlElement* field = data_x->FirstNamed(QN_XDATA_FIELD); in HandleResult()
Dpubsubtasks.cc32 const XmlElement* event_elem = stanza->FirstNamed(QN_PUBSUB_EVENT); in IsPubSubEventItemsElem()
37 const XmlElement* items_elem = event_elem->FirstNamed(QN_PUBSUB_EVENT_ITEMS); in IsPubSubEventItemsElem()
109 const XmlElement* event_elem = stanza->FirstNamed(QN_PUBSUB_EVENT); in ParseEventItemsElem()
112 event_elem->FirstNamed(QN_PUBSUB_EVENT_ITEMS); in ParseEventItemsElem()
115 items_elem->FirstNamed(QN_PUBSUB_EVENT_ITEM); in ParseEventItemsElem()
121 items_elem->FirstNamed(QN_PUBSUB_EVENT_RETRACT); in ParseEventItemsElem()
132 const XmlElement* pubsub_elem = stanza->FirstNamed(QN_PUBSUB); in ParsePubSubItemsElem()
134 const XmlElement* items_elem = pubsub_elem->FirstNamed(QN_PUBSUB_ITEMS); in ParsePubSubItemsElem()
136 for (const XmlElement* item_elem = items_elem->FirstNamed(QN_PUBSUB_ITEM); in ParsePubSubItemsElem()
Dpresencereceivetask.cc74 const XmlElement * status_elem = stanza->FirstNamed(QN_STATUS); in DecodeStatus()
91 const XmlElement * priority = stanza->FirstNamed(QN_PRIORITY); in DecodeStatus()
99 const XmlElement * show = stanza->FirstNamed(QN_SHOW); in DecodeStatus()
114 const XmlElement * caps = stanza->FirstNamed(QN_CAPS_C); in DecodeStatus()
125 const XmlElement* delay = stanza->FirstNamed(kQnDelayX); in DecodeStatus()
134 const XmlElement* nick = stanza->FirstNamed(QN_NICKNAME); in DecodeStatus()
Djingleinfotask.cc92 const XmlElement * query = stanza->FirstNamed(QN_JINGLE_INFO_QUERY); in ProcessStart()
95 const XmlElement *stun = query->FirstNamed(QN_JINGLE_INFO_STUN); in ProcessStart()
97 for (const XmlElement *server = stun->FirstNamed(QN_JINGLE_INFO_SERVER); in ProcessStart()
107 const XmlElement *relay = query->FirstNamed(QN_JINGLE_INFO_RELAY); in ProcessStart()
110 for (const XmlElement *server = relay->FirstNamed(QN_JINGLE_INFO_SERVER); in ProcessStart()
Dmucroomlookuptask.cc119 const XmlElement* query_elem = stanza->FirstNamed(QN_SEARCH_QUERY); in HandleResult()
125 const XmlElement* item_elem = query_elem->FirstNamed(QN_SEARCH_ITEM); in HandleResult()
139 item_elem->FirstNamed(QN_SEARCH_ROOM_NAME); in HandleResult()
145 item_elem->FirstNamed(QN_SEARCH_ROOM_DOMAIN); in HandleResult()
151 item_elem->FirstNamed(QN_SEARCH_HANGOUT_ID); in HandleResult()
Drostermoduleimpl.cc243 for (status_element = element = raw_xml_->FirstNamed(QN_STATUS); in status()
279 XmlElement* con = raw_xml_->FirstNamed(QN_GOOGLE_PSTN_CONFERENCE_STATUS); in connection_status()
300 XmlElement* muc_user_x = raw_xml_->FirstNamed(QN_MUC_USER_X); in google_user_id()
302 XmlElement* muc_user_item = muc_user_x->FirstNamed(QN_MUC_USER_ITEM); in google_user_id()
316 XmlElement* nickname = raw_xml_->FirstNamed(QN_NICKNAME); in nickname()
430 XmlElement *group_element = raw_xml_->FirstNamed(QN_ROSTER_GROUP); in GetGroupCount()
463 XmlElement * group_element = raw_xml_->FirstNamed(QN_ROSTER_GROUP); in GetGroup()
846 const XmlElement * roster_query = stanza->FirstNamed(QN_ROSTER_QUERY); in HandleStanza()
1005 const XmlElement* result_data = stanza->FirstNamed(QN_ROSTER_QUERY); in InternalRosterItems()
1011 for (const XmlElement* roster_item = result_data->FirstNamed(QN_ROSTER_ITEM); in InternalRosterItems()
Dpubsubclient.cc85 const XmlElement* pubsub = stanza->FirstNamed(QN_PUBSUB); in GetItemFromStanza()
87 const XmlElement* publish = pubsub->FirstNamed(QN_PUBSUB_PUBLISH); in GetItemFromStanza()
89 return publish->FirstNamed(QN_PUBSUB_ITEM); in GetItemFromStanza()
Dpubsub_task.cc37 stanza->FirstNamed(QN_PUBSUB_EVENT); in HandleStanza()
45 const buzz::XmlElement* pubsub_item = stanza->FirstNamed(QN_PUBSUB); in HandleStanza()
62 OnPubsubError(stanza->FirstNamed(buzz::QN_ERROR)); in ProcessResponse()
Dhangoutpubsubclient.cc84 item.elem->FirstNamed(QN_PRESENTER_PRESENTER); in ParseStateItem()
86 item.elem->FirstNamed(QN_PRESENTER_PRESENTATION_ITEM); in ParseStateItem()
281 item->FirstNamed(QN_GOOGLE_MUC_AUDIO_MUTE); in GetAudioMuteNickFromItem()
292 item->FirstNamed(QN_GOOGLE_MUC_MEDIA_BLOCK); in GetBlockeeNickFromItem()
Dchatroommoduleimpl.cc593 const XmlElement* error = presence->FirstNamed(QN_ERROR); in GetEnterFailureFromXml()
600 if (error->FirstNamed(QN_GOOGLE_SESSION_BLOCKED)) { in GetEnterFailureFromXml()
602 } else if (error->FirstNamed(QN_GOOGLE_SESSION_BLOCKING)) { in GetEnterFailureFromXml()
621 const XmlElement* muc_user = presence->FirstNamed(QN_MUC_USER_X); in GetExitFailureFromXml()
623 const XmlElement* user_status = muc_user->FirstNamed(QN_MUC_USER_STATUS); in GetExitFailureFromXml()
Dmucroomuniquehangoutidtask.cc39 const XmlElement* unique_elem = stanza->FirstNamed(QN_MUC_UNIQUE_QUERY); in HandleResult()
Ddiscoitemsquerytask.cc33 const XmlElement* query = stanza->FirstNamed(QN_DISCO_ITEMS_QUERY); in HandleResult()
Diqtask.cc59 SignalError(this, stanza->FirstNamed(QN_ERROR)); in ProcessResponse()
Dxmpplogintask.cc184 pelSaslAuth->FirstNamed(QN_SASL_MECHANISM); in Advance()
355 return pelFeatures_->FirstNamed(name); in GetFeature()
Dpingtask_unittest.cc68 if (test->respond_to_pings && (stanza->FirstNamed(buzz::QN_PING) != NULL)) { in SendStanza()
Dxmpptask.cc152 if (stanza->FirstNamed(qn) == NULL) in MatchRequestIq()
Dpubsubstateclient.h144 const XmlElement* state_elem = item.elem->FirstNamed(state_name_); in ParseStateItem()
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlelement_unittest.cc192 element->FirstNamed(QName("", "firstname"))); in TEST()
194 element->FirstNamed(QName("test-foo", "firstname"))); in TEST()
196 element->FirstNamed(QName("test-foo", "middlename"))); in TEST()
198 element->FirstNamed(QName("test-foo", "middlename"))); in TEST()
202 element->FirstNamed(QName("test-foo", "lastname"))); in TEST()
203 EXPECT_EQ("John", element->FirstNamed(QName("test-foo", "firstname"))-> in TEST()
205 EXPECT_EQ("Y.", element->FirstNamed(QName("test-foo", "middlename"))-> in TEST()
207 EXPECT_EQ("Lennon", element->FirstNamed(QName("test-foo", "lastname"))-> in TEST()
209 EXPECT_TRUE(NULL == element->FirstNamed(QName("test-foo", "firstname"))-> in TEST()
Dxmlelement.h170 XmlElement* FirstNamed(const StaticQName& name);
171 const XmlElement* FirstNamed(const StaticQName& name) const { in FirstNamed() function
172 return const_cast<XmlElement *>(this)->FirstNamed(name); in FirstNamed()
175 XmlElement* FirstNamed(const QName& name);
176 const XmlElement* FirstNamed(const QName& name) const { in FirstNamed() function
177 return const_cast<XmlElement *>(this)->FirstNamed(name); in FirstNamed()
Dxmlelement.cc273 XmlElement::FirstNamed(const QName& name) { in FirstNamed() function in buzz::XmlElement
283 XmlElement::FirstNamed(const StaticQName& name) { in FirstNamed() function in buzz::XmlElement
313 XmlElement* child = FirstNamed(name); in FindOrAddNamedChild()