Lines Matching refs:vb
240 void vtbuf_scroll_mode(struct vt_buf *vb, int yes);
241 void vtbuf_dirty(struct vt_buf *vb, const term_rect_t *area);
245 int vtbuf_iscursor(const struct vt_buf *vb, int row, int col);
248 int vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row);
249 int vtbuf_get_marked_len(struct vt_buf *vb);
250 void vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz, int mark);
261 #define VTBUF_SLCK_ENABLE(vb) vtbuf_scroll_mode((vb), 1) argument
262 #define VTBUF_SLCK_DISABLE(vb) vtbuf_scroll_mode((vb), 0) argument
264 #define VTBUF_MAX_HEIGHT(vb) \ argument
265 ((vb)->vb_history_size)
266 #define VTBUF_GET_ROW(vb, r) \ argument
267 ((vb)->vb_rows[((vb)->vb_roffset + (r)) % VTBUF_MAX_HEIGHT(vb)])
268 #define VTBUF_GET_FIELD(vb, r, c) \ argument
269 ((vb)->vb_rows[((vb)->vb_roffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
270 #define VTBUF_FIELD(vb, r, c) \ argument
271 ((vb)->vb_rows[((vb)->vb_curroffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
272 #define VTBUF_ISCURSOR(vb, r, c) \ argument
273 vtbuf_iscursor((vb), (r), (c))
284 void vthistory_addlines(struct vt_buf *vb, int offset);