Lines Matching refs:gcp

1430 	const struct grid_cell	*gcp;
1506 gcp = tty_check_codeset(tty, &gc);
1509 (gcp->attr & GRID_ATTR_CHARSET) ||
1510 gcp->flags != last.flags ||
1511 gcp->attr != last.attr ||
1512 gcp->fg != last.fg ||
1513 gcp->bg != last.bg ||
1514 gcp->us != last.us ||
1515 gcp->link != last.link ||
1516 ux + width + gcp->data.width > nx ||
1517 (sizeof buf) - len < gcp->data.size)) {
1536 if (gcp->flags & GRID_FLAG_SELECTED)
1537 screen_select_cell(s, &last, gcp);
1539 memcpy(&last, gcp, sizeof last);
1541 tty_check_overlay_range(tty, atx + ux, aty, gcp->data.width,
1546 hidden = gcp->data.width - hidden;
1547 if (hidden != 0 && hidden == gcp->data.width) {
1548 if (~gcp->flags & GRID_FLAG_PADDING)
1549 ux += gcp->data.width;
1550 } else if (hidden != 0 || ux + gcp->data.width > nx) {
1551 if (~gcp->flags & GRID_FLAG_PADDING) {
1569 } else if (gcp->attr & GRID_ATTR_CHARSET) {
1573 for (j = 0; j < gcp->data.size; j++)
1574 tty_putc(tty, gcp->data.data[j]);
1575 ux += gcp->data.width;
1576 } else if (~gcp->flags & GRID_FLAG_PADDING) {
1577 memcpy(buf + len, gcp->data.data, gcp->data.size);
1578 len += gcp->data.size;
1579 width += gcp->data.width;
2131 const struct grid_cell *gcp = ctx->cell;
2139 (gcp->data.width == 1 && !tty_check_overlay(tty, px, py)))
2143 if (gcp->data.width > 1) {
2144 tty_check_overlay_range(tty, px, py, gcp->data.width, &r);
2147 if (vis < gcp->data.width) {
2148 tty_draw_line(tty, s, s->cx, s->cy, gcp->data.width,
2326 const struct grid_cell *gcp;
2339 gcp = tty_check_codeset(tty, gc);
2340 tty_attributes(tty, gcp, defaults, palette, hl);
2343 if (gcp->data.size == 1) {
2344 tty_attributes(tty, gcp, defaults, palette, hl);
2345 if (*gcp->data.data < 0x20 || *gcp->data.data == 0x7f)
2347 tty_putc(tty, *gcp->data.data);
2352 tty_putn(tty, gcp->data.data, gcp->data.size, gcp->data.width);