Lines Matching refs:tag
165 free(nold->tag); in tag_put()
166 nold->tag = NULL; in tag_put()
185 assert(n->tag == NULL); in tag_put()
186 n->tag = mandoc_strndup(s, len); in tag_put()
191 tag_exists(const char *tag) in tag_exists() argument
193 return ohash_find(&tag_data, ohash_qlookup(&tag_data, tag)) != NULL; in tag_exists()
232 if (np->tag == NULL) { in tag_move_id()
233 np->tag = mandoc_strdup(n->tag == NULL ? in tag_move_id()
234 n->child->string : n->tag); in tag_move_id()
263 tag_move_href(struct roff_man *man, struct roff_node *n, const char *tag) in tag_move_href() argument
286 assert(n->tag == NULL); in tag_move_href()
287 n->tag = mandoc_strdup(tag); in tag_move_href()
302 tag_move_href(man, n->next, n->tag); in tag_postprocess()
307 tag_move_href(man, n->child, n->tag); in tag_postprocess()
319 free(n->tag); in tag_postprocess()
320 n->tag = NULL; in tag_postprocess()