Searched refs:O_VAL (Results 1 - 22 of 22) sorted by relevance

/freebsd-10.3-release/contrib/nvi/ex/
H A Dex_shift.c69 if (O_VAL(sp, O_SHIFTWIDTH) == 0) {
89 sw += O_VAL(sp, O_SHIFTWIDTH);
111 oldcol += O_VAL(sp, O_TABSTOP) -
112 oldcol % O_VAL(sp, O_TABSTOP);
136 newcol >= O_VAL(sp, O_TABSTOP); ++newidx) {
138 newcol -= O_VAL(sp, O_TABSTOP);
H A Dex_z.c58 cnt = O_VAL(sp, O_SCROLL) * 2;
60 cnt = O_VAL(sp, O_WINDOW) - 1;
H A Dex_util.c136 sp->rows = O_VAL(sp, O_LINES);
137 sp->cols = O_VAL(sp, O_COLUMNS);
H A Dex_txt.c385 ts = O_VAL(sp, O_TABSTOP);
386 sw = O_VAL(sp, O_SHIFTWIDTH);
H A Dex_print.c214 ts = O_VAL(sp, O_TABSTOP);
H A Dex_tag.c112 O_VAL(sp, O_TAGLENGTH)) != 0 && STRLEN(exp->tag_last) > tl)
1055 tl = O_VAL(sp, O_TAGLENGTH);
H A Dex.c934 ecp->addr2.lno = sp->lno + O_VAL(sp, O_SCROLL);
/freebsd-10.3-release/contrib/nvi/common/
H A Doptions_f.c120 if (O_VAL(sp, O_WINDOW) == O_D_VAL(sp, O_WINDOW) ||
121 O_VAL(sp, O_WINDOW) > *valp) {
128 if (O_VAL(sp, O_WINDOW) == O_D_VAL(sp, O_WINDOW) ||
129 O_VAL(sp, O_WINDOW) > *valp) {
338 if (*valp >= O_VAL(sp, O_LINES) - 1 &&
339 (*valp = O_VAL(sp, O_LINES) - 1) == 0)
H A Doptions.h59 #define O_VAL(sp, o) O_V(sp, o, o_cur.val) macro
60 #define O_ISSET(sp, o) O_VAL(sp, o)
H A Doptions.c390 if ((v = (O_VAL(sp, O_LINES) - 1) / 2) == 0)
410 else if ((v = O_VAL(sp, O_LINES) - 1) == 0)
431 o_set(sp, cnt, OS_DEF, NULL, O_VAL(sp, cnt));
680 O_VAL(sp, offset) == value)
879 if (O_VAL(sp, cnt) == O_D_VAL(sp, cnt))
909 sizeof(nbuf), "%ld", O_VAL(sp, cnt));
976 curlen += ex_printf(sp, WS"=%ld", op->name, O_VAL(sp, offset));
1016 "set "WS"=%-3ld\n", op->name, O_VAL(sp, cnt));
H A Dmain.c282 sp->rows = O_VAL(sp, O_LINES); /* Make ex formatting work. */
283 sp->cols = O_VAL(sp, O_COLUMNS);
317 sp->defscroll = (O_VAL(sp, O_WINDOW) + 1) / 2;
H A Dkey.c668 O_VAL(sp, O_ESCAPETIME) :
669 O_VAL(sp, O_KEYTIME)) * 100;
H A Dmsg.c476 rptval = O_VAL(sp, O_REPORT);
/freebsd-10.3-release/contrib/nvi/vi/
H A Dv_z.c65 if (vp->count2 > O_VAL(sp, O_WINDOW))
66 vp->count2 = O_VAL(sp, O_WINDOW);
H A Dv_scroll.c350 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW));
401 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW));
H A Dvi.h356 #define TAB_OFF(c) COL_OFF((c), O_VAL(sp, O_TABSTOP))
360 ((sp)->rows != O_VAL(sp, O_LINES))
363 ((sp)->cols != O_VAL(sp, O_COLUMNS))
H A Dvs_refresh.c603 if (off >= O_VAL(sp, O_SIDESCROLL))
604 off -= O_VAL(sp, O_SIDESCROLL);
617 off += O_VAL(sp, O_SIDESCROLL);
H A Dvi.c957 sp->rows = vip->srows = O_VAL(sp, O_LINES);
958 sp->cols = O_VAL(sp, O_COLUMNS);
959 sp->t_rows = sp->t_minrows = O_VAL(sp, O_WINDOW);
H A Dvs_split.c142 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW);
156 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW);
749 nsp->t_minrows = nsp->t_rows = O_VAL(nsp, O_WINDOW);
H A Dv_txt.c421 if ((margin = O_VAL(sp, O_WRAPMARGIN)) != 0)
424 margin = O_VAL(sp, O_WRAPLEN);
1709 ts = O_VAL(sp, O_TABSTOP);
1898 ts = O_VAL(sp, O_TABSTOP);
1899 sw = O_VAL(sp, O_SHIFTWIDTH);
2781 NULL, O_VAL(sp, O_MATCHTIME) * 100, EC_TIMEOUT));
/freebsd-10.3-release/contrib/nvi/cl/
H A Dcl_screen.c120 0, O_VAL(sp, O_LINES) - 1), 1, cl_putchar);
232 cl_putenv("LINES", NULL, (u_long)O_VAL(sp, O_LINES));
234 cl_putenv("COLUMNS", NULL, (u_long)O_VAL(sp, O_COLUMNS));
H A Dcl_term.c406 row == O_VAL(sp, O_LINES) && col == O_VAL(sp, O_COLUMNS)) {

Completed in 112 milliseconds