Lines Matching refs:name

53 	/* whether unique non-duplicate name was already assigned */
91 /* per-type optional cached unique name, must be freed, if present */
108 /* maps struct/union/enum name to a number of name occurrences */
112 * name occurrences
243 /* any set cached name is owned by us and should be freed */
865 const char *name;
896 pad_type = pads[i].name;
942 pad_type = pads[i].name;
1043 const char *name = btf_dump_type_name(d, id);
1047 if (strcmp(name, missing_base_types[i][0]) == 0) {
1049 missing_base_types[i][1], name);
1068 const char *name;
1073 name = btf_name_of(d, v->name_off);
1075 dup_cnt = btf_dump_name_dups(d, d->ident_names, name);
1078 btf_dump_printf(d, fmt_str, pfx(lvl + 1), name, dup_cnt, v->val);
1081 btf_dump_printf(d, fmt_str, pfx(lvl + 1), name, v->val);
1093 const char *name;
1099 name = btf_name_of(d, v->name_off);
1100 dup_cnt = btf_dump_name_dups(d, d->ident_names, name);
1106 pfx(lvl + 1), name, dup_cnt,
1112 pfx(lvl + 1), name,
1178 const char *name = btf_dump_type_name(d, id);
1181 btf_dump_printf(d, "union %s", name);
1183 btf_dump_printf(d, "struct %s", name);
1189 const char *name = btf_dump_ident_name(d, id);
1197 if (t->type == 0 && strcmp(name, "__gnuc_va_list") == 0) {
1203 btf_dump_emit_type_decl(d, t->type, name, lvl);
1409 const char *name, bool last_was_ptr)
1411 bool separate = name[0] && !last_was_ptr;
1413 btf_dump_printf(d, "%s%s", separate ? " " : "", name);
1431 const char *name;
1452 name = btf_name_of(d, t->name_off);
1453 btf_dump_printf(d, "%s", name);
1495 name = btf_name_of(d, t->name_off);
1496 btf_dump_printf(d, " __attribute__((btf_type_tag(\"%s\")))", name);
1579 name = btf_name_of(d, p->name_off);
1580 btf_dump_emit_type_decl(d, p->type, name, lvl);
1598 /* show type name as (type_name) */
1604 /* for array members, we don't bother emitting type name for each
1606 * .name = (char[4])[(char)'f',(char)'o',(char)'o',]
1611 /* avoid type name specification for variable/section; it will be done
1631 /* return number of duplicates (occurrences) of a given name */