/openbsd/usr.bin/tmux/ |
H A D | cmd-rotate-window.c | 53 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 D | cmd-display-panes.c | 73 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 D | screen-redraw.c | 136 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 D | layout.c | 64 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 D | cmd-swap-pane.c | 54 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 D | layout-custom.c | 87 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 D | window.c | 590 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 D | tty.c | 950 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 D | cmd.c | 768 if (x < wp->xoff || x >= wp->xoff + wp->sx) in cmd_mouse_at() 774 *xp = x - wp->xoff; in cmd_mouse_at()
|
H A D | cmd-display-menu.c | 225 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 D | server-client.c | 760 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 D | popup.c | 127 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 D | screen-write.c | 161 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 D | tmux.h | 1041 u_int xoff; member 1217 u_int xoff; member 1486 u_int xoff; member
|
H A D | format.c | 1818 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 D | analyze.c | 98 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 D | dh.c | 524 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 D | flowspec.c | 356 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 D | dh.c | 613 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 D | Caps | 239 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
|