Home
last modified time | relevance | path

Searched refs:AddElement (Results 1 – 25 of 37) sorted by relevance

12

/external/webrtc/webrtc/libjingle/xmpp/
Dpresenceouttask.cc78 result->AddElement(new XmlElement(QN_SHOW)); in TranslateStatus()
95 result->AddElement(new XmlElement(QN_STATUS)); in TranslateStatus()
99 result->AddElement(new XmlElement(QN_NICKNAME)); in TranslateStatus()
106 result->AddElement(new XmlElement(QN_PRIORITY)); in TranslateStatus()
110 result->AddElement(new XmlElement(QN_CAPS_C, true)); in TranslateStatus()
125 result->AddElement(new XmlElement(kQnDelayX, true)); in TranslateStatus()
Dmucroomconfigtask.cc49 roomname_field->AddElement(roomname_value); in MakeRequest()
50 x_form->AddElement(roomname_field); in MakeRequest()
62 features_field->AddElement(features_value); in MakeRequest()
65 x_form->AddElement(features_field); in MakeRequest()
66 owner_query->AddElement(x_form); in MakeRequest()
Dpubsubtasks.cc52 pubsub_elem->AddElement(items_elem); in CreatePubSubItemsElem()
69 item_elem->AddElement(*child); in CreatePubSubPublishItemElem()
71 publish_elem->AddElement(item_elem); in CreatePubSubPublishItemElem()
72 pubsub_elem->AddElement(publish_elem); in CreatePubSubPublishItemElem()
86 retract_elem->AddElement(item_elem); in CreatePubSubRetractItemElem()
87 pubsub_elem->AddElement(retract_elem); in CreatePubSubRetractItemElem()
Dmucroomlookuptask.cc70 query->AddElement(name_elem); in MakeNameQuery()
71 query->AddElement(domain_elem); in MakeNameQuery()
80 query->AddElement(jid_elem); in MakeJidQuery()
91 query->AddElement(external_id_elem); in MakeExternalIdQuery()
106 query->AddElement(hangout_id_elem); in MakeHangoutIdQuery()
Dxmppengineimpl_iq.cc104 error_element->AddElement(new XmlElement(QN_ERROR)); in AecImpl()
107 error_element->AddElement(new XmlElement(name, true), 1); in AecImpl()
214 error_element.AddElement(new XmlElement(*(child->AsElement()))); in SendStanzaError()
223 error_element.AddElement(text_element); in SendStanzaError()
Drostermoduleimpl.cc190 raw_xml_->AddElement(new XmlElement(QN_SHOW)); in set_presence_show()
225 raw_xml_->AddElement(new XmlElement(QN_PRIORITY)); in set_priority()
267 raw_xml_->AddElement(new XmlElement(QN_STATUS)); in set_status()
490 raw_xml_->AddElement(new XmlElement(QN_ROSTER_GROUP)); in AddGroup()
693 roster_get.AddElement(new XmlElement(QN_ROSTER_QUERY, true)); in RequestRosterUpdate()
758 roster_add.AddElement(new XmlElement(QN_ROSTER_QUERY, true)); in RequestRosterChange()
759 roster_add.AddElement(new XmlElement(*contact_xml), 1); in RequestRosterChange()
775 roster_add.AddElement(new XmlElement(QN_ROSTER_QUERY, true)); in RequestRosterRemove()
Dchatroommoduleimpl.cc279 element.AddElement(muc_x); in RequestEnterChatroom()
285 muc_x->AddElement(client_version_element); in RequestEnterChatroom()
292 muc_x->AddElement(locale_element); in RequestEnterChatroom()
337 element.AddElement(new XmlElement(QN_MUC_X)); in RequestConnectionStatusChange()
342 element.AddElement(con_status_element); in RequestConnectionStatusChange()
Dxmpplogintask.cc261 iq.AddElement(new XmlElement(QN_BIND_BIND, true)); in Advance()
264 iq.AddElement(new XmlElement(QN_BIND_RESOURCE), 1); in Advance()
295 iq.AddElement(new XmlElement(QN_SESSION_SESSION, true)); in Advance()
Dpubsub_task.cc94 pubsub_element->AddElement(items_element); in SubscribeToNode()
95 get_iq_request->AddElement(pubsub_element); in SubscribeToNode()
Drostermodule_unittest.cc252 presence_xml.AddElement(status); in TEST_F()
337 presence_input.AddElement(new XmlElement(QN_PRIORITY)); in TEST_F()
339 presence_input.AddElement(new XmlElement(QN_STATUS)); in TEST_F()
342 presence_input.AddElement(new XmlElement(QN_STATUS)); in TEST_F()
Diqtask.cc27 stanza_->AddElement(el); in IqTask()
Dpingtask.cc71 stanza->AddElement(new buzz::XmlElement(QN_PING)); in ProcessStart()
Dxmppengine_unittest.cc256 roster_get.AddElement(new XmlElement(QN_ROSTER_QUERY, true)); in TEST_F()
281 roster_get.AddElement(new XmlElement(QN_ROSTER_QUERY, true)); in TEST_F()
Djingleinfotask.cc29 get->AddElement(new XmlElement(QN_JINGLE_INFO_QUERY, true)); in ProcessStart()
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlelement_unittest.cc39 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()
138 elt.AddElement(new XmlElement(QName("", "dummy"))); in TEST()
Dxmlelement.cc316 AddElement(child); in FindOrAddNamedChild()
415 void XmlElement::AddElement(XmlElement *child) { in AddElement() function in buzz::XmlElement
425 void XmlElement::AddElement(XmlElement *child, int depth) { in AddElement() function in buzz::XmlElement
430 element->AddElement(child); in AddElement()
Dxmlprinter_unittest.cc36 elt.AddElement(new XmlElement(QName("nested:test", "second"))); in TEST()
Dxmlelement.h205 void AddElement(XmlElement* child);
206 void AddElement(XmlElement* child, int depth);
Dxmlbuilder.cc85 pelCurrent_->AddElement(pelNew); in StartElement()
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h102 fbb_.AddElement<int8_t>(Type::VT_BASE_TYPE, static_cast<int8_t>(base_type), 0); in add_base_type()
105 fbb_.AddElement<int8_t>(Type::VT_ELEMENT, static_cast<int8_t>(element), 0); in add_element()
108 fbb_.AddElement<int32_t>(Type::VT_INDEX, index, -1); in add_index()
249 fbb_.AddElement<int64_t>(EnumVal::VT_VALUE, value, 0); in add_value()
354 fbb_.AddElement<uint8_t>(Enum::VT_IS_UNION, static_cast<uint8_t>(is_union), 0); in add_is_union()
502 fbb_.AddElement<uint16_t>(Field::VT_ID, id, 0); in add_id()
505 fbb_.AddElement<uint16_t>(Field::VT_OFFSET, offset, 0); in add_offset()
508 fbb_.AddElement<int64_t>(Field::VT_DEFAULT_INTEGER, default_integer, 0); in add_default_integer()
511 fbb_.AddElement<double>(Field::VT_DEFAULT_REAL, default_real, 0.0); in add_default_real()
514 fbb_.AddElement<uint8_t>(Field::VT_DEPRECATED, static_cast<uint8_t>(deprecated), 0); in add_deprecated()
[all …]
/external/flatbuffers/tests/
Dmonster_test_generated.h330 fbb_.AddElement<int8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<int8_t>(color), 2);
410 fbb_.AddElement<int64_t>(Stat::VT_VAL, val, 0);
413 fbb_.AddElement<uint16_t>(Stat::VT_COUNT, count, 0);
772 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
775 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
784 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 8);
787 fbb_.AddElement<uint8_t>(Monster::VT_TEST_TYPE, static_cast<uint8_t>(test_type), 0);
811 fbb_.AddElement<uint8_t>(Monster::VT_TESTBOOL, static_cast<uint8_t>(testbool), 0);
814 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0);
817 fbb_.AddElement<uint32_t>(Monster::VT_TESTHASHU32_FNV1, testhashu32_fnv1, 0);
[all …]
Dtest.cpp712 case 0: builder.AddElement<uint8_t >(off, bool_val, 0); break; in FuzzTest1()
713 case 1: builder.AddElement<int8_t >(off, char_val, 0); break; in FuzzTest1()
714 case 2: builder.AddElement<uint8_t >(off, uchar_val, 0); break; in FuzzTest1()
715 case 3: builder.AddElement<int16_t >(off, short_val, 0); break; in FuzzTest1()
716 case 4: builder.AddElement<uint16_t>(off, ushort_val, 0); break; in FuzzTest1()
717 case 5: builder.AddElement<int32_t >(off, int_val, 0); break; in FuzzTest1()
718 case 6: builder.AddElement<uint32_t>(off, uint_val, 0); break; in FuzzTest1()
719 case 7: builder.AddElement<int64_t >(off, long_val, 0); break; in FuzzTest1()
720 case 8: builder.AddElement<uint64_t>(off, ulong_val, 0); break; in FuzzTest1()
721 case 9: builder.AddElement<float >(off, float_val, 0); break; in FuzzTest1()
[all …]
/external/flatbuffers/tests/union_vector/
Dunion_vector_generated.h79 fbb_.AddElement<int32_t>(MuLan::VT_SWORD_ATTACK_DAMAGE, sword_attack_damage, 0);
119 fbb_.AddElement<int32_t>(Rapunzel::VT_HAIR_LENGTH, hair_length, 0);
159 fbb_.AddElement<int32_t>(Belle::VT_BOOKS_READ, books_read, 0);
/external/flatbuffers/samples/
Dmonster_generated.h259 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
262 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
271 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 2);
277 fbb_.AddElement<uint8_t>(Monster::VT_EQUIPPED_TYPE, static_cast<uint8_t>(equipped_type), 0);
390 fbb_.AddElement<int16_t>(Weapon::VT_DAMAGE, damage, 0);
/external/flatbuffers/tests/namespace_test/
Dnamespace_test1_generated.h91 fbb_.AddElement<int32_t>(TableInNestedNS::VT_FOO, foo, 0); in add_foo()

12