Home
last modified time | relevance | path

Searched refs:tiq (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/external/bsd/nvi/dist/ex/
Dex_append.c85 TEXTH tiq; in ex_aci() local
254 memset(&tiq, 0, sizeof(TEXTH)); in ex_aci()
255 TAILQ_INIT(&tiq); in ex_aci()
257 if (ex_txt(sp, &tiq, 0, flags)) in ex_aci()
260 for (cnt = 0, tp = TAILQ_FIRST(&tiq); tp != NULL; in ex_aci()
Dex_subst.c354 TEXTH tiq; in s() local
448 memset(&tiq, 0, sizeof(TEXTH)); in s()
449 TAILQ_INIT(&tiq); in s()
663 if (ex_txt(sp, &tiq, 0, TXT_CR)) in s()
665 ev.e_c = TAILQ_FIRST(&tiq)->lb[0]; in s()
Dex.c114 if (ex_txt(sp, &sp->tiq, ':', flags)) in ex()
129 tp = TAILQ_FIRST(&sp->tiq); in ex()
/netbsd/src/external/bsd/nvi/dist/common/
Dvi_db1.c124 l1 = TAILQ_FIRST(&sp->tiq)->lno; in db_get()
125 l2 = TAILQ_LAST(&sp->tiq, _texth)->lno; in db_get()
131 for (tp = TAILQ_FIRST(&sp->tiq); in db_get()
500 ep->c_nlines + (TAILQ_LAST(&sp->tiq, _texth)->lno - in db_exist()
501 TAILQ_FIRST(&sp->tiq)->lno) : ep->c_nlines)); in db_exist()
535 *lnop += TAILQ_LAST(&sp->tiq, _texth)->lno - in db_last()
536 TAILQ_FIRST(&sp->tiq)->lno; in db_last()
576 TAILQ_LAST(&sp->tiq, _texth)->lno > lno ? in db_last()
577 TAILQ_LAST(&sp->tiq, _texth)->lno : lno); in db_last()
Dvi_db.c124 l1 = TAILQ_FIRST(&sp->tiq)->lno; in db_get()
125 l2 = TAILQ_LAST(&sp->tiq, _texth)->lno; in db_get()
131 for (tp = TAILQ_FIRST(&sp->tiq); in db_get()
505 ep->c_nlines + TAILQ_LAST(&sp->tiq, _texth)->lno - in db_exist()
506 TAILQ_FIRST(&sp->tiq)->lno : ep->c_nlines)); in db_exist()
541 *lnop += TAILQ_LAST(&sp->tiq, _texth)->lno - in db_last()
542 TAILQ_FIRST(&sp->tiq)->lno; in db_last()
585 TAILQ_LAST(&sp->tiq, _texth)->lno > lno ? in db_last()
586 TAILQ_LAST(&sp->tiq, _texth)->lno : lno); in db_last()
Dscreen.c68 TAILQ_INIT(&sp->tiq); in screen_init()
179 if (!TAILQ_EMPTY(&sp->tiq)) in screen_end1()
180 text_lfree(&sp->tiq); in screen_end1()
Dscreen.h143 TEXTH tiq; /* Ex/vi: text input queue. */ member
/netbsd/src/external/bsd/nvi/dist/vi/
Dv_ex.c300 tp = TAILQ_FIRST(&sp->tiq); in v_filter()
370 tp = TAILQ_FIRST(&sp->tiq); in v_ex()
Dv_txt.c304 tiqh = &sp->tiq; in v_txt()
786 TAILQ_INSERT_TAIL(&sp->tiq, ntp, q); in v_txt()
901 txt_Rresolve(sp, &sp->tiq, tp, len); in v_txt()
924 if (txt_resolve(sp, &sp->tiq, flags)) in v_txt()
1010 txt_backup(sp, &sp->tiq, tp, &flags)) == NULL) in v_txt()
1062 txt_backup(sp, &sp->tiq, tp, &flags)) == NULL) in v_txt()
1161 txt_backup(sp, &sp->tiq, tp, &flags)) == NULL) in v_txt()
1472 txt_err(sp, &sp->tiq); in v_txt()
Dv_search.c99 tp = TAILQ_FIRST(&sp->tiq); in v_exaddr()