Home | History | Annotate | Download | only in gcc

Lines Matching refs:attr_name

80 /* Remove any instances of attribute ATTR_NAME in LIST and return the
110 of ATTR_NAME, and LIST is not NULL_TREE.
114 extern tree private_lookup_attribute (const char *attr_name, size_t attr_len,
144 canonicalize_attr_name (tree attr_name)
146 size_t l = IDENTIFIER_LENGTH (attr_name);
147 const char *s = IDENTIFIER_POINTER (attr_name);
152 return attr_name;
173 /* Given an identifier node IDENT and a string ATTR_NAME, return true
177 is_attribute_p (const char *attr_name, const_tree ident)
179 return cmp_attribs (attr_name, strlen (attr_name),
183 /* Given an attribute name ATTR_NAME and a list of attributes LIST,
188 occurrences are wanted. ATTR_NAME must be in the form 'text' (not
192 lookup_attribute (const char *attr_name, tree list)
194 if (CHECKING_P && attr_name[0] != '_')
196 size_t attr_len = strlen (attr_name);
197 gcc_checking_assert (!canonicalize_attr_name (attr_name, attr_len));
204 size_t attr_len = strlen (attr_name);
206 In most cases attr_name is a string constant, and the compiler
208 return private_lookup_attribute (attr_name, attr_len, list);
212 /* Given an attribute name ATTR_NAME and a list of attributes LIST,
214 starts with ATTR_NAME. ATTR_NAME must be in the form 'text' (not
218 lookup_attribute_by_prefix (const char *attr_name, tree list)
220 gcc_checking_assert (attr_name[0] != '_');
226 size_t attr_len = strlen (attr_name);
241 if (strncmp (attr_name, p, attr_len) == 0)