Home | History | Annotate | Download | only in pan

Lines Matching defs:tag

68  * I could get a key (tag), get it's sub-keys (TCIDs), then get the key
76 * (2) search for the first tag that has a "stime" record, and use that as
85 SYM Tag, Keys;
100 * extract tag names from data
110 /* exceeded tag array size -- realloc */
122 /* exceeded tag array size -- realloc */
146 * The way that I am using 'Keys' and 'Tag' makes assumptions about the
161 if ((Tag = sym_get(tags, key_get)) != NULL) {
162 tag_report(NULL, Tag, Keys);
171 * End-Of-Test seen, insert this tag into the global tag data.
172 * (1) Get the test's tag
173 * (2) insert the keywords in the "_keys" tag
174 * (3) insert it into the global data under this tag, replacing any existing
183 static int notag = 0; /* counter for records with no tag (error) */
185 char *tag; /* tag name to look things up in */
186 char *status; /* initiation status of old tag */
187 SYM rm; /* pointer to old tag -- to remove it */
192 /* insert keys into tag */
195 /* get the tag, or build a new one */
196 if ((tag = (char *)sym_get(keys, "tag")) == NULL) {
198 * and creates a dummy tag. */
200 fprintf(stderr, "No TAG key! Using %s\n", tagname);
201 sym_put(keys, "tag", strdup(tagname), 0);
202 tag = strdup(tagname);
206 * Special case: duplicate tag that has an initiation_status failure
209 if ((rm = (SYM) sym_get(alltags, tag)) != NULL) {
227 /* put new data.. replaces existing "tag" key if it exists
229 sym_put(alltags, tag, ctag, PUT_REPLACE);
244 /* insert keys into tag */