Searched refs:item_elem (Results 1 – 4 of 4) sorted by relevance
65 XmlElement* item_elem = new XmlElement(QN_PUBSUB_ITEM, false); in CreatePubSubPublishItemElem() local66 item_elem->AddAttr(QN_ID, itemid); in CreatePubSubPublishItemElem()69 item_elem->AddElement(*child); in CreatePubSubPublishItemElem()71 publish_elem->AddElement(item_elem); in CreatePubSubPublishItemElem()84 XmlElement* item_elem = new XmlElement(QN_PUBSUB_ITEM, false); in CreatePubSubRetractItemElem() local85 item_elem->AddAttr(QN_ID, itemid); in CreatePubSubRetractItemElem()86 retract_elem->AddElement(item_elem); in CreatePubSubRetractItemElem()91 void ParseItem(const XmlElement* item_elem, in ParseItem() argument94 item.itemid = item_elem->Attr(QN_ID); in ParseItem()95 item.elem = item_elem; in ParseItem()[all …]
125 const XmlElement* item_elem = query_elem->FirstNamed(QN_SEARCH_ITEM); in HandleResult() local126 if (item_elem == NULL) { in HandleResult()132 room.jid = Jid(item_elem->Attr(buzz::QN_JID)); 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()
122 const XmlElement* item_elem) { in GetPublisherNickFromPubSubItem() argument123 if (item_elem == NULL) { in GetPublisherNickFromPubSubItem()127 return Jid(item_elem->Attr(QN_ATTR_PUBLISHER)).resource(); in GetPublisherNickFromPubSubItem()
88 const std::string GetPublisherNickFromPubSubItem(const XmlElement* item_elem);