Home
last modified time | relevance | path

Searched refs:xoff (Results 1 – 20 of 20) sorted by relevance

/openbsd/usr.bin/tmux/
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 Dcmd-display-panes.c73 if (wp->xoff + wp->sx <= ctx->ox || in cmd_display_panes_draw_pane()
74 wp->xoff >= ctx->ox + ctx->sx || in cmd_display_panes_draw_pane()
79 if (wp->xoff >= ctx->ox && wp->xoff + wp->sx <= ctx->ox + ctx->sx) { in cmd_display_panes_draw_pane()
81 xoff = wp->xoff - ctx->ox; in cmd_display_panes_draw_pane()
83 } else if (wp->xoff < ctx->ox && in cmd_display_panes_draw_pane()
86 xoff = 0; in cmd_display_panes_draw_pane()
88 } else if (wp->xoff < ctx->ox) { in cmd_display_panes_draw_pane()
90 xoff = 0; in cmd_display_panes_draw_pane()
91 sx = wp->sx - (ctx->ox - wp->xoff); in cmd_display_panes_draw_pane()
94 xoff = wp->xoff - ctx->ox; in cmd_display_panes_draw_pane()
[all …]
H A Dscreen-redraw.c136 if (wp->xoff != 0 && in screen_redraw_pane_border()
142 if (wp->xoff != 0 && px == wp->xoff - 1) in screen_redraw_pane_border()
150 if (wp->xoff != 0 && px == wp->xoff - 1) in screen_redraw_pane_border()
167 if ((wp->xoff == 0 || px >= wp->xoff - 1) && px <= ex) { in screen_redraw_pane_border()
175 if ((wp->xoff == 0 || px >= wp->xoff - 1) && px <= ex) { in screen_redraw_pane_border()
180 if ((wp->xoff == 0 || px >= wp->xoff - 1) && px <= ex) { in screen_redraw_pane_border()
460 xoff = wp->xoff + 2; in screen_redraw_draw_pane_status()
468 if (xoff >= ctx->ox && xoff + size <= ctx->ox + ctx->sx) { in screen_redraw_draw_pane_status()
471 x = xoff - ctx->ox; in screen_redraw_draw_pane_status()
473 } else if (xoff < ctx->ox && xoff + size > ctx->ox + ctx->sx) { in screen_redraw_draw_pane_status()
[all …]
H A Dlayout.c64 lc->xoff = UINT_MAX; in layout_create_cell()
135 if (x >= lcchild->xoff && x < lcchild->xoff + lcchild->sx && in layout_search_by_border()
148 if (x < lcchild->xoff && x >= last->xoff + last->sx) in layout_search_by_border()
172 lc->xoff = xoff; in layout_set_size()
209 xoff = lc->xoff; in layout_fix_offsets1()
211 lcchild->xoff = xoff; in layout_fix_offsets1()
220 lcchild->xoff = lc->xoff; in layout_fix_offsets1()
235 lc->xoff = 0; in layout_fix_offsets()
300 wp->xoff = lc->xoff; in layout_fix_panes()
846 lcchild->xoff = lc->xoff; in layout_resize_child_cells()
[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()
324 lc->xoff = xoff; in layout_construct()
H A Dwindow.c590 if (x < wp->xoff || x > wp->xoff + wp->sx) in window_get_active_at()
1314 left = wp->xoff; in window_pane_find_up()
1315 right = wp->xoff + wp->sx; in window_pane_find_up()
1322 end = next->xoff + next->sx - 1; in window_pane_find_up()
1327 else if (next->xoff >= left && next->xoff <= right) in window_pane_find_up()
1371 left = wp->xoff; in window_pane_find_down()
1372 right = wp->xoff + wp->sx; in window_pane_find_down()
1384 else if (next->xoff >= left && next->xoff <= right) in window_pane_find_down()
1415 edge = wp->xoff; in window_pane_find_left()
1463 edge = wp->xoff + wp->sx + 1; in window_pane_find_right()
[all …]
H A Dtty.c950 cx = wp->xoff + wp->screen->cx; in tty_window_offset1()
1074 if (xoff + nx <= ctx->wox || xoff >= ctx->wox + ctx->wsx || in tty_is_visible()
1085 u_int xoff = ctx->rxoff + px; in tty_clamp_line() local
1091 if (xoff >= ctx->wox && xoff + nx <= ctx->wox + ctx->wsx) { in tty_clamp_line()
1094 *x = ctx->xoff + px - ctx->wox; in tty_clamp_line()
1096 } else if (xoff < ctx->wox && xoff + nx > ctx->wox + ctx->wsx) { in tty_clamp_line()
1101 } else if (xoff < ctx->wox) { in tty_clamp_line()
1195 if (xoff >= ctx->wox && xoff + nx <= ctx->wox + ctx->wsx) { in tty_clamp_area()
1200 } else if (xoff < ctx->wox && xoff + nx > ctx->wox + ctx->wsx) { in tty_clamp_area()
1205 } else if (xoff < ctx->wox) { in tty_clamp_area()
[all …]
H A Dcmd.c768 if (x < wp->xoff || x >= wp->xoff + wp->sx) in cmd_mouse_at()
774 *xp = x - wp->xoff; in cmd_mouse_at()
H A Dcmd-display-menu.c225 format_add(ft, "popup_pane_left", "%u", wp->xoff - ox); in cmd_display_menu_get_position()
226 n = (long)wp->xoff + wp->sx - ox - w; in cmd_display_menu_get_position()
H A Dserver-client.c760 if ((wp->xoff + wp->sx == px && in server_client_check_mouse()
764 wp->xoff <= 1 + px && in server_client_check_mouse()
765 wp->xoff + wp->sx >= px)) in server_client_check_mouse()
2403 if (wp->xoff + s->cx >= ox && wp->xoff + s->cx <= ox + sx && in server_client_reset_state()
2407 cx = wp->xoff + s->cx - ox; in server_client_reset_state()
H A Dpopup.c127 ttyctx->xoff = ttyctx->rxoff = pd->px; in popup_set_client_cb()
130 ttyctx->xoff = ttyctx->rxoff = pd->px + 1; in popup_set_client_cb()
H A Dscreen-write.c161 ttyctx->xoff = ttyctx->rxoff = wp->xoff; in screen_write_set_client_cb()
277 wp->id, wp->xoff, wp->yoff); in screen_write_start_pane()
H A Dtmux.h1041 u_int xoff; member
1217 u_int xoff; member
1486 u_int xoff; member
H A Dformat.c1818 if (ft->wp->xoff == 0) in format_cb_pane_at_left()
1830 if (ft->wp->xoff + ft->wp->sx == ft->wp->window->sx) in format_cb_pane_at_right()
1982 return (format_printf("%u", ft->wp->xoff)); in format_cb_pane_left()
2063 return (format_printf("%u", ft->wp->xoff + ft->wp->sx - 1)); in format_cb_pane_right()
/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()
116 fd[fmid] = xoff;
199 int v = (x - xoff) * 2 - dd;
292 int x = max (xoff, bd[d]);
339 int xoff, xlim, yoff, ylim, minimal; in compareseq()
345 while (xoff < xlim && yoff < ylim && xv[xoff] == yv[yoff])
346 ++xoff, ++yoff;
352 if (xoff == xlim)
356 while (xoff < xlim)
[all …]
/openbsd/sbin/isakmpd/
H A Ddh.c524 off_t xoff, yoff; in ec_point2raw() local
554 xoff = xlen - BN_num_bytes(x); in ec_point2raw()
555 bzero(buf, xoff); in ec_point2raw()
556 if (!BN_bn2bin(x, buf + xoff)) in ec_point2raw()
/openbsd/usr.sbin/bgpd/
H A Dflowspec.c356 int xlen, xoff = 0; in flowspec_get_addr() local
363 xoff = comp[1]; in flowspec_get_addr()
364 xlen -= xoff; in flowspec_get_addr()
369 shift_right(addr->v6.s6_addr, buf, xoff, xlen); in flowspec_get_addr()
/openbsd/sbin/iked/
H A Ddh.c613 off_t xoff, yoff; in ec_point2raw() local
643 xoff = xlen - BN_num_bytes(x); in ec_point2raw()
644 bzero(buf, xoff); in ec_point2raw()
645 if (!BN_bn2bin(x, buf + xoff)) in ec_point2raw()
/openbsd/lib/libcurses/
H A DCaps239 xon_xoff xon bool xo - - YB--- terminal uses xon/xoff handshaking
240 needs_xon_xoff nxon bool nx - - ----- padding will not work, xon/xoff required
484 enter_xon_mode smxon str SX - - ----- turn on xon/xoff handshaking
485 exit_xon_mode rmxon str RX - - ----- turn off xon/xoff handshaking