Home
last modified time | relevance | path

Searched refs:Xmax (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/lib/libeti/form/common/
H A Dchg_data.c40 #define AT_END(f) (Y(f) == Ymax(f) - 1 && X(f) == Xmax(f) - 1)
51 return (v == _data_end(v, Xmax(f))); /* check for empty line */ in room_for_line()
60 (void) wmove(w, Y(f), Xmax(f) - 1); in room_for_char()
179 char *v = _data_end(vbeg, Xmax(f)); in insert_str()
181 int n = Xmax(f) - x; in insert_str()
200 v = _data_beg(vbeg + Xmax(f) - siz, siz); in insert_str()
203 n = Xmax(f) - x - n; in insert_str()
247 v = _whsp_end(vbeg, Xmax(f)); in wrap_ok()
249 n = Xmax(f) - x; in wrap_ok()
341 vend = _data_end(v, Xmax(f) - X(f)); in _new_line()
[all …]
H A Dchg_char.c48 if (++X(f) == Xmax(f)) { in _next_char()
72 X(f) = Xmax(f) - 1; in _prev_char()
196 _adjust_cursor(f, _data_beg(LineBuf(c, Y(f)), Xmax(f))); in _beg_line()
208 end = _data_end(LineBuf(c, Y(f)), Xmax(f)); in _end_line()
210 if (end == LineBuf(c, Y(f)) + Xmax(f)) in _end_line()
232 if (++X(f) == Xmax(f)) { in _right_char()
H A Dutility.c97 Y(f) = pos / Xmax(f); in _adjust_cursor()
98 X(f) = pos - Y(f) * Xmax(f); in _adjust_cursor()
/titanic_50/usr/src/lib/libeti/form/inc/
H A Dutility.h137 #define Xmax(f) (C(f) -> dcols) macro