Searched refs:has_attr (Results 1 – 5 of 5) sorted by relevance
107 def has_attr(self): member in QN133 if self.has_attr() or self.has_subscript():152 if self.has_attr():167 self.has_attr() == other.has_attr())185 if self.has_attr():213 if self.has_attr():
61 bool has_attr = in BinaryOpState() local64 if (has_attr && !incompatible_shape_error) { in BinaryOpState()
543 self.has_attr("warn_unused_result", Some(CXCursor_WarnUnusedResultAttr)) in has_warn_unused_result_attr()549 fn has_attr(&self, name: &str, clang_kind: Option<CXCursorKind>) -> bool { in has_attr() method
267 if qn.has_attr and qn.parent.qn == ('self',):
1636 bool has_attr = TryGetNodeAttr(n->def(), "alpha", &alpha); in LeakyReluRewrite() local1637 DCHECK(has_attr); in LeakyReluRewrite()