Lines Matching refs:Ident
175 switch attr.Ident {
178 comp.error(attr.Pos, "%v attribute has args", attr.Ident)
185 n.Name.Name, attr.Ident)
195 case attr.Ident == "packed":
197 comp.error(attr.Pos, "%v attribute has args", attr.Ident)
200 case attr.Ident == "align_ptr":
202 comp.error(attr.Pos, "%v attribute has args", attr.Ident)
205 case strings.HasPrefix(attr.Ident, "align_"):
207 comp.error(attr.Pos, "%v attribute has args", attr.Ident)
209 a, err := strconv.ParseUint(attr.Ident[6:], 10, 64)
212 n.Name.Name, attr.Ident[6:])
220 case attr.Ident == "size":
224 n.Name.Name, attr.Ident)
232 comp.error(attr.Pos, "%v attribute is expected to have 1 argument", attr.Ident)
248 if desc := builtinTypes[t.Ident]; desc != nil {
251 if comp.resources[t.Ident] != nil {
254 if comp.structs[t.Ident] != nil {
257 if comp.typedefs[t.Ident] != nil {
270 com := genCommon(t.Ident, field, sizeUnassigned, dir, opt != nil)
321 if last := len(args) - 1; last >= 0 && args[last].Ident == "opt" {