Searched refs:tiq (Results 1 - 9 of 9) sorted by relevance

/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_append.c88 TEXTH tiq; local
249 * This code can't use the common screen TEXTH structure (sp->tiq),
257 memset(&tiq, 0, sizeof(TEXTH));
258 CIRCLEQ_INIT(&tiq);
260 if (ex_txt(sp, &tiq, 0, flags))
263 for (cnt = 0, tp = tiq.cqh_first;
264 tp != (TEXT *)&tiq; ++cnt, tp = tp->q.cqe_next)
H A Dex_subst.c356 TEXTH tiq; local
447 memset(&tiq, 0, sizeof(TEXTH));
448 CIRCLEQ_INIT(&tiq);
661 if (ex_txt(sp, &tiq, 0, TXT_CR))
663 ev.e_c = tiq.cqh_first->lb[0];
H A Dex.c110 if (ex_txt(sp, &sp->tiq, ':', flags))
125 tp = sp->tiq.cqh_first;
/freebsd-9.3-release/contrib/nvi/common/
H A Dline.c116 l1 = ((TEXT *)sp->tiq.cqh_first)->lno;
117 l2 = ((TEXT *)sp->tiq.cqh_last)->lno;
122 for (tp = sp->tiq.cqh_first;
467 ep->c_nlines + (((TEXT *)sp->tiq.cqh_last)->lno -
468 ((TEXT *)sp->tiq.cqh_first)->lno) : ep->c_nlines));
502 *lnop += ((TEXT *)sp->tiq.cqh_last)->lno -
503 ((TEXT *)sp->tiq.cqh_first)->lno;
530 ((TEXT *)sp->tiq.cqh_last)->lno > lno ?
531 ((TEXT *)sp->tiq.cqh_last)->lno : lno);
H A Dscreen.c63 CIRCLEQ_INIT(&sp->tiq);
173 if (sp->tiq.cqh_first != NULL)
174 text_lfree(&sp->tiq);
H A Dscreen.h76 TEXTH tiq; /* Ex/vi: text input queue. */ member in struct:_scr
/freebsd-9.3-release/contrib/nvi/vi/
H A Dv_ex.c314 tp = sp->tiq.cqh_first;
413 tp = sp->tiq.cqh_first;
H A Dv_txt.c301 tiqh = &sp->tiq;
792 CIRCLEQ_INSERT_TAIL(&sp->tiq, ntp, q);
905 txt_Rresolve(sp, &sp->tiq, tp, len);
928 if (txt_resolve(sp, &sp->tiq, flags))
1014 txt_backup(sp, &sp->tiq, tp, &flags)) == NULL)
1066 txt_backup(sp, &sp->tiq, tp, &flags)) == NULL)
1167 txt_backup(sp, &sp->tiq, tp, &flags)) == NULL)
1478 txt_err(sp, &sp->tiq);
2731 for (lno = tp->lno; (tp = tp->q.cqe_next) != (void *)&sp->tiq; ++lno) {
2932 if ((ttp = ttp->q.cqe_next) == (void *)&sp->tiq)
[all...]
H A Dv_search.c96 tp = sp->tiq.cqh_first;

Completed in 141 milliseconds