Lines Matching refs:tag
888 alloc_type_tag, /* struct/union/tag element */
889 alloc_type_forward, /* element to hold unknown tag */
989 /* Linked list support for tags. The first tag in the list is always
990 the current tag for that block. */
991 typedef struct tag {
992 struct tag *free; /* free list pointer */
994 struct tag *same_name; /* tag with same name in outer scope */
995 struct tag *same_block; /* next tag defined in the same block. */
998 symint_t ifd; /* file # tag defined in */
1007 struct tag *first_tag; /* first tag in block defined */
1014 thead_t *f_thead; /* tag head structure */
1015 tag_t *f_tag; /* tag element structure */
1016 forward_t *f_forward; /* forward tag reference */
1037 tag_t *tag_ptr; /* tag pointer */
1103 tag_t tag [ PAGE_SIZE / sizeof (tag_t) ];
1128 tag_t * tag_ptr; /* tag pointer */
1130 int unknown_tag; /* this is an unknown tag */
1145 NULL, /* ptr to tag */
1147 0, /* unknown tag */
1239 sc_Info, /* 10: C_STRTAG struct tag */
1241 sc_Info, /* 12: C_UNTAG union tag */
1244 sc_Info, /* 15: C_ENTAG enum tag */
1350 st_Block, /* 10: C_STRTAG struct tag */
1352 st_Block, /* 12: C_UNTAG union tag */
1355 st_Block, /* 15: C_ENTAG enum tag */
1503 static thead_t *cur_tag_head = (thead_t *) 0;/* current tag head */
1832 enumeration blocks, push a level on the tag stack. We omit
2134 /* Add tag information if needed. Structure, union, and enum
2195 /* Add a tag to the tag table (unless it already exists). */
2198 get_tag (const char *tag_start, /* 1st byte of tag name */
2199 const char *tag_end_p1, /* 1st byte after tag name */
2200 symint_t indx, /* index of tag start block */
2248 /* Add an unknown {struct, union, enum} tag. */
2782 .tag specify a tag for a struct, union, or enum. */
2792 const char *tag_start = 0; /* start of tag name */
2793 const char *tag_end_p1 = 0; /* end+1 of tag name */
3075 else if (len == sizeof (".tag")-1
3076 && memcmp (dir_start, ".tag", sizeof (".tag")-1) == 0)
3216 error ("no tag specified for %.*s",
3314 /* Create or update the tag information. */
4749 alloc_counts[ alloc_type_tag ].alloc_name = "tag";
5296 /* Allocate structure, union, or enum tag information. */
5321 ptr = &cur_page->tag[ --unallocated ];
5354 /* Allocate forward reference to a yet unknown tag. */