Lines Matching refs:vb
231 void vtbuf_scroll_mode(struct vt_buf *vb, int yes);
232 void vtbuf_dirty(struct vt_buf *vb, const term_rect_t *area);
236 int vtbuf_iscursor(const struct vt_buf *vb, int row, int col);
239 int vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row);
240 int vtbuf_get_marked_len(struct vt_buf *vb);
241 void vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz);
252 #define VTBUF_SLCK_ENABLE(vb) vtbuf_scroll_mode((vb), 1) argument
253 #define VTBUF_SLCK_DISABLE(vb) vtbuf_scroll_mode((vb), 0) argument
255 #define VTBUF_MAX_HEIGHT(vb) \ argument
256 ((vb)->vb_history_size)
257 #define VTBUF_GET_ROW(vb, r) \ argument
258 ((vb)->vb_rows[((vb)->vb_roffset + (r)) % VTBUF_MAX_HEIGHT(vb)])
259 #define VTBUF_GET_FIELD(vb, r, c) \ argument
260 ((vb)->vb_rows[((vb)->vb_roffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
261 #define VTBUF_FIELD(vb, r, c) \ argument
262 ((vb)->vb_rows[((vb)->vb_curroffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
263 #define VTBUF_ISCURSOR(vb, r, c) \ argument
264 vtbuf_iscursor((vb), (r), (c))
275 void vthistory_addlines(struct vt_buf *vb, int offset);