Searched refs:yoff (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 = wp2->xoff; wp->yoff
[all...]
H A Dcmd-display-panes.c68 u_int pane, idx, px, py, i, j, xoff, yoff, sx, sy; local
75 wp->yoff + wp->sy <= ctx->oy ||
76 wp->yoff >= ctx->oy + ctx->sy)
97 if (wp->yoff >= ctx->oy && wp->yoff + wp->sy <= ctx->oy + ctx->sy) {
99 yoff = wp->yoff - ctx->oy;
101 } else if (wp->yoff < ctx->oy &&
102 wp->yoff + wp->sy > ctx->oy + ctx->sy) {
104 yoff
[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.c105 if (direction == 1 && wp->yoff == 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)
141 if ((wp->yoff == 0 || py >= wp->yoff - 1) && py <= ey) {
149 if ((wp->yoff == 0 || py >= wp->yoff - 1) && py <= ey) {
160 if (wp->yoff == 0 && py == wp->sy && px <= wp->sx / 2)
162 if (wp->yoff != 0 &&
163 py == wp->yoff
446 u_int i, x, width, xoff, yoff, size; local
[all...]
H A Dlayout.c65 lc->yoff = UINT_MAX;
116 " ", lc, type, lc->parent, lc->wp, lc->xoff, lc->yoff, lc->sx,
136 y >= lcchild->yoff && y < lcchild->yoff + lcchild->sy) {
152 if (y < lcchild->yoff && y >= last->yoff + last->sy)
167 u_int yoff)
173 lc->yoff = yoff;
206 u_int xoff, yoff; local
166 layout_set_size(struct layout_cell *lc, u_int sx, u_int sy, u_int xoff, u_int yoff) argument
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)
325 lc->yoff = yoff;
H A Dwindow.c599 if (y < wp->yoff || y > wp->yoff + wp->sy)
1310 edge = wp->yoff;
1328 if (next->yoff + next->sy + 1 != edge)
1367 edge = wp->yoff + wp->sy + 1;
1385 if (next->yoff != edge)
1427 top = wp->yoff;
1428 bottom = wp->yoff + wp->sy;
1435 end = next->yoff + next->sy - 1;
1438 if (next->yoff < to
[all...]
H A Dcmd-resize-pane.c127 if (y != INT_MAX && wp->yoff == 1)
131 if (y != INT_MAX && wp->yoff + wp->sy == w->sy - 1)
H A Dtty.c955 cy = wp->yoff + wp->screen->cy;
1073 u_int xoff = ctx->rxoff + px, yoff = ctx->ryoff + py; local
1079 yoff + ny <= ctx->woy || yoff >= ctx->woy + ctx->wsy)
1093 *ry = ctx->yoff + py - ctx->woy;
1194 u_int xoff = ctx->rxoff + px, yoff = ctx->ryoff + py; local
1223 if (yoff >= ctx->woy && yoff + ny <= ctx->woy + ctx->wsy) {
1226 *y = ctx->yoff + py - ctx->woy;
1228 } else if (yoff < ct
[all...]
H A Dcmd-display-menu.c218 n = top + wp->yoff - oy + h;
223 format_add(ft, "popup_pane_bottom", "%u", top + wp->yoff + wp->sy - oy);
H A Dcmd.c771 if (y < wp->yoff || y >= wp->yoff + wp->sy)
777 *yp = y - wp->yoff;
/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
180 const int dmax = xlim - yoff; /* Maximum valid diagonal. */
181 const int fmid = xoff - yoff; /* Center diagonal of top-down search. */
269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
324 yoff + SNAKE_LIMIT <= y
368 yoff < y && y <= ylim - SNAKE_LIMIT)
440 if (y < yoff)
442 x = yoff + d;
443 y = yoff;
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
180 const int dmax = xlim - yoff; /* Maximum valid diagonal. */
181 const int fmid = xoff - yoff; /* Center diagonal of top-down search. */
269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
324 yoff + SNAKE_LIMIT <= y
368 yoff < y && y <= ylim - SNAKE_LIMIT)
440 if (y < yoff)
442 x = yoff + d;
443 y = yoff;
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
180 const int dmax = xlim - yoff; /* Maximum valid diagonal. */
181 const int fmid = xoff - yoff; /* Center diagonal of top-down search. */
269 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
324 yoff + SNAKE_LIMIT <= y
368 yoff < y && y <= ylim - SNAKE_LIMIT)
440 if (y < yoff)
442 x = yoff + d;
443 y = yoff;
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
209 yoff = (si->si_height - height) / 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 + (yoff * s
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;
107 int const dmax = xlim - yoff; /* Maximum valid diagonal. */
108 int const fmid = xoff - yoff; /* Center diagonal of top-down search. */
164 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
204 && yoff + SNAKE_LIMIT <= y && y < ylim)
239 && yoff < y && y <= ylim - SNAKE_LIMIT)
294 if (y < yoff)
295 x = yoff + d, y = yoff;
[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
105 lin const dmax = xlim - yoff; /* Maximum valid diagonal. */
106 lin const fmid = xoff - yoff; /* Center diagonal of top-down search. */
162 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1])
202 && yoff + SNAKE_LIMIT <= y && y < ylim)
237 && yoff < y && y <= ylim - SNAKE_LIMIT)
292 if (y < yoff)
293 x = yoff + d, y = yoff;
302 if ((xlim + ylim) - bxybest < fxybest - (xoff + yoff))
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
195 yoff = rand_mod(YSIZE);
216 yoff = rand_mod(YSIZE); /* how much to shift y */
239 yoff = rand_mod(YSIZE);
274 * 12.0) + yoff; /* pick from -12..12, clumped */
280 * 12.0) + yoff + x*YSIZE/XSIZE;
288 * 12.0) + yoff - x*YSIZE/XSIZE;
293 y = ypred + yoff;
296 y = -ypred + yoff;
/netbsd-current/sys/dev/hpc/
H A Dhpcfb.c939 int xoff, yoff; local
957 yoff = row * ri->ri_font->fontheight;
961 on, xoff, yoff, curwidth, curheight);
1024 int yoff; local
1047 yoff = row * ri->ri_font->fontheight;
1053 xoff, yoff, font, fclr, uclr, uc, attr);
1174 int xoff, yoff; local
1195 yoff = row * ri->ri_font->fontheight;
1199 xoff, yoff, height, width, attr);
1499 int yoff; local
[all...]
/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
594 gi->gd_fby = yoff;
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/arch/newsmips/dev/
H A Dfb.c286 int width, height, stride, xoff, yoff, cols, rows; local
335 yoff = (height - rows * ri->ri_font->fontheight) / 2;
339 ri->ri_yorigin = yoff;
340 ri->ri_bits = dc->dc_fbbase + xoff + ri->ri_stride * yoff;
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_debe.c407 u_int yoff, xoff; local
409 xoff = yoff = 0;
417 yoff -= yy;
433 __SHIFTIN(yoff, SUNXI_DEBE_HWCFBCTL_YCOOROFF) |
/netbsd-current/sys/dev/ic/
H A Digsfb.c862 int x, xoff, y, yoff; local
871 yoff = 0;
874 yoff = -y;
887 igs_ext_write(t, h, IGS_EXT_SPRITE_VPRESET, yoff & 0x3f);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dcselib.c959 rtx yoff = NULL;
960 rtx yr = autoinc_split (y, &yoff, memmode);
961 if ((yr == x || yr == e->val_rtx) && yoff == NULL_RTX)
1024 rtx xoff = NULL, yoff = NULL;
1027 y = autoinc_split (y, &yoff, memmode);
1032 if (!xoff != !yoff)
1035 if (xoff && !rtx_equal_for_cselib_1 (xoff, yoff, memmode, depth))
958 rtx yoff = NULL; local
1023 rtx xoff = NULL, yoff = NULL; local

Completed in 198 milliseconds

12