Searched refs:xoff (Results 1 - 25 of 35) sorted by relevance

12

/netbsd-current/external/bsd/tmux/dist/
H A Dcmd-rotate-window.c53 u_int sx, sy, xoff, yoff; local
63 xoff = wp->xoff; yoff = wp->yoff;
71 wp->xoff = wp2->xoff; wp->yoff = wp2->yoff;
77 wp->xoff = xoff; wp->yoff = yoff;
88 xoff = wp->xoff; yoff = wp->yoff;
96 wp->xoff
[all...]
H A Dcmd-display-panes.c68 u_int pane, idx, px, py, i, j, xoff, yoff, sx, sy; local
73 if (wp->xoff + wp->sx <= ctx->ox ||
74 wp->xoff >= ctx->ox + ctx->sx ||
79 if (wp->xoff >= ctx->ox && wp->xoff + wp->sx <= ctx->ox + ctx->sx) {
81 xoff = wp->xoff - ctx->ox;
83 } else if (wp->xoff < ctx->ox &&
84 wp->xoff + wp->sx > ctx->ox + ctx->sx) {
86 xoff
[all...]
H A Dcmd-swap-pane.c54 u_int sx, sy, xoff, yoff; local
110 xoff = src_wp->xoff; yoff = src_wp->yoff;
111 src_wp->xoff = dst_wp->xoff; src_wp->yoff = dst_wp->yoff;
113 dst_wp->xoff = xoff; dst_wp->yoff = yoff;
H A Dscreen-redraw.c103 if (direction == 0 && wp->xoff == 0)
117 u_int ex = wp->xoff + wp->sx, ey = wp->yoff + wp->sy;
120 if (px >= wp->xoff && px < ex && py >= wp->yoff && py < ey)
134 if (wp->xoff == 0 && px == wp->sx && py <= wp->sy / 2)
136 if (wp->xoff != 0 &&
137 px == wp->xoff - 1 &&
142 if (wp->xoff != 0 && px == wp->xoff - 1)
150 if (wp->xoff != 0 && px == wp->xoff
446 u_int i, x, width, xoff, yoff, size; local
[all...]
H A Dlayout.c64 lc->xoff = UINT_MAX;
116 " ", lc, type, lc->parent, lc->wp, lc->xoff, lc->yoff, lc->sx,
135 if (x >= lcchild->xoff && x < lcchild->xoff + lcchild->sx &&
148 if (x < lcchild->xoff && x >= last->xoff + last->sx)
166 layout_set_size(struct layout_cell *lc, u_int sx, u_int sy, u_int xoff, argument
172 lc->xoff = xoff;
206 u_int xoff, yof local
873 u_int sx, sy, xoff, yoff, size1, size2, minimum; local
[all...]
H A Dlayout-custom.c87 lc->sx, lc->sy, lc->xoff, lc->yoff, lc->wp->id);
90 lc->sx, lc->sy, lc->xoff, lc->yoff);
287 u_int sx, sy, xoff, yoff; local
292 if (sscanf(*layout, "%ux%u,%u,%u", &sx, &sy, &xoff, &yoff) != 4)
324 lc->xoff = xoff;
H A Dwindow.c597 if (x < wp->xoff || x > wp->xoff + wp->sx)
1322 left = wp->xoff;
1323 right = wp->xoff + wp->sx;
1330 end = next->xoff + next->sx - 1;
1333 if (next->xoff < left && end > right)
1335 else if (next->xoff >= left && next->xoff <= right)
1379 left = wp->xoff;
1380 right = wp->xoff
[all...]
H A Dtty.c83 ((ctx)->xoff == 0 && (ctx)->sx >= (tty)->sx)
954 cx = wp->xoff + wp->screen->cx;
1073 u_int xoff = ctx->rxoff + px, yoff = ctx->ryoff + py; local
1078 if (xoff + nx <= ctx->wox || xoff >= ctx->wox + ctx->wsx ||
1089 u_int xoff = ctx->rxoff + px; local
1095 if (xoff >= ctx->wox && xoff + nx <= ctx->wox + ctx->wsx) {
1098 *x = ctx->xoff + px - ctx->wox;
1100 } else if (xoff < ct
1194 u_int xoff = ctx->rxoff + px, yoff = ctx->ryoff + py; local
[all...]
H A Dcmd-display-menu.c224 format_add(ft, "popup_pane_left", "%u", wp->xoff - ox);
225 n = (long)wp->xoff + wp->sx - ox - w;
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dfstrcmp.c131 int diag(int xoff, int xlim, int yoff, int ylim, int minimal,
172 diag (int xoff, int xlim, int yoff, int ylim, int minimal, argument
179 const int dmin = xoff - ylim; /* Minimum valid diagonal. */
181 const int fmid = xoff - yoff; /* Center diagonal of top-down search. */
194 fd[fmid] = xoff;
269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
312 v = (x - xoff) * 2 - dd;
320 xoff + SNAKE_LIMIT <= x
367 if (v > best && xoff < x && x <= xlim - SNAKE_LIMIT &&
437 x = xoff > b
493 compareseq(int xoff, int xlim, int yoff, int ylim, int minimal, struct context *ctxt) argument
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dfstrcmp.c131 int diag(int xoff, int xlim, int yoff, int ylim, int minimal,
172 diag (int xoff, int xlim, int yoff, int ylim, int minimal, argument
179 const int dmin = xoff - ylim; /* Minimum valid diagonal. */
181 const int fmid = xoff - yoff; /* Center diagonal of top-down search. */
194 fd[fmid] = xoff;
269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
312 v = (x - xoff) * 2 - dd;
320 xoff + SNAKE_LIMIT <= x
367 if (v > best && xoff < x && x <= xlim - SNAKE_LIMIT &&
437 x = xoff > b
493 compareseq(int xoff, int xlim, int yoff, int ylim, int minimal, struct context *ctxt) argument
[all...]
/netbsd-current/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dfstrcmp.c131 int diag(int xoff, int xlim, int yoff, int ylim, int minimal,
172 diag (int xoff, int xlim, int yoff, int ylim, int minimal, argument
179 const int dmin = xoff - ylim; /* Minimum valid diagonal. */
181 const int fmid = xoff - yoff; /* Center diagonal of top-down search. */
194 fd[fmid] = xoff;
269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
312 v = (x - xoff) * 2 - dd;
320 xoff + SNAKE_LIMIT <= x
367 if (v > best && xoff < x && x <= xlim - SNAKE_LIMIT &&
437 x = xoff > b
493 compareseq(int xoff, int xlim, int yoff, int ylim, int minimal, struct context *ctxt) argument
[all...]
/netbsd-current/sys/dev/splash/
H A Dsplash.c180 int xoff, yoff, width, height, comp; local
208 xoff = (si->si_width - width) / 2;
211 xoff = yoff = 0;
216 splash_render8(si, data, xoff, yoff, width, height, flg);
221 splash_render16(si, data, xoff, yoff, width, height, flg);
226 splash_render32(si, data, xoff, yoff, width, height, flg);
244 splash_render8(struct splash_info *si, const char *data, int xoff, int yoff, argument
261 fb += xoff + yoff * si->si_stride;
293 rp = si->si_bits + xoff + (yoff * si->si_width);
294 hrp = si->si_hwbits + xoff
318 splash_render16(struct splash_info *si, const char *data, int xoff, int yoff, int swidth, int sheight, int flg) argument
383 splash_render32(struct splash_info *si, const char *data, int xoff, int yoff, int swidth, int sheight, int flg) argument
[all...]
/netbsd-current/external/gpl2/xcvs/dist/diff/
H A Danalyze.c98 diag (xoff, xlim, yoff, ylim, minimal, part)
99 int xoff, xlim, yoff, ylim, minimal;
106 int const dmin = xoff - ylim; /* Minimum valid diagonal. */
108 int const fmid = xoff - yoff; /* Center diagonal of top-down search. */
116 fd[fmid] = xoff;
164 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
199 int v = (x - xoff) * 2 - dd;
203 && xoff + SNAKE_LIMIT <= x && x < xlim
238 && xoff < x && x <= xlim - SNAKE_LIMIT
292 int x = max (xoff, b
[all...]
/netbsd-current/external/gpl2/diffutils/dist/src/
H A Danalyze.c97 diag (lin xoff, lin xlim, lin yoff, lin ylim, bool find_minimal, argument
104 lin const dmin = xoff - ylim; /* Minimum valid diagonal. */
106 lin const fmid = xoff - yoff; /* Center diagonal of top-down search. */
114 fd[fmid] = xoff;
162 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
197 lin v = (x - xoff) * 2 - dd;
201 && xoff + SNAKE_LIMIT <= x && x < xlim
236 && xoff < x && x <= xlim - SNAKE_LIMIT
290 lin x = MAX (xoff, bd[d]);
302 if ((xlim + ylim) - bxybest < fxybest - (xoff
336 compareseq(lin xoff, lin xlim, lin yoff, lin ylim, bool find_minimal) argument
[all...]
/netbsd-current/games/warp/
H A Dinit.c46 int yoff = 0, xoff = 0, ypred, xpred; local
196 xoff = rand_mod(XSIZE);
217 xoff = rand_mod(XSIZE); /* how much to shift x */
240 xoff = rand_mod(XSIZE);
251 * 20.0) + xoff; /* pick from -20..20, clumped */
256 x = xpred + xoff;
261 x = -xpred + xoff;
/netbsd-current/sys/dev/hpc/
H A Dhpcfb.c939 int xoff, yoff; local
956 xoff = col * ri->ri_font->fontwidth;
961 on, xoff, yoff, curwidth, curheight);
1023 int xoff; local
1048 xoff = col * ri->ri_font->fontwidth;
1053 xoff, yoff, font, fclr, uclr, uc, attr);
1174 int xoff, yoff; local
1194 xoff = startcol * ri->ri_font->fontwidth;
1199 xoff, yoff, height, width, attr);
/netbsd-current/sys/arch/amiga/dev/
H A Dgrf_rhreg.h166 "C" void RZ3SetPanning (unsigned short xoff, unsigned short yoff);
356 void RZ3SetPanning(unsigned short xoff, unsigned short yoff);
359 * Moves the logical coordinate (xoff, yoff) to the upper left corner
696 short unsigned int xoff, short unsigned int yoff);
H A Dgrf_rh.c586 RZ3SetPanning(struct grf_softc *gp, unsigned short xoff, unsigned short yoff) argument
593 gi->gd_fbx = xoff;
596 if (md->DEP > 8 && md->DEP <= 16) xoff *= 2;
597 else if (md->DEP > 16) xoff *= 3;
600 WAttr(ba, ACT_ID_HOR_PEL_PANNING, (unsigned char)((xoff << 1) & 0x07));
605 off = ((yoff * md->TX)/ 4) + (xoff >> 2);
607 off = ((yoff * md->TX * 2)/ 4) + (xoff >> 2);
609 off = ((yoff * md->TX * 3)/ 4) + (xoff >> 2);
/netbsd-current/sys/external/bsd/vchiq/dist/interface/vchi/connections/
H A Dconnection.h185 typedef void (*VCHI_CONNECTION_FLOW_CONTROL)(VCHI_CONNECTION_STATE_T *state, int32_t service_id, int32_t xoff);
/netbsd-current/sys/arch/newsmips/dev/
H A Dfb.c286 int width, height, stride, xoff, yoff, cols, rows; local
334 xoff = ((width - cols * ri->ri_font->fontwidth) / 2 / 8) & ~3;
338 ri->ri_xorigin = xoff;
340 ri->ri_bits = dc->dc_fbbase + xoff + ri->ri_stride * yoff;
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dcselib.c137 rtx xoff = NULL; local
138 if (autoinc_split (x, &xoff, memmode) == v->val_rtx && xoff == NULL_RTX)
992 rtx xoff = NULL;
993 rtx xr = autoinc_split (x, &xoff, memmode);
994 if ((xr == y || xr == e->val_rtx) && xoff == NULL_RTX)
1024 rtx xoff = NULL, yoff = NULL;
1026 x = autoinc_split (x, &xoff, memmode);
1032 if (!xoff != !yoff)
1035 if (xoff
991 rtx xoff = NULL; local
1023 rtx xoff = NULL, yoff = NULL; local
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dcselib.cc138 rtx xoff = NULL; local
139 if (autoinc_split (x, &xoff, memmode) == v->val_rtx && xoff == NULL_RTX)
993 rtx xoff = NULL;
994 rtx xr = autoinc_split (x, &xoff, memmode);
995 if ((xr == y || xr == e->val_rtx) && xoff == NULL_RTX)
1025 rtx xoff = NULL, yoff = NULL;
1027 x = autoinc_split (x, &xoff, memmode);
1033 if (!xoff != !yoff)
1036 if (xoff
992 rtx xoff = NULL; local
1024 rtx xoff = NULL, yoff = NULL; local
[all...]
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_debe.c407 u_int yoff, xoff; local
409 xoff = yoff = 0;
413 xoff -= xx;
434 __SHIFTIN(xoff, SUNXI_DEBE_HWCFBCTL_XCOOROFF));
/netbsd-current/sys/dev/rasops/
H A Drasops.c453 uint32_t xoff, yoff; local
455 xoff = ((ri->ri_width * bpp >> 3) - ri->ri_emustride) >> 1;
460 xoff &= ~3;
465 xoff -= xoff % 12;
471 ri->ri_bits += xoff;
474 ri->ri_hwbits += xoff;

Completed in 305 milliseconds

12