Searched refs:tqp (Results 1 – 6 of 6) sorted by relevance
/netbsd-src/external/bsd/nvi/dist/ex/ |
H A D | ex_tag.c | 128 TAGQ *tqp; in ex_tag_push() local 161 if ((tqp = gtag_slist(sp, exp->tag_last, in ex_tag_push() 166 if ((tqp = ctag_slist(sp, exp->tag_last)) == NULL) in ex_tag_push() 169 if (tagq_push(sp, tqp, F_ISSET(cmdp, E_NEWSCREEN), in ex_tag_push() 187 TAGQ *tqp; in ex_tag_next() local 192 if ((tqp = TAILQ_FIRST(&exp->tq)) == NULL) { in ex_tag_next() 196 if ((tp = TAILQ_NEXT(tqp->current, q)) == NULL) { in ex_tag_next() 202 tqp->current = tp; in ex_tag_next() 204 if (F_ISSET(tqp, TAG_CSCOPE)) in ex_tag_next() 205 (void)cscope_search(sp, tqp, tp); in ex_tag_next() [all …]
|
H A D | ex_cscope.c | 449 TAGQ *rtqp, *tqp; in cscope_find() local 486 if ((tqp = create_cs_cmd(sp, np, &search)) == NULL) in cscope_find() 507 (void)fprintf(csc->to_fp, "%zu%s\n", search, tqp->tag + 2); in cscope_find() 511 if (parse(sp, csc, tqp, &matches)) { in cscope_find() 513 tagq_free(sp, tqp); in cscope_find() 524 tqp->current = TAILQ_FIRST(&tqp->tagq); in cscope_find() 529 if (ex_tag_Nswitch(sp, tqp->current, force)) in cscope_find() 536 if (ex_tag_nswitch(sp, tqp->current, force)) in cscope_find() 553 TAILQ_INSERT_HEAD(&exp->tq, tqp, q); in cscope_find() 554 F_SET(tqp, TAG_IS_LINKED); in cscope_find() [all …]
|
/netbsd-src/external/bsd/nvi/dist/common/ |
H A D | api.c | 527 TAGQ *tqp; in api_tagq_new() local 532 CALLOC_GOTO(sp, tqp, TAGQ *, 1, sizeof(TAGQ) + len + 1); in api_tagq_new() 533 TAILQ_INIT(&tqp->tagq); in api_tagq_new() 534 tqp->tag = tqp->buf; in api_tagq_new() 535 memcpy(tqp->tag, tag, (tqp->tlen = len) + 1); in api_tagq_new() 537 return tqp; in api_tagq_new() 547 api_tagq_add(SCR *sp, TAGQ *tqp, char *filename, char *search, char *msg) in api_tagq_add() argument 570 TAILQ_INSERT_TAIL(&tqp->tagq, tp, q); in api_tagq_add() 582 TAGQ *tqp; in api_tagq_push() local 584 tqp = *tqpp; in api_tagq_push() [all …]
|
/netbsd-src/sys/external/bsd/ipf/netinet/ |
H A D | ip_state.c | 4561 ipf_sttab_init(ipf_main_softc_t *softc, ipftq_t *tqp) in ipf_sttab_init() argument 4566 IPFTQ_INIT(&tqp[i], 0, "ipftq tcp tab"); in ipf_sttab_init() 4567 tqp[i].ifq_next = tqp + i + 1; in ipf_sttab_init() 4569 tqp[IPF_TCP_NSTATES - 1].ifq_next = NULL; in ipf_sttab_init() 4570 tqp[IPF_TCPS_CLOSED].ifq_ttl = softc->ipf_tcpclosed; in ipf_sttab_init() 4571 tqp[IPF_TCPS_LISTEN].ifq_ttl = softc->ipf_tcptimeout; in ipf_sttab_init() 4572 tqp[IPF_TCPS_SYN_SENT].ifq_ttl = softc->ipf_tcpsynsent; in ipf_sttab_init() 4573 tqp[IPF_TCPS_SYN_RECEIVED].ifq_ttl = softc->ipf_tcpsynrecv; in ipf_sttab_init() 4574 tqp[IPF_TCPS_ESTABLISHED].ifq_ttl = softc->ipf_tcpidletimeout; in ipf_sttab_init() 4575 tqp[IPF_TCPS_CLOSE_WAIT].ifq_ttl = softc->ipf_tcphalfclosed; in ipf_sttab_init() [all …]
|
/netbsd-src/external/bsd/nvi/dist/perl_api/ |
H A D | typemap | 45 if ($var->tqp == 0)
|
H A D | perl.xs | 505 TAGQ *tqp; member
|