Lines Matching defs:ny
1074 u_int py, u_int nx, u_int ny)
1082 yoff + ny <= ctx->woy || yoff >= ctx->woy + ctx->wsy)
1194 u_int nx, u_int ny, u_int *i, u_int *j, u_int *x, u_int *y, u_int *rx,
1199 if (!tty_is_visible(tty, ctx, px, py, nx, ny))
1226 if (yoff >= ctx->woy && yoff + ny <= ctx->woy + ctx->wsy) {
1230 *ry = ny;
1231 } else if (yoff < ctx->woy && yoff + ny > ctx->woy + ctx->wsy) {
1240 *ry = ny - *j;
1247 if (*ry > ny)
1248 fatalx("%s: y too big, %u > %u", __func__, *ry, ny);
1256 u_int ny, u_int px, u_int nx, u_int bg)
1262 log_debug("%s: %s, %u,%u at %u,%u", __func__, c->name, nx, ny, px, py);
1265 if (nx == 0 || ny == 0)
1273 py + ny >= tty->sy &&
1287 py + 1, px + 1, py + ny, px + nx);
1295 ny > 2 &&
1298 tty_region(tty, py, py + ny - 1);
1300 tty_putcode_i(tty, TTYC_INDN, ny);
1309 ny > 2 &&
1313 tty_region(tty, py, py + ny - 1);
1315 tty_putcode_i(tty, TTYC_INDN, ny);
1321 for (yy = py; yy < py + ny; yy++)
1328 u_int ny, u_int px, u_int nx, u_int bg)
1332 if (tty_clamp_area(tty, ctx, px, py, nx, ny, &i, &j, &x, &y, &rx, &ry))
1979 u_int px, py, nx, ny;
1990 ny = ctx->sy - ctx->ocy - 1;
1992 tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);
2004 u_int px, py, nx, ny;
2015 ny = ctx->ocy;
2017 tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);
2029 u_int px, py, nx, ny;
2040 ny = ctx->sy;
2042 tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);