Home
last modified time | relevance | path

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

/external/webrtc/webrtc/libjingle/xmllite/
Dxmlelement_unittest.cc95 EXPECT_TRUE(elt.HasAttr(QName("", "a"))); in TEST()
96 EXPECT_TRUE(elt.HasAttr(QName("", "b"))); in TEST()
97 EXPECT_TRUE(elt.HasAttr(QName("", "c"))); in TEST()
98 EXPECT_FALSE(elt.HasAttr(QName("", "d"))); in TEST()
103 EXPECT_TRUE(elt.HasAttr(QName("", "d"))); in TEST()
Dxmlelement.h140 bool HasAttr(const StaticQName& name) const;
141 bool HasAttr(const QName& name) const;
Dxmlelement.cc176 bool XmlElement::HasAttr(const StaticQName& name) const { in HasAttr() function in buzz::XmlElement
185 bool XmlElement::HasAttr(const QName& name) const { in HasAttr() function in buzz::XmlElement
361 ASSERT(!HasAttr(name)); in AddAttr()
/external/webrtc/webrtc/libjingle/xmpp/
Drostermoduleimpl.cc246 if (!element->HasAttr(QN_XML_LANG)) { in status()
548 xml->HasAttr(QN_SUBSCRIPTION) || in set_raw_xml()
549 xml->HasAttr(QN_ASK)) in set_raw_xml()
604 ASSERT(!element->HasAttr(QN_TO) && in BroadcastPresence()
605 !element->HasAttr(QN_FROM) && in BroadcastPresence()
627 element.HasAttr(QN_TO) || in SendDirectedPresence()
628 element.HasAttr(QN_FROM)) in SendDirectedPresence()
631 if (element.HasAttr(QN_TYPE)) { in SendDirectedPresence()
751 contact_xml->HasAttr(QN_SUBSCRIPTION) || in RequestRosterChange()
752 contact_xml->HasAttr(QN_ASK)) in RequestRosterChange()
Dchatroommoduleimpl.cc383 if (message.HasAttr(QN_FROM)) { in SendMessage()
516 if (presence.HasAttr(QN_TYPE) == false) { in ServerChangeMyPresence()
594 if (error != NULL && error->HasAttr(QN_CODE)) { in GetEnterFailureFromXml()
624 if (user_status != NULL && user_status->HasAttr(QN_CODE)) { in GetExitFailureFromXml()
Dxmppengineimpl_iq.cc52 if (!element->HasAttr(QN_ID)) in SendIq()
241 if (!element->HasAttr(QN_ID)) in HandleIqResponse()
Dmucroomuniquehangoutidtask.cc41 !unique_elem->HasAttr(QN_HANGOUT_ID)) { in HandleResult()
Ddiscoitemsquerytask.cc52 if (element->HasAttr(QN_JID)) { in ParseItem()
Dmucroomdiscoverytask.cc34 if (identity == NULL || !identity->HasAttr(QN_NAME)) { in HandleResult()
Dxmpptask.cc108 if (query->HasAttr(QN_FROM)) { in MakeIqResult()
Dpubsub_task.cc179 ASSERT(items->HasAttr(QN_NODE)); in HandlePubsubItems()
Dxmpplogintask.cc336 if (!element->HasAttr(QN_ID)) in HandleStartStream()
Dxmppengineimpl.cc350 ASSERT(!element->HasAttr(QN_FROM)); in InternalSendStanza()
/external/tensorflow/tensorflow/core/framework/
Ddataset.cc86 bool has_output_types_attr = HasAttr(op_type_name, "output_types"); in AddDataset()
87 bool has_output_shapes_attr = HasAttr(op_type_name, "output_shapes"); in AddDataset()
188 bool GraphDefBuilderWrapper::HasAttr(const string& op_type_name, in HasAttr() function in tensorflow::GraphDefBuilderWrapper
195 return HasAttr(op_def, attr_name); in HasAttr()
Ddataset.h211 bool HasAttr(const string& op_type_name, const string& attr_name) const;
213 bool HasAttr(const OpDef* op_def, const string& attr_name) const { in HasAttr() function
Dop_kernel.h313 bool HasAttr(StringPiece attr_name) const;
Dop_kernel.cc203 bool OpKernelConstruction::HasAttr(StringPiece attr_name) const { in HasAttr() function in tensorflow::OpKernelConstruction
/external/tensorflow/tensorflow/contrib/lite/toco/
Dimport_tensorflow.cc66 bool HasAttr(const NodeDef& node, const string& attr_name) { in HasAttr() function
71 CHECK(HasAttr(node, attr_name)); in GetStringAttr()
78 CHECK(HasAttr(node, attr_name)) << attr_name << " not found in:\n" in GetIntAttr()
86 CHECK(HasAttr(node, attr_name)); in GetFloatAttr()
93 CHECK(HasAttr(node, attr_name)); in GetBoolAttr()
101 CHECK(HasAttr(node, attr_name)); in GetDataTypeAttr()
109 CHECK(HasAttr(node, attr_name)); in GetShapeAttr()
116 CHECK(HasAttr(node, attr_name)); in GetTensorAttr()
124 CHECK(HasAttr(node, attr_name)); in GetListAttr()
748 if (HasAttr(node, "keep_dims")) { in ConvertSumOperator()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dtensor_array_ops.cc167 if (context->HasAttr("identical_element_shapes")) { in TensorArrayOp()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp284 TEST(DeclarationMatcher, HasAttr) { in TEST() argument