Home
last modified time | relevance | path

Searched refs:AddAttr (Results 1 – 25 of 54) sorted by relevance

123

/external/webrtc/webrtc/libjingle/xmpp/
Dpresenceouttask.cc38 presence->AddAttr(QN_TO, j.Str()); in SendDirected()
49 presence->AddAttr(QN_TO, jid.Str()); in SendProbe()
50 presence->AddAttr(QN_TYPE, "probe"); in SendProbe()
73 result->AddAttr(QN_TYPE, STR_UNAVAILABLE); in TranslateStatus()
111 result->AddAttr(QN_NODE, s.caps_node(), 1); in TranslateStatus()
112 result->AddAttr(QN_VER, s.version(), 1); in TranslateStatus()
120 result->AddAttr(QN_EXT, caps, 1); in TranslateStatus()
133 result->AddAttr(kQnStamp, output, 1); in TranslateStatus()
Dxmpptask.cc97 result->AddAttr(QN_TYPE, type); in MakeIq()
99 result->AddAttr(QN_TO, to.Str()); in MakeIq()
101 result->AddAttr(QN_ID, id); in MakeIq()
107 result->AddAttr(QN_TYPE, STR_RESULT); in MakeIqResult()
109 result->AddAttr(QN_TO, query->Attr(QN_FROM)); in MakeIqResult()
111 result->AddAttr(QN_ID, query->Attr(QN_ID)); in MakeIqResult()
Dpubsubtasks.cc50 items_elem->AddAttr(QN_NODE, node); in CreatePubSubItemsElem()
64 publish_elem->AddAttr(QN_NODE, node); in CreatePubSubPublishItemElem()
66 item_elem->AddAttr(QN_ID, itemid); in CreatePubSubPublishItemElem()
82 retract_elem->AddAttr(QN_NODE, node); in CreatePubSubRetractItemElem()
83 retract_elem->AddAttr(QN_NOTIFY, "true"); in CreatePubSubRetractItemElem()
85 item_elem->AddAttr(QN_ID, itemid); in CreatePubSubRetractItemElem()
Drostermoduleimpl.cc691 roster_get.AddAttr(QN_TYPE, "get"); in RequestRosterUpdate()
692 roster_get.AddAttr(QN_ID, engine()->NextId()); in RequestRosterUpdate()
756 roster_add.AddAttr(QN_TYPE, "set"); in RequestRosterChange()
757 roster_add.AddAttr(QN_ID, engine()->NextId()); in RequestRosterChange()
773 roster_add.AddAttr(QN_TYPE, "set"); in RequestRosterRemove()
774 roster_add.AddAttr(QN_ID, engine()->NextId()); in RequestRosterRemove()
776 roster_add.AddAttr(QN_JID, jid.Str(), 1); in RequestRosterRemove()
777 roster_add.AddAttr(QN_SUBSCRIPTION, "remove", 1); in RequestRosterRemove()
854 result.AddAttr(QN_TYPE, "result"); in HandleStanza()
855 result.AddAttr(QN_TO, stanza->Attr(QN_FROM)); in HandleStanza()
[all …]
Dxmppengineimpl_iq.cc105 error_element->AddAttr(QN_CODE, code, 1); in AecImpl()
106 error_element->AddAttr(QN_TYPE, type, 1); in AecImpl()
192 error_element.AddAttr(QN_TYPE, "error"); in SendStanzaError()
204 error_element.AddAttr(name, attribute->Value()); in SendStanzaError()
Dxmppengine_unittest.cc254 roster_get.AddAttr(QN_TYPE, "get"); in TEST_F()
255 roster_get.AddAttr(QN_ID, engine()->NextId()); in TEST_F()
279 roster_get.AddAttr(QN_TYPE, "get"); in TEST_F()
280 roster_get.AddAttr(QN_ID, engine()->NextId()); in TEST_F()
Dsaslcookiemechanism.h46 el->AddAttr(QN_MECHANISM, mechanism_); in StartSaslAuth()
48 el->AddAttr(QN_GOOGLE_AUTH_SERVICE, token_service_); in StartSaslAuth()
Dxmpplogintask.cc257 iq.AddAttr(QN_TYPE, "set"); in Advance()
260 iq.AddAttr(QN_ID, iqId_); in Advance()
291 iq.AddAttr(QN_TYPE, "set"); in Advance()
294 iq.AddAttr(QN_ID, iqId_); in Advance()
Dchatroommoduleimpl.cc276 element.AddAttr(QN_TO, member_jid().Str()); in RequestEnterChatroom()
309 element.AddAttr(QN_TO, member_jid().Str()); in RequestExitChatroom()
310 element.AddAttr(QN_TYPE, "unavailable"); in RequestExitChatroom()
336 element.AddAttr(QN_TO, member_jid().Str()); in RequestConnectionStatusChange()
341 con_status_element->AddAttr(QN_STATUS, GetAttrValueFor(connection_status)); in RequestConnectionStatusChange()
Dsaslplainmechanism.h30 el->AddAttr(QN_MECHANISM, "PLAIN"); in StartSaslAuth()
Ddiscoitemsquerytask.cc27 element->AddAttr(QN_NODE, node); in MakeRequest()
Drostermodule_unittest.cc250 status->AddAttr(QN_STATUS, STR_PSTN_CONFERENCE_STATUS_CONNECTING); in TEST_F()
336 presence_input.AddAttr(QN_TYPE, "unavailable"); in TEST_F()
340 presence_input.AddAttr(QN_XML_LANG, "es", 1); in TEST_F()
/external/tensorflow/tensorflow/compiler/jit/
Dpartially_decluster_pass_test.cc141 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
142 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
178 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
179 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
180 consumer_in_different_cluster->AddAttr(kXlaClusterAttr, "cluster_1"); in TEST()
208 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
209 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
210 consumer_in_different_cluster->AddAttr(kXlaClusterAttr, "cluster_1"); in TEST()
239 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
240 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
[all …]
Dextract_outside_compilation_pass_test.cc57 add_node->AddAttr(kXlaConnectedToXlaComputationAttrName, "cluster"); in TEST()
58 add_node->AddAttr(kXlaConnectedFromXlaComputationAttrName, "cluster"); in TEST()
210 const0_node->AddAttr(kXlaInferredShapesAttrName, in TEST()
279 node_name_image["identity0"]->AddAttr("_oc", "0"); in TEST_F()
280 node_name_image["identity1"]->AddAttr("_oc", "1"); in TEST_F()
282 node_name_image["identity1"]->AddAttr( in TEST_F()
459 node_name_image["const1"]->AddAttr("_oc", "0"); in TEST_F()
545 node_name_image["identity_true_fn"]->AddAttr("_oc", "0"); in TEST_F()
547 node_name_image["identity_true_fn"]->AddAttr( in TEST_F()
561 node_name_image["identity_false_fn"]->AddAttr("_oc", "0"); in TEST_F()
[all …]
Dextract_outside_compilation_pass.cc419 n->AddAttr("device_ordinal", device_ordinal_value); in ResetDeviceOrdinalToPlaceholderValue()
427 n->AddAttr(attr_name, branch_func); in ResetDeviceOrdinalToPlaceholderValue()
435 n->AddAttr(attr_name, branch_func); in ResetDeviceOrdinalToPlaceholderValue()
440 n->AddAttr("device_ordinal", device_ordinal_value); in ResetDeviceOrdinalToPlaceholderValue()
1339 replace->AddAttr(kXlaTokenInputNodesAttrName, in ExtractOutsideCompilationForNodesWithAssociatedFunctions()
1390 n->AddAttr("then_branch", then_branch); in ExtractOutsideCompilationForNodesWithAssociatedFunctions()
1393 n->AddAttr("else_branch", else_branch); in ExtractOutsideCompilationForNodesWithAssociatedFunctions()
1404 n->AddAttr(kXlaTokenInputNodesAttrName, in ExtractOutsideCompilationForNodesWithAssociatedFunctions()
1453 n->AddAttr("cond", cond); in ExtractOutsideCompilationForNodesWithAssociatedFunctions()
1456 n->AddAttr("body", body); in ExtractOutsideCompilationForNodesWithAssociatedFunctions()
[all …]
Dencapsulate_util.cc54 n->AddAttr(attr_name, attr_value); in AppendToListAttr()
62 n->AddAttr(attr_name, value); in ReplaceAttr()
330 n->AddAttr(kXlaInferredShapesAttrName, output_shapes); in PerformStaticShapeInferenceBeforeEncapsulation()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dside_effect_util.cc39 node->AddAttr("device_ordinal", device_ordinal); in SetDeviceOrdinalAttributeForNode()
49 node->AddAttr(attr_name, branch_func); in SetDeviceOrdinalAttributeForNode()
59 node->AddAttr(attr_name, branch_func); in SetDeviceOrdinalAttributeForNode()
64 node->AddAttr("device_ordinal", device_ordinal); in SetDeviceOrdinalAttributeForNode()
Dconst_analysis_test.cc125 reshape.node()->AddAttr(kXlaCompileTimeConstantInputsAttr, in TEST()
151 add.node()->AddAttr(kXlaCompileTimeConstantInputsAttr, add_constant_inputs); in TEST()
/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils.cc235 node->AddAttr<int64>("parallel_iterations", 1); in DeparallelizeWhileLoops()
391 debug_node->AddAttr<string>(attr.name(), attr_value); in SetDebugNodeAttributes()
400 debug_node->AddAttr<float>(attr.name(), float_value); in SetDebugNodeAttributes()
408 debug_node->AddAttr<int>(attr.name(), int_value); in SetDebugNodeAttributes()
416 debug_node->AddAttr<bool>(attr.name(), bool_value); in SetDebugNodeAttributes()
/external/tensorflow/tensorflow/core/graph/
Dmkl_tfconversion_pass.cc184 conversion_node->AddAttr("data_format", data_format); in InsertConversionNodeOnEdge()
192 conversion_node->AddAttr("_kernel", mkl_op_registry::kMklOpLabel); in InsertConversionNodeOnEdge()
269 conversion_node->AddAttr("data_format", data_format); in InsertInputConversionNode()
277 conversion_node->AddAttr("_kernel", mkl_op_registry::kMklOpLabel); in InsertInputConversionNode()
Dgraph_partition_test.cc537 placeholders.back().node()->AddAttr("_start_time", i + 1); in TEST()
565 placeholders_in_order.back().node()->AddAttr("_start_time", i + 1); in TEST()
579 squares.back().node()->AddAttr("_start_time", 50 - (i + 1)); in TEST()
589 addn.node()->AddAttr("_start_time", 1); in TEST()
631 placeholders_in_order.back().node()->AddAttr("_start_time", i + 1); in TEST()
665 op.node()->AddAttr("_start_time", base_start_time++); in TEST()
675 squares.back().node()->AddAttr("_start_time", 500 - (i + 1)); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/
Dpartitioning_utils.cc100 arg->AddAttr("index", i); in UpdateArgAndRetvalMetadata()
111 ret->AddAttr("index", i); in UpdateArgAndRetvalMetadata()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dvectorization_utils.cc70 map_defun_node->AddAttr("output_types", map_defun_fn->ret_types); in UpdateMapDefunAttrs()
74 map_defun_node->AddAttr("output_shapes", std::vector<PartialTensorShape>( in UpdateMapDefunAttrs()
122 map_defun_fn->ret_nodes[output_position + i]->AddAttr("index", in RemoveMapDefunOutput()
629 map_defun_node_->AddAttr("f", func_attr); in GetResult()
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlelement.h207 void AddAttr(const QName& name, const std::string& value);
208 void AddAttr(const QName& name, const std::string& value, int depth);
Dxmlelement.cc360 void XmlElement::AddAttr(const QName& name, const std::string& value) { in AddAttr() function in buzz::XmlElement
367 void XmlElement::AddAttr(const QName& name, const std::string& value, in AddAttr() function in buzz::XmlElement
373 element->AddAttr(name, value); in AddAttr()

123