Home
last modified time | relevance | path

Searched refs:AddAttr (Results 1 – 25 of 62) 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()
Dsaslcookiemechanism.h46 el->AddAttr(QN_MECHANISM, mechanism_); in StartSaslAuth()
48 el->AddAttr(QN_GOOGLE_AUTH_SERVICE, token_service_); in StartSaslAuth()
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()
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()
/external/tensorflow/tensorflow/compiler/jit/
Dpartially_decluster_pass_test.cc138 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
139 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
175 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
176 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
177 consumer_in_different_cluster->AddAttr(kXlaClusterAttr, "cluster_1"); in TEST()
205 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
206 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
207 consumer_in_different_cluster->AddAttr(kXlaClusterAttr, "cluster_1"); in TEST()
236 clustered_producer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
237 clustered_consumer->AddAttr(kXlaClusterAttr, "cluster_0"); in TEST()
[all …]
Dbuild_xla_ops_pass_test.cc153 call->AddAttr(kXlaHasReferenceVarsAttr, false); in TEST_F()
156 write_op->AddAttr(kXlaHasReferenceVarsAttr, false); in TEST_F()
197 call->AddAttr(kXlaHasReferenceVarsAttr, false); in TEST_F()
200 write_op->AddAttr(kXlaHasReferenceVarsAttr, false); in TEST_F()
234 call->AddAttr(kXlaHasReferenceVarsAttr, false); in TEST_F()
237 write_op->AddAttr(kXlaHasReferenceVarsAttr, false); in TEST_F()
260 call->AddAttr(kXlaHasReferenceVarsAttr, false); in TEST_F()
289 call->AddAttr(kXlaHasReferenceVarsAttr, false); in TEST_F()
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()
280 node_name_image["identity0"]->AddAttr("_oc", "0"); in TEST_F()
281 node_name_image["identity1"]->AddAttr("_oc", "1"); in TEST_F()
283 node_name_image["identity1"]->AddAttr( in TEST_F()
453 node_name_image["identity_true_fn"]->AddAttr("_oc", "0"); in TEST_F()
455 node_name_image["identity_true_fn"]->AddAttr( in TEST_F()
469 node_name_image["identity_false_fn"]->AddAttr("_oc", "0"); in TEST_F()
471 node_name_image["identity_false_fn"]->AddAttr( in TEST_F()
[all …]
Dextract_outside_compilation_pass.cc406 n->AddAttr("device_ordinal", device_ordinal_value); in ResetDeviceOrdinalToPlaceholderValue()
414 n->AddAttr(attr_name, branch_func); in ResetDeviceOrdinalToPlaceholderValue()
422 n->AddAttr(attr_name, branch_func); in ResetDeviceOrdinalToPlaceholderValue()
427 n->AddAttr("_device_ordinal", device_ordinal_value); in ResetDeviceOrdinalToPlaceholderValue()
492 n->AddAttr(type_attr_name, data_types); in UpdateTypesAttribute()
752 n->AddAttr("Tin", data_types); in PostprocessLiftedArgsForIf()
1821 replace->AddAttr(kXlaTokenInputNodesAttrName, in ExtractOutsideCompilationForFuncCallNode()
1823 replace->AddAttr(kXlaOriginalOutsideCompilationNodeName, replace->name()); in ExtractOutsideCompilationForFuncCallNode()
1883 n->AddAttr("then_branch", then_branch); in ExtractOutsideCompilationForIfNode()
1888 n->AddAttr("else_branch", else_branch); in ExtractOutsideCompilationForIfNode()
[all …]
Dencapsulate_util.cc60 n->AddAttr(attr_name, attr_value); in AppendToListAttr()
68 n->AddAttr(attr_name, value); in ReplaceAttr()
340 n->AddAttr(kXlaInferredShapesAttrName, output_shapes); in PerformStaticShapeInferenceBeforeEncapsulation()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dside_effect_util.cc56 node->AddAttr("device_ordinal", device_ordinal); in SetDeviceOrdinalAttributeForNode()
66 node->AddAttr(attr_name, branch_func); in SetDeviceOrdinalAttributeForNode()
76 node->AddAttr(attr_name, branch_func); in SetDeviceOrdinalAttributeForNode()
81 node->AddAttr("_device_ordinal", device_ordinal); in SetDeviceOrdinalAttributeForNode()
Drearrange_function_argument.cc169 n->AddAttr("index", new_index); in RearrangeArgNodes()
271 n->AddAttr("index", iter->second); in RearrangeRetvalNodes()
299 n->AddAttr("T", new_types); in MaybeRewriteWhileNode()
357 n->AddAttr("index", new_index); in MaybeRewriteWhileNode()
374 n->AddAttr(attr_name, attr_value); in MaybeRewriteWhileNode()
426 n->AddAttr("Tin", new_in_types); in MaybeRewriteIfNode()
463 n->AddAttr(attr_name, f); in MaybeRewriteIfNode()
497 n->AddAttr("Tout", new_out_types); in MaybeRewriteIfNode()
Dconst_analysis_test.cc125 reshape.node()->AddAttr(kXlaCompileTimeConstantInputsAttr, in TEST()
151 add.node()->AddAttr(kXlaCompileTimeConstantInputsAttr, add_constant_inputs); in TEST()
/external/tensorflow/tensorflow/core/graph/
Dmkl_tfconversion_pass.cc184 conversion_node->AddAttr("data_format", data_format); in InsertConversionNodeOnEdge()
192 conversion_node->AddAttr("_kernel", in InsertConversionNodeOnEdge()
270 conversion_node->AddAttr("data_format", data_format); in InsertInputConversionNode()
278 conversion_node->AddAttr("_kernel", 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/debug/
Ddebug_graph_utils.cc268 node->AddAttr<int64>("parallel_iterations", 1); in DeparallelizeWhileLoops()
424 debug_node->AddAttr<string>(attr.name(), attr_value); in SetDebugNodeAttributes()
433 debug_node->AddAttr<float>(attr.name(), float_value); in SetDebugNodeAttributes()
441 debug_node->AddAttr<int>(attr.name(), int_value); in SetDebugNodeAttributes()
449 debug_node->AddAttr<bool>(attr.name(), bool_value); in SetDebugNodeAttributes()
/external/tensorflow/tensorflow/core/common_runtime/
Dpartitioning_utils.cc101 arg->AddAttr("index", i); in UpdateArgAndRetvalMetadata()
116 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()
622 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);

123