Lines Matching defs:ident

48 struct ident bad_address_space = { .len = 6, .name = "bad AS", };
229 static struct symbol *base_type(struct symbol *node, unsigned long *modp, struct ident **asp)
232 struct ident *as = NULL;
252 struct ident *oldas, *newas;
645 struct ident *as1 = c1->as, *as2 = c2->as;
713 if (t1->ident == t2->ident)
1646 static struct symbol *convert_to_as_mod(struct symbol *sym, struct ident *as, int mod)
1674 warning(expr->pos, "taking address of 'register' variable '%s'", show_ident(sym->ident));
1763 sparse_error(expr->pos, "taking the address of built-in function '%s'", show_ident(ctype->ident));
1785 sparse_error(expr->pos, "taking the address of built-in function '%s'", show_ident(ctype->ident));
1996 static struct symbol *find_identifier(struct ident *ident, struct symbol_list *_list, int *offset)
2007 if (sym->ident) {
2008 if (sym->ident != ident)
2019 sub = find_identifier(ident, ctype->symbol_list, offset);
2070 struct ident *ident = expr->member;
2071 struct ident *address_space;
2076 if (!ident) {
2095 member = find_identifier(ident, ctype->symbol_list, &offset);
2100 if (ctype->ident) {
2101 name = ctype->ident->name;
2102 namelen = ctype->ident->len;
2106 show_ident(ident), type, namelen, name);
2109 "incomplete %s %.*s", show_ident(ident),
2431 while (p && !p->ident && is_bitfield_type(p))
2580 new->expr_ident = field->ident;
2626 ctype->ident ? "in initializer for " : "",
2627 ctype->ident ? ctype->ident->len : 0,
2628 ctype->ident ? ctype->ident->name : "",
2629 ctype->ident ? ": " : "",
2631 show_ident(struct_sym->ident));
2978 struct ident *tas = NULL, *sas = NULL;
3040 item->expr_ident = member->ident;
3180 show_ident(sym->ident));
3201 show_ident(sym->ident));
3207 show_ident(sym->ident));
3237 field = find_identifier(expr->ident, ctype->symbol_list, &offset);
3315 sparse_error(pos, "label '%s' was not declared", show_ident(label->ident));
3499 show_ident(sym->ident),
3508 show_ident(sym->ident), typediff);
3523 if (sym->ident == &main_ident)
3525 warning(sym->pos, "symbol '%s' was not declared. Should it be static?", show_ident(sym->ident));