Lines Matching defs:attrs
38 bool has_attribute(const char* attr, const vector<string>& attrs) {
39 return std::find(attrs.begin(), attrs.end(), attr) != attrs.end();
42 void dump_attributes(const vector<string>& attrs) {
43 for (auto& a : attrs) {
71 bool ArraySpec::assign_kind(const vector<string>& attrs) {
72 if (has_attribute("IN", attrs)) {
74 } else if (has_attribute("OUT", attrs)) {
76 } else if (has_attribute("INOUT", attrs)) {