Lines Matching refs:tag
45 * tag=minimum,maximum#code
47 * "tag" is the name of the value to display with color.
67 char *tag;
148 ce->tag = emalloc(len + 1);
149 strncpy(ce->tag, p, len);
150 ce->tag[len] = '\0';
176 * int color_tag(char *tag)
178 * Declare "tag" as a color tag. Return a tag index to use when testing
179 * a value against the tests for this tag. Should not be called before
184 color_tag(const char *tag)
191 if (tag == NULL || *tag == '\0')
196 dprintf("color_tag(%s)\n", tag);
218 /* look for tag in the list of entries */
221 if (strcmp(entryp->tag, tag) == 0)
231 bytag_names[tagcnt] = estrdup(tag);
241 * Test "value" against tests for tag "tagidx", a number previously returned
323 fprintf(f, " %s (%d-", ep->tag, ep->min);
349 ep->tag, ep->min, ep->max, ep->color, color_ansi[(int)ep->color],