area
} *area;
area = (struct area *) rqst->rq_clntcred;
aup = &area->area_aup;
aup->aup_machname = area->area_machname;
aup->aup_gids = area->area_gids;
const char *__restrict area)
snprintf(path, (size_t)PATH_MAX, "%s/%s", area, _CITRUS_MAPPER_DIR);
ma->ma_dir = strdup(area);
} *area;
area = (struct area *)rqst->rq_clntcred;
cred = (struct authdes_cred *)&area->area_cred;
cred->adc_fullname.name = area->area_netname;
} *area;
area = (struct area *) rqst->rq_clntcred;
aup = &area->area_aup;
aup->aup_machname = area->area_machname;
aup->aup_gids = area->area_gids;
if (lsi->area == USIE_LSI_AREA_NO ||
lsi->area == USIE_LSI_AREA_NODATA) {
uint8_t area;
const term_rect_t *area)
vt_fb_bitblt_text(vd, vw, area);
x = area->tr_begin.tp_col * vw->vw_font->vf_width + vw->vw_draw_area.tr_begin.tp_col;
y = area->tr_begin.tp_row * vw->vw_font->vf_height + vw->vw_draw_area.tr_begin.tp_row;
width = area->tr_end.tp_col * vw->vw_font->vf_width + vw->vw_draw_area.tr_begin.tp_col - x;
height = area->tr_end.tp_row * vw->vw_font->vf_height + vw->vw_draw_area.tr_begin.tp_row - y;
const term_rect_t *area)
for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) {
for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col;
drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width;
drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height;
drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width;
drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height;
vt_fb_invalidate_text(struct vt_device *vd, const term_rect_t *area)
for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) {
for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col;
const term_rect_t *area)
for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) {
for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col;
drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width;
drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height;
drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width;
drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height;
const term_rect_t *area)
col = area->tr_begin.tp_col;
row = area->tr_begin.tp_row;
col = area->tr_end.tp_col;
row = area->tr_end.tp_row;
const term_rect_t *area)
for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) {
for (col = area->tr_begin.tp_col;
col < area->tr_end.tp_col;
const term_rect_t *area)
vga_bitblt_text_gfxmode(vd, vw, area);
vga_bitblt_text_txtmode(vd, vw, area);
vga_invalidate_text(struct vt_device *vd, const term_rect_t *area)
for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) {
for (col = area->tr_begin.tp_col;
col < area->tr_end.tp_col;
void vtbuf_dirty(struct vt_buf *vb, const term_rect_t *area);
const term_rect_t *area);
const term_rect_t *area);
const term_rect_t *area);
vtbuf_dirty(struct vt_buf *vb, const term_rect_t *area)
if (vb->vb_dirtyrect.tr_begin.tp_row > area->tr_begin.tp_row)
vb->vb_dirtyrect.tr_begin.tp_row = area->tr_begin.tp_row;
if (vb->vb_dirtyrect.tr_begin.tp_col > area->tr_begin.tp_col)
vb->vb_dirtyrect.tr_begin.tp_col = area->tr_begin.tp_col;
if (vb->vb_dirtyrect.tr_end.tp_row < area->tr_end.tp_row)
vb->vb_dirtyrect.tr_end.tp_row = area->tr_end.tp_row;
if (vb->vb_dirtyrect.tr_end.tp_col < area->tr_end.tp_col)
vb->vb_dirtyrect.tr_end.tp_col = area->tr_end.tp_col;
term_rect_t area;
area.tr_begin = *p;
area.tr_end.tp_row = p->tp_row + 1;
area.tr_end.tp_col = p->tp_col + 1;
vtbuf_dirty(vb, &area);
term_rect_t area;
area.tr_begin = *p2;
area.tr_end.tp_row = MIN(p2->tp_row + rows, vb->vb_scr_size.tp_row);
area.tr_end.tp_col = MIN(p2->tp_col + cols, vb->vb_scr_size.tp_col);
vtbuf_dirty(vb, &area);
term_rect_t area;
area.tr_begin.tp_col = 0;
area.tr_begin.tp_row = MIN(s, e);
area.tr_end.tp_col = vb->vb_scr_size.tp_col;
area.tr_end.tp_row = MAX(s, e) + 1;
vtbuf_dirty(vb, &area);
vt_is_cursor_in_area(const struct vt_device *vd, const term_rect_t *area)
if (mx >= area->tr_end.tp_col ||
mx + vd->vd_mcursor->width <= area->tr_begin.tp_col ||
my >= area->tr_end.tp_row ||
my + vd->vd_mcursor->height <= area->tr_begin.tp_row)
term_rect_t area;
area.tr_begin.tp_col = x / vf->vf_width;
area.tr_begin.tp_row = y / vf->vf_height;
area.tr_end.tp_col =
area.tr_end.tp_row =
area.tr_begin.tp_col = x;
area.tr_begin.tp_row = y;
area.tr_end.tp_col = x + 2;
area.tr_end.tp_row = y + 2;
vd->vd_driver->vd_invalidate_text(vd, &area);
vtbuf_dirty(&vw->vw_buf, &area);
vt_set_border(struct vt_device *vd, const term_rect_t *area,
if (area->tr_begin.tp_row > 0)
area->tr_begin.tp_row - 1, 1, c);
if (area->tr_begin.tp_col > 0)
drawrect(vd, 0, area->tr_begin.tp_row,
area->tr_begin.tp_col - 1, area->tr_end.tp_row - 1, 1, c);
if (area->tr_end.tp_col < vd->vd_width)
drawrect(vd, area->tr_end.tp_col, area->tr_begin.tp_row,
vd->vd_width - 1, area->tr_end.tp_row - 1, 1, c);
if (area->tr_end.tp_row < vd->vd_height)
drawrect(vd, 0, area->tr_end.tp_row, vd->vd_width - 1,
const struct vt_window *vw, const term_rect_t *area)
for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) {
for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col;
const term_rect_t *area)
for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) {
for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col;
drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width;
drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height;
drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width;
drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height;
ap = area;
char area[1024], *ap, *arg, *end;
tgetstr(char *id, char **area)
return (tdecode(bp, area));
tdecode(char *str, char **area)
cp = *area;
str = *area;
*area = cp;