Home
last modified time | relevance | path

Searched refs:yoff (Results 1 – 19 of 19) sorted by relevance

/openbsd/usr.bin/tmux/
H A Dcmd-display-panes.c76 wp->yoff >= ctx->oy + ctx->sy) in cmd_display_panes_draw_pane()
97 if (wp->yoff >= ctx->oy && wp->yoff + wp->sy <= ctx->oy + ctx->sy) { in cmd_display_panes_draw_pane()
99 yoff = wp->yoff - ctx->oy; in cmd_display_panes_draw_pane()
101 } else if (wp->yoff < ctx->oy && in cmd_display_panes_draw_pane()
104 yoff = 0; in cmd_display_panes_draw_pane()
106 } else if (wp->yoff < ctx->oy) { in cmd_display_panes_draw_pane()
108 yoff = 0; in cmd_display_panes_draw_pane()
112 yoff = wp->yoff - ctx->oy; in cmd_display_panes_draw_pane()
113 sy = wp->sy - yoff; in cmd_display_panes_draw_pane()
117 yoff += ctx->statuslines; in cmd_display_panes_draw_pane()
[all …]
H A Dcmd-rotate-window.c53 u_int sx, sy, xoff, yoff; in cmd_rotate_window_exec() local
63 xoff = wp->xoff; yoff = wp->yoff; in cmd_rotate_window_exec()
71 wp->xoff = wp2->xoff; wp->yoff = wp2->yoff; in cmd_rotate_window_exec()
77 wp->xoff = xoff; wp->yoff = yoff; in cmd_rotate_window_exec()
88 xoff = wp->xoff; yoff = wp->yoff; in cmd_rotate_window_exec()
96 wp->xoff = wp2->xoff; wp->yoff = wp2->yoff; in cmd_rotate_window_exec()
102 wp->xoff = xoff; wp->yoff = yoff; in cmd_rotate_window_exec()
H A Dscreen-redraw.c149 if ((wp->yoff == 0 || py >= wp->yoff - 1) && py <= ey) { in screen_redraw_pane_border()
171 if (wp->yoff != 0 && py == wp->yoff - 1 && px > wp->sx / 2) in screen_redraw_pane_border()
177 if (wp->yoff != 0 && py == wp->yoff - 1) in screen_redraw_pane_border()
185 if (wp->yoff != 0 && py == wp->yoff - 1) in screen_redraw_pane_border()
383 (py >= wp->yoff && py < wp->yoff + wp->sy)) { in screen_redraw_check_cell()
467 py = wp->yoff - 1; in screen_redraw_make_pane_status()
511 yoff = wp->yoff - 1; in screen_redraw_draw_pane_status()
513 yoff = wp->yoff + wp->sy; in screen_redraw_draw_pane_status()
518 yoff < ctx->oy || in screen_redraw_draw_pane_status()
900 if (wp->yoff + j < ctx->oy || wp->yoff + j >= ctx->oy + ctx->sy) in screen_redraw_draw_pane()
[all …]
H A Dlayout.c136 y >= lcchild->yoff && y < lcchild->yoff + lcchild->sy) { in layout_search_by_border()
152 if (y < lcchild->yoff && y >= last->yoff + last->sy) in layout_search_by_border()
167 u_int yoff) in layout_set_size() argument
173 lc->yoff = yoff; in layout_set_size()
212 lcchild->yoff = lc->yoff; in layout_fix_offsets1()
218 yoff = lc->yoff; in layout_fix_offsets1()
221 lcchild->yoff = yoff; in layout_fix_offsets1()
236 lc->yoff = 0; in layout_fix_offsets()
306 wp->yoff = lc->yoff; in layout_fix_panes()
312 wp->yoff++; in layout_fix_panes()
[all …]
H A Dcmd-swap-pane.c54 u_int sx, sy, xoff, yoff; in cmd_swap_pane_exec() local
110 xoff = src_wp->xoff; yoff = src_wp->yoff; in cmd_swap_pane_exec()
111 src_wp->xoff = dst_wp->xoff; src_wp->yoff = dst_wp->yoff; in cmd_swap_pane_exec()
113 dst_wp->xoff = xoff; dst_wp->yoff = yoff; in cmd_swap_pane_exec()
H A Dlayout-custom.c87 lc->sx, lc->sy, lc->xoff, lc->yoff, lc->wp->id); in layout_append()
90 lc->sx, lc->sy, lc->xoff, lc->yoff); in layout_append()
287 u_int sx, sy, xoff, yoff; in layout_construct() local
292 if (sscanf(*layout, "%ux%u,%u,%u", &sx, &sy, &xoff, &yoff) != 4) in layout_construct()
325 lc->yoff = yoff; in layout_construct()
H A Dwindow.c613 if (y < wp->yoff || y > wp->yoff + wp->sy) in window_get_active_at()
1365 edge = wp->yoff; in window_pane_find_up()
1422 edge = wp->yoff + wp->sy + 1; in window_pane_find_down()
1440 if (next->yoff != edge) in window_pane_find_down()
1482 top = wp->yoff; in window_pane_find_left()
1483 bottom = wp->yoff + wp->sy; in window_pane_find_left()
1490 end = next->yoff + next->sy - 1; in window_pane_find_left()
1495 else if (next->yoff >= top && next->yoff <= bottom) in window_pane_find_left()
1530 top = wp->yoff; in window_pane_find_right()
1531 bottom = wp->yoff + wp->sy; in window_pane_find_right()
[all …]
H A Dtty.c958 cy = wp->yoff + wp->screen->cy; in tty_window_offset1()
1082 yoff + ny <= ctx->woy || yoff >= ctx->woy + ctx->wsy) in tty_is_visible()
1096 *ry = ctx->yoff + py - ctx->woy; in tty_clamp_line()
1226 if (yoff >= ctx->woy && yoff + ny <= ctx->woy + ctx->wsy) { in tty_clamp_area()
1229 *y = ctx->yoff + py - ctx->woy; in tty_clamp_area()
1231 } else if (yoff < ctx->woy && yoff + ny > ctx->woy + ctx->wsy) { in tty_clamp_area()
1236 } else if (yoff < ctx->woy) { in tty_clamp_area()
1238 *j = ctx->woy - (ctx->yoff + py); in tty_clamp_area()
1244 *y = (ctx->yoff + py) - ctx->woy; in tty_clamp_area()
2297 ctx->yoff + rlower - ctx->woy); in tty_region_pane()
[all …]
H A Dcmd-resize-pane.c127 if (y != INT_MAX && wp->yoff == 1) in cmd_resize_pane_exec()
131 if (y != INT_MAX && wp->yoff + wp->sy == w->sy - 1) in cmd_resize_pane_exec()
H A Dcmd.c770 if (y < wp->yoff || y >= wp->yoff + wp->sy) in cmd_mouse_at()
776 *yp = y - wp->yoff; in cmd_mouse_at()
H A Dcmd-display-menu.c219 n = top + wp->yoff - oy + h; in cmd_display_menu_get_position()
224 format_add(ft, "popup_pane_bottom", "%u", top + wp->yoff + wp->sy - oy); in cmd_display_menu_get_position()
H A Dserver-client.c772 wp->yoff <= 1 + py && in server_client_check_mouse()
773 wp->yoff + wp->sy >= py) || in server_client_check_mouse()
774 (wp->yoff + wp->sy == py && in server_client_check_mouse()
2493 wp->yoff + s->cy >= oy && wp->yoff + s->cy <= oy + sy) { in server_client_reset_state()
2497 cy = wp->yoff + s->cy - oy; in server_client_reset_state()
H A Dpopup.c128 ttyctx->yoff = ttyctx->ryoff = pd->py; in popup_set_client_cb()
131 ttyctx->yoff = ttyctx->ryoff = pd->py + 1; in popup_set_client_cb()
H A Dscreen-write.c162 ttyctx->yoff = ttyctx->ryoff = wp->yoff; in screen_write_set_client_cb()
165 ttyctx->yoff += status_line_size(c); in screen_write_set_client_cb()
277 wp->id, wp->xoff, wp->yoff); in screen_write_start_pane()
H A Dformat.c1076 flag = (wp->yoff == 1); in format_cb_pane_at_top()
1078 flag = (wp->yoff == 0); in format_cb_pane_at_top()
1098 flag = (wp->yoff + wp->sy == w->sy - 1); in format_cb_pane_at_bottom()
1100 flag = (wp->yoff + wp->sy == w->sy); in format_cb_pane_at_bottom()
1840 return (format_printf("%u", ft->wp->yoff + ft->wp->sy - 1)); in format_cb_pane_bottom()
2120 return (format_printf("%u", ft->wp->yoff)); in format_cb_pane_top()
H A Dtmux.h1093 u_int yoff; member
1286 u_int yoff; member
1558 u_int yoff; member
/openbsd/gnu/usr.bin/cvs/diff/
H A Danalyze.c98 diag (xoff, xlim, yoff, ylim, minimal, part) in diag() argument
99 int xoff, xlim, yoff, ylim, minimal; in diag()
294 if (y < yoff)
295 x = yoff + d, y = yoff;
338 compareseq (xoff, xlim, yoff, ylim, minimal) in compareseq() argument
339 int xoff, xlim, yoff, ylim, minimal; in compareseq()
345 while (xoff < xlim && yoff < ylim && xv[xoff] == yv[yoff])
346 ++xoff, ++yoff;
353 while (yoff < ylim)
355 else if (yoff == ylim)
[all …]
/openbsd/sbin/isakmpd/
H A Ddh.c524 off_t xoff, yoff; in ec_point2raw() local
560 yoff = (ylen - BN_num_bytes(y)) + xlen; in ec_point2raw()
561 bzero(buf + xlen, yoff - xlen); in ec_point2raw()
562 if (!BN_bn2bin(y, buf + yoff)) in ec_point2raw()
/openbsd/sbin/iked/
H A Ddh.c613 off_t xoff, yoff; in ec_point2raw() local
649 yoff = (ylen - BN_num_bytes(y)) + xlen; in ec_point2raw()
650 bzero(buf + xlen, yoff - xlen); in ec_point2raw()
651 if (!BN_bn2bin(y, buf + yoff)) in ec_point2raw()