| /src/external/bsd/nvi/dist/common/ |
| api.c | 527 TAGQ *tqp; local 532 CALLOC_GOTO(sp, tqp, TAGQ *, 1, sizeof(TAGQ) + len + 1); 533 TAILQ_INIT(&tqp->tagq); 534 tqp->tag = tqp->buf; 535 memcpy(tqp->tag, tag, (tqp->tlen = len) + 1); 537 return tqp; 547 api_tagq_add(SCR *sp, TAGQ *tqp, char *filename, char *search, char *msg) 570 TAILQ_INSERT_TAIL(&tqp->tagq, tp, q) 582 TAGQ *tqp; local [all...] |
| /src/external/bsd/nvi/dist/ex/ |
| ex_cscope.c | 449 TAGQ *rtqp, *tqp; local 486 if ((tqp = create_cs_cmd(sp, np, &search)) == NULL) 507 (void)fprintf(csc->to_fp, "%zu%s\n", search, tqp->tag + 2); 511 if (parse(sp, csc, tqp, &matches)) { 513 tagq_free(sp, tqp); 524 tqp->current = TAILQ_FIRST(&tqp->tagq); 529 if (ex_tag_Nswitch(sp, tqp->current, force)) 536 if (ex_tag_nswitch(sp, tqp->current, force)) 553 TAILQ_INSERT_HEAD(&exp->tq, tqp, q) 595 TAGQ *tqp; local [all...] |
| ex_tag.c | 128 TAGQ *tqp; local 161 if ((tqp = gtag_slist(sp, exp->tag_last, 166 if ((tqp = ctag_slist(sp, exp->tag_last)) == NULL) 169 if (tagq_push(sp, tqp, F_ISSET(cmdp, E_NEWSCREEN), 187 TAGQ *tqp; local 192 if ((tqp = TAILQ_FIRST(&exp->tq)) == NULL) { 196 if ((tp = TAILQ_NEXT(tqp->current, q)) == NULL) { 202 tqp->current = tp; 204 if (F_ISSET(tqp, TAG_CSCOPE)) 205 (void)cscope_search(sp, tqp, tp) 227 TAGQ *tqp; local 355 TAGQ *tqp, *dtqp = NULL; local 435 TAGQ *tqp; local 460 TAGQ *tqp; local 513 TAGQ *tqp; local 589 TAGQ *aqp, *tqp; local 657 TAGQ *tqp; local 940 TAGQ *tqp; local 1076 TAGQ *tqp; local 1150 TAGQ *tqp; local [all...] |