/netbsd/external/bsd/tmux/dist/ |
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 | 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 | 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() 285 u_int sx, sy, xoff, yoff; in layout_construct() local 290 if (sscanf(*layout, "%ux%u,%u,%u", &sx, &sy, &xoff, &yoff) != 4) in layout_construct() 322 lc->xoff = xoff; in layout_construct()
|
H A D | window.c | 595 if (x < wp->xoff || x > wp->xoff + wp->sx) in window_get_active_at() 1305 left = wp->xoff; in window_pane_find_up() 1306 right = wp->xoff + wp->sx; in window_pane_find_up() 1313 end = next->xoff + next->sx - 1; in window_pane_find_up() 1318 else if (next->xoff >= left && next->xoff <= right) in window_pane_find_up() 1362 left = wp->xoff; in window_pane_find_down() 1363 right = wp->xoff + wp->sx; in window_pane_find_down() 1375 else if (next->xoff >= left && next->xoff <= right) in window_pane_find_down() 1406 edge = wp->xoff; in window_pane_find_left() 1454 edge = wp->xoff + wp->sx + 1; in window_pane_find_right() [all …]
|
H A D | tty.c | 923 cx = wp->xoff + wp->screen->cx; in tty_window_offset1() 1047 if (xoff + nx <= ctx->wox || xoff >= ctx->wox + ctx->wsx || in tty_is_visible() 1058 u_int xoff = ctx->rxoff + px; in tty_clamp_line() local 1064 if (xoff >= ctx->wox && xoff + nx <= ctx->wox + ctx->wsx) { in tty_clamp_line() 1067 *x = ctx->xoff + px - ctx->wox; in tty_clamp_line() 1069 } else if (xoff < ctx->wox && xoff + nx > ctx->wox + ctx->wsx) { in tty_clamp_line() 1074 } else if (xoff < ctx->wox) { in tty_clamp_line() 1168 if (xoff >= ctx->wox && xoff + nx <= ctx->wox + ctx->wsx) { in tty_clamp_area() 1173 } else if (xoff < ctx->wox && xoff + nx > ctx->wox + ctx->wsx) { in tty_clamp_area() 1178 } else if (xoff < ctx->wox) { in tty_clamp_area() [all …]
|
H A D | cmd.c | 769 if (x < wp->xoff || x >= wp->xoff + wp->sx) in cmd_mouse_at() 775 *xp = x - wp->xoff; in cmd_mouse_at()
|
/netbsd/external/gpl2/gettext/dist/gnulib-local/lib/ |
H A D | fstrcmp.c | 194 fd[fmid] = xoff; in diag() 269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1]) in diag() 312 v = (x - xoff) * 2 - dd; in diag() 320 xoff + SNAKE_LIMIT <= x in diag() 437 x = xoff > bd[d] ? xoff : bd[d]; in diag() 500 while (xoff < xlim && yoff < ylim && xv[xoff] == yv[yoff]) in compareseq() 502 ++xoff; in compareseq() 514 if (xoff == xlim) in compareseq() 524 while (xoff < xlim) in compareseq() 527 ++xoff; in compareseq() [all …]
|
/netbsd/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
H A D | fstrcmp.c | 194 fd[fmid] = xoff; in diag() 269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1]) in diag() 312 v = (x - xoff) * 2 - dd; in diag() 320 xoff + SNAKE_LIMIT <= x in diag() 437 x = xoff > bd[d] ? xoff : bd[d]; in diag() 500 while (xoff < xlim && yoff < ylim && xv[xoff] == yv[yoff]) in compareseq() 502 ++xoff; in compareseq() 514 if (xoff == xlim) in compareseq() 524 while (xoff < xlim) in compareseq() 527 ++xoff; in compareseq() [all …]
|
/netbsd/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
H A D | fstrcmp.c | 194 fd[fmid] = xoff; in diag() 269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1]) in diag() 312 v = (x - xoff) * 2 - dd; in diag() 320 xoff + SNAKE_LIMIT <= x in diag() 437 x = xoff > bd[d] ? xoff : bd[d]; in diag() 500 while (xoff < xlim && yoff < ylim && xv[xoff] == yv[yoff]) in compareseq() 502 ++xoff; in compareseq() 514 if (xoff == xlim) in compareseq() 524 while (xoff < xlim) in compareseq() 527 ++xoff; in compareseq() [all …]
|
/netbsd/sys/dev/splash/ |
H A D | splash.c | 180 int xoff, yoff, width, height, comp; in splash_render() local 208 xoff = (si->si_width - width) / 2; in splash_render() 211 xoff = yoff = 0; in splash_render() 261 fb += xoff + yoff * si->si_stride; in splash_render8() 293 rp = si->si_bits + xoff + (yoff * si->si_width); in splash_render8() 294 hrp = si->si_hwbits + xoff + (yoff * si->si_width); in splash_render8() 335 fb += xoff * 2 + yoff * si->si_stride; in splash_render16() 364 rp = si->si_bits + (xoff * 2) + (yoff * si->si_stride); in splash_render16() 365 hrp = si->si_hwbits + (xoff * 2) + in splash_render16() 400 fb += xoff * 4 + yoff * si->si_stride; in splash_render32() [all …]
|
/netbsd/external/gpl2/xcvs/dist/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 …]
|
/netbsd/external/gpl2/diffutils/dist/src/ |
H A D | analyze.c | 114 fd[fmid] = xoff; in diag() 162 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1]) in diag() 197 lin v = (x - xoff) * 2 - dd; in diag() 201 && xoff + SNAKE_LIMIT <= x && x < xlim in diag() 236 && xoff < x && x <= xlim - SNAKE_LIMIT in diag() 290 lin x = MAX (xoff, bd[d]); in diag() 342 while (xoff < xlim && yoff < ylim && xv[xoff] == yv[yoff]) in compareseq() 343 ++xoff, ++yoff; in compareseq() 349 if (xoff == xlim) in compareseq() 353 while (xoff < xlim) in compareseq() [all …]
|
/netbsd/games/warp/ |
H A D | init.c | 46 int yoff = 0, xoff = 0, ypred, xpred; in initialize() local 196 xoff = rand_mod(XSIZE); in initialize() 217 xoff = rand_mod(XSIZE); /* how much to shift x */ in initialize() 240 xoff = rand_mod(XSIZE); in initialize() 251 * 20.0) + xoff; /* pick from -20..20, clumped */ in initialize() 256 x = xpred + xoff; in initialize() 261 x = -xpred + xoff; in initialize()
|
/netbsd/sys/arch/newsmips/dev/ |
H A D | fb.c | 180 int width, height, xoff, yoff, cols, rows; in fb_common_init() local 210 xoff = ((width - cols * ri->ri_font->fontwidth) / 2 / 8) & ~3; in fb_common_init() 214 ri->ri_xorigin = xoff; in fb_common_init() 216 ri->ri_bits = dc->dc_fbbase + xoff + ri->ri_stride * yoff; in fb_common_init()
|
/netbsd/sys/arch/amiga/dev/ |
H A D | grf_rhreg.h | 166 "C" void RZ3SetPanning (unsigned short xoff, unsigned short yoff); 356 void RZ3SetPanning(unsigned short xoff, unsigned short yoff); 696 short unsigned int xoff, short unsigned int yoff);
|
H A D | grf_rh.c | 586 RZ3SetPanning(struct grf_softc *gp, unsigned short xoff, unsigned short yoff) in RZ3SetPanning() argument 593 gi->gd_fbx = xoff; in RZ3SetPanning() 596 if (md->DEP > 8 && md->DEP <= 16) xoff *= 2; in RZ3SetPanning() 597 else if (md->DEP > 16) xoff *= 3; in RZ3SetPanning() 600 WAttr(ba, ACT_ID_HOR_PEL_PANNING, (unsigned char)((xoff << 1) & 0x07)); in RZ3SetPanning() 605 off = ((yoff * md->TX)/ 4) + (xoff >> 2); in RZ3SetPanning() 607 off = ((yoff * md->TX * 2)/ 4) + (xoff >> 2); in RZ3SetPanning() 609 off = ((yoff * md->TX * 3)/ 4) + (xoff >> 2); in RZ3SetPanning()
|
/netbsd/sys/dev/hpc/ |
H A D | hpcfb.c | 939 int xoff, yoff; in hpcfb_cursor_raw() local 956 xoff = col * ri->ri_font->fontwidth; in hpcfb_cursor_raw() 961 on, xoff, yoff, curwidth, curheight); in hpcfb_cursor_raw() 1023 int xoff; in hpcfb_putchar() local 1048 xoff = col * ri->ri_font->fontwidth; in hpcfb_putchar() 1053 xoff, yoff, font, fclr, uclr, uc, attr); in hpcfb_putchar() 1174 int xoff, yoff; in hpcfb_erasecols() local 1194 xoff = startcol * ri->ri_font->fontwidth; in hpcfb_erasecols() 1199 xoff, yoff, height, width, attr); in hpcfb_erasecols()
|
/netbsd/sys/dev/rasops/ |
H A D | rasops.c | 453 uint32_t xoff, yoff; in rasops_reconfig() local 455 xoff = ((ri->ri_width * bpp >> 3) - ri->ri_emustride) >> 1; in rasops_reconfig() 460 xoff &= ~3; in rasops_reconfig() 465 xoff -= xoff % 12; in rasops_reconfig() 471 ri->ri_bits += xoff; in rasops_reconfig() 474 ri->ri_hwbits += xoff; in rasops_reconfig()
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | cselib.c | 137 rtx xoff = NULL; in equal() local 138 if (autoinc_split (x, &xoff, memmode) == v->val_rtx && xoff == NULL_RTX) in equal() 991 rtx xoff = NULL; in rtx_equal_for_cselib_1() local 992 rtx xr = autoinc_split (x, &xoff, memmode); in rtx_equal_for_cselib_1() 993 if ((xr == y || xr == e->val_rtx) && xoff == NULL_RTX) in rtx_equal_for_cselib_1() 1023 rtx xoff = NULL, yoff = NULL; in rtx_equal_for_cselib_1() local 1025 x = autoinc_split (x, &xoff, memmode); in rtx_equal_for_cselib_1() 1031 if (!xoff != !yoff) in rtx_equal_for_cselib_1() 1034 if (xoff && !rtx_equal_for_cselib_1 (xoff, yoff, memmode, depth)) in rtx_equal_for_cselib_1()
|
H A D | cselib.cc | 138 rtx xoff = NULL; in equal() local 139 if (autoinc_split (x, &xoff, memmode) == v->val_rtx && xoff == NULL_RTX) in equal() 992 rtx xoff = NULL; in rtx_equal_for_cselib_1() local 993 rtx xr = autoinc_split (x, &xoff, memmode); in rtx_equal_for_cselib_1() 994 if ((xr == y || xr == e->val_rtx) && xoff == NULL_RTX) in rtx_equal_for_cselib_1() 1024 rtx xoff = NULL, yoff = NULL; in rtx_equal_for_cselib_1() local 1026 x = autoinc_split (x, &xoff, memmode); in rtx_equal_for_cselib_1() 1032 if (!xoff != !yoff) in rtx_equal_for_cselib_1() 1035 if (xoff && !rtx_equal_for_cselib_1 (xoff, yoff, memmode, depth)) in rtx_equal_for_cselib_1()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | cselib.c | 137 rtx xoff = NULL; in equal() local 138 if (autoinc_split (x, &xoff, memmode) == v->val_rtx && xoff == NULL_RTX) in equal() 991 rtx xoff = NULL; in rtx_equal_for_cselib_1() local 992 rtx xr = autoinc_split (x, &xoff, memmode); in rtx_equal_for_cselib_1() 993 if ((xr == y || xr == e->val_rtx) && xoff == NULL_RTX) in rtx_equal_for_cselib_1() 1023 rtx xoff = NULL, yoff = NULL; in rtx_equal_for_cselib_1() local 1025 x = autoinc_split (x, &xoff, memmode); in rtx_equal_for_cselib_1() 1031 if (!xoff != !yoff) in rtx_equal_for_cselib_1() 1034 if (xoff && !rtx_equal_for_cselib_1 (xoff, yoff, memmode, depth)) in rtx_equal_for_cselib_1()
|
/netbsd/sys/arch/arm/sunxi/ |
H A D | sunxi_debe.c | 407 u_int yoff, xoff; in sunxi_debe_set_curpos() local 409 xoff = yoff = 0; in sunxi_debe_set_curpos() 413 xoff -= xx; in sunxi_debe_set_curpos() 434 __SHIFTIN(xoff, SUNXI_DEBE_HWCFBCTL_XCOOROFF)); in sunxi_debe_set_curpos()
|