Lines Matching refs:attr_proto
139 auto attr_proto = ctx.getAttribute(attributeName); in getAttribute() local
140 if ((nullptr != attr_proto) && attr_proto->has_i()) in getAttribute()
141 return attr_proto->i(); in getAttribute()
146 auto attr_proto = ctx.getAttribute(attributeName); in getAttribute() local
147 if ((nullptr != attr_proto) && attr_proto->has_i()) in getAttribute()
148 return attr_proto->i(); in getAttribute()
154 auto attr_proto = ctx.getAttribute(attributeName); in getAttribute() local
155 if ((nullptr != attr_proto) && attr_proto->has_s()) in getAttribute()
156 return attr_proto->s(); in getAttribute()
551 auto attr_proto = ctx.getAttribute(attributeName);
552 if (nullptr == attr_proto) { // attribute not present
560 if (!attr_proto->has_i()) {
563 auto attr_value = attr_proto->i();
648 auto attr_proto = ctx.getAttribute(attributeName);
649 if ((nullptr == attr_proto) || (!attr_proto->has_type()) ||
650 (attr_proto->type() != AttributeProto_AttributeType_INTS)) {
653 auto& int_list = attr_proto->ints();