HomeSort by: relevance | last modified time | path
    Searched refs:sx (Results 1 - 25 of 80) sorted by relevancy

1 2 3 4

  /src/games/hack/
hack.mkshop.c 93 int sh, sx, sy, i = -1; local in function:mkshop
157 sx = doors[sh].x;
159 if (sx == sroom->lx - 1)
160 sx++;
161 else if (sx == sroom->hx + 1)
162 sx--;
187 if (!(shk = makemon(PM_SHK, sx, sy)))
195 ESHK->shk.x = sx;
203 for (sx = sroom->lx; sx <= sroom->hx; sx++
227 int sh, sx, sy, i; local in function:mkzoo
303 int sx, sy, i, eelct = 0; local in function:mkswamp
    [all...]
hack.zap.c 497 buzz(int type, xchar sx, xchar sy, int dx, int dy)
520 sx += dx;
522 if ((lev = &levl[sx][sy])->typ)
523 Tmp_at(sx, sy);
526 if (cansee(sx - dx, sy - dy))
528 if (ZAP_POS(levl[sx][sy - dy].typ))
530 if (ZAP_POS(levl[sx - dx][sy].typ)) {
541 sx -= dx;
554 if (cansee(sx, sy)) {
555 mnewsym(sx, sy)
    [all...]
  /src/lib/libm/src/
s_rint.c 40 int32_t i0,jj0,sx; local in function:rint
44 sx = (i0>>31)&1;
53 w = TWO52[sx]+x;
54 t = w-TWO52[sx];
56 SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31));
77 w = TWO52[sx]+x;
78 return w-TWO52[sx];
s_rintf.c 33 int32_t i0,jj0,sx; local in function:rintf
41 sx = (i0>>31)&1;
50 w = TWO23[sx]+x;
51 t = w-TWO23[sx];
53 SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31));
66 w = TWO23[sx]+x;
67 return w-TWO23[sx];
e_fmodf.c 35 int32_t n,hx,hy,hz,ix,iy,sx,i; local in function:__ieee754_fmodf
39 sx = hx&0x80000000; /* sign of x */
40 hx ^=sx; /* |x| */
49 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
82 return Zero[(u_int32_t)sx>>31];
91 return Zero[(u_int32_t)sx>>31];
98 SET_FLOAT_WORD(x,hx|sx);
102 SET_FLOAT_WORD(x,hx|sx);
e_fmod.c 36 int32_t n,hx,hy,hz,ix,iy,sx,i; local in function:__strong_alias
41 sx = hx&0x80000000; /* sign of x */
42 hx ^=sx; /* |x| */
52 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
106 return Zero[(u_int32_t)sx>>31];
115 return Zero[(u_int32_t)sx>>31];
122 INSERT_WORDS(x,hx|sx,lx);
129 lx = (hx<<(32-n))|(lx>>n); hx = sx;
131 lx = hx>>(n-32); hx = sx;
133 INSERT_WORDS(x,hx|sx,lx)
    [all...]
s_remquof.c 37 int32_t n,hx,hy,hz,ix,iy,sx,i; local in function:remquof
43 sx = hx&0x80000000; /* sign of x */
44 hx ^=sx; /* |x| */
55 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
97 return Zero[(u_int32_t)sx>>31];
122 SET_FLOAT_WORD(x,hx^sx);
e_remainder.c 37 u_int32_t sx,lx,lp; local in function:__ieee754_remainder
42 sx = hx&0x80000000;
71 SET_HIGH_WORD(x,hx^sx);
e_remainderf.c 31 u_int32_t sx; local in function:__ieee754_remainderf
36 sx = hx&0x80000000;
64 SET_FLOAT_WORD(x,hx^sx);
s_remquol.c 84 int ix,iy,n,q,sx,sxy; local in function:remquol
88 sx = ux.extu_sign;
89 sxy = sx ^ uy.extu_sign;
109 return Zero[sx]; /* |x|=|y| return x*0*/
151 return Zero[sx];
178 ux.extu_sign ^= sx;
s_remquo.c 39 int32_t n,hx,hy,hz,ix,iy,sx,i; local in function:remquo
45 sx = hx&0x80000000; /* sign of x */
46 hx ^=sx; /* |x| */
60 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
124 return Zero[(u_int32_t)sx>>31];
156 SET_HIGH_WORD(x,hx^sx);
e_fmodl.c 80 int ix,iy,n,sx; local in function:__ieee754_fmodl
82 sx = ux.extu_sign;
98 return Zero[sx]; /* |x|=|y| return x*0*/
132 return Zero[sx];
141 return Zero[sx];
  /src/sys/arch/amiga/dev/
ite_cl.c 69 void cl_clear(struct ite_softc *ip, int sy, int sx, int h, int w);
70 void cl_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir);
173 cl_clear(struct ite_softc *ip, int sy, int sx, int h, int w)
187 (sy * ip->cols) + sx;
198 cl_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir)
219 memcpy(fb+sx+count, fb+sx, ip->cols - (sx + count));
222 memcpy(fb+sx-count, fb+sx, ip->cols - sx)
    [all...]
ite_et.c 69 void et_clear(struct ite_softc *ip, int sy, int sx, int h, int w);
70 void et_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir);
179 et_clear(struct ite_softc *ip, int sy, int sx, int h, int w)
192 dst = (volatile unsigned char*)ip->grf->g_fbkva + (sy * ip->cols) + sx;
204 et_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir)
225 etbcopy(fb+sx, fb+sx+count, ip->cols - (sx + count));
228 etbcopy(fb+sx, fb+sx-count, ip->cols - sx)
    [all...]
ite_cv.c 228 cv_clear(struct ite_softc *ip, int sy, int sx, int h, int w)
239 (((sy * ip->cols) + sx) << 2));
246 dst = &console_buffer[(sy * ip->cols) + sx];
253 cv_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir)
302 dst = src + ((sx+count)<<1);
303 src = &console_buffer[cv_rowc[sy] + sx];
304 len = ip->cols - (sx + count);
305 dst2 = &console_buffer[cv_rowc[sy] + sx + count];
314 dst = src + ((sx - count)<<1);
315 src = &console_buffer[cv_rowc[sy] + sx];
    [all...]
ite_cv3d.c 228 cv3d_clear(struct ite_softc *ip, int sy, int sx, int h, int w)
239 (((sy * ip->cols) + sx) << 2));
246 dst = &console_buffer[(sy * ip->cols) + sx];
253 cv3d_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir)
302 dst = src + ((sx+count)<<1);
303 src = &console_buffer[cv3d_rowc[sy] + sx];
304 len = ip->cols - (sx + count);
305 dst2 = &console_buffer[cv3d_rowc[sy] + sx + count];
314 dst = src + ((sx - count)<<1);
315 src = &console_buffer[cv3d_rowc[sy] + sx];
    [all...]
ite_rh.c 207 rh_clear(struct ite_softc *ip, int sy, int sx, int h, int w)
209 RZ3AlphaErase (ip->grf, sx, sy, w, h);
218 rh_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir)
243 RZ3AlphaCopy(ip->grf, sx, sy, sx + count, sy,
244 ip->cols - (sx + count), 1);
245 RZ3AlphaErase(ip->grf, sx, sy, count, 1);
247 RZ3AlphaCopy(ip->grf, sx + count, sy, sx, sy,
248 ip->cols - (sx + count), 1)
    [all...]
ite_ul.c 392 void ulowell_clear(struct ite_softc *ip, int sy, int sx, int h, int w)
400 printf("ulowell_clear %d %d %d %d ->",sy,sx,h,w);
406 cmd[2] = sx * ip->ftwidth;
415 void ulowell_scroll(struct ite_softc *ip, int sy, int sx, int count, int dir)
423 printf("ulowell_scroll %d %d %d %d ->",sy,sx,count,dir);
434 cmd[1] = sx * ip->ftwidth;
436 cmd[3] = (ip->cols - sx - count) * ip->ftwidth;
438 cmd[5] = (sx + count) * ip->ftwidth;
441 ulowell_clear (ip, sy, sx, 1, count);
444 cmd[1] = sx * ip->ftwidth
    [all...]
  /src/sys/arch/hp300/dev/
diofb_mono.c 118 diofb_mono_windowmove(struct diofb *fb, uint16_t sx, uint16_t sy,
156 psrcLine += (sx >> 5);
160 srcBit = sx & 0x1f;
179 xoffSrc = ((sx & 0x1f) + nstart) & 0x1f;
180 srcStartOver = ((sx & 0x1f) + nstart) > 31;
182 if (sx >= dx) { /* move left to right */
184 psrcLine += (sx >> 5);
191 getandputrop(psrc, (sx & 0x1f),
232 psrcLine += ((sx + cx) >> 5);
264 getandputrop(psrc, (sx & 0x1f)
    [all...]
  /src/lib/libc/gdtoa/
dmisc.c 116 ULong *bx, *bxe, q, *sx, *sxe; local in function:quorem
133 sx = S->x;
134 sxe = sx + --n;
147 ys = *sx++ * (ULLong)q + carry;
156 si = *sx++;
166 ys = *sx++ * q + carry;
174 while(sx <= sxe);
187 sx = S->x;
190 ys = *sx++ + carry;
199 si = *sx++
    [all...]
  /src/lib/libcurses/
delch.c 112 int cw, sx; local in function:wdelch
116 sx = win->curx;
121 sx += cw;
133 if (sx + cw < win->maxx) {
150 __touchline(win, (int)win->cury, sx, (int)win->maxx - 1);
addbytes.c 353 int sx = 0, ex = 0, cw = 0, i = 0, newx = 0, tabsize;
457 sx = *x;
459 for (sx = *x - 1; sx >= max(*x + cw, 0); sx--) {
462 *y, sx);
463 tp = &win->alines[*y]->line[sx];
472 sx = *x + cw;
474 newx = sx + win->ch_off;
509 __touchline(win, *y, sx, (int) win->maxx - 1)
    [all...]
touchwin.c 219 __touchline(WINDOW *win, int y, int sx, int ex)
222 return _cursesi_touchline_force(win, y, sx, ex, 0);
226 * Touch line y on window win starting from column sx and ending at
233 _cursesi_touchline_force(WINDOW *win, int y, int sx, int ex, int force)
237 win, y, sx, ex, force);
240 sx += win->ch_off;
246 if (*win->alines[y]->firstchp > sx)
247 *win->alines[y]->firstchp = sx;
  /src/sys/arch/x68k/dev/
itevar.h 140 #define attrclr(ip, sy, sx, h, w) \
141 memset(ip->attrbuf + ((sy) * ip->cols) + (sx), 0, (h) * (w))
143 #define attrmov(ip, sy, sx, dy, dx, h, w) \
145 ip->attrbuf + ((sy) * ip->cols) + (sx), \
155 #define attrclr(ip, sy, sx, h, w)
156 #define attrmov(ip, sy, sx, dy, dx, h, w)
236 #define attrclr(ip, sy, sx, h, w)
237 #define attrmov(ip, sy, sx, dy, dx, h, w)
  /src/sys/arch/hp300/stand/common/
ite_subr.c 203 ite_dio_clear(struct ite_data *ip, int sy, int sx, int h, int w)
206 (*ip->bmv)(ip, sy * ip->ftheight, sx * ip->ftwidth,
207 sy * ip->ftheight, sx * ip->ftwidth,
298 ite_dio_windowmove1bpp(struct ite_data *ip, int sy, int sx, int dy, int dx,
333 psrcLine += (sx >> 5);
337 srcBit = sx & 0x1f;
356 xoffSrc = ((sx & 0x1f) + nstart) & 0x1f;
357 srcStartOver = ((sx & 0x1f) + nstart) > 31;
360 psrcLine += (sx >> 5);
367 getandputrop(psrc, (sx & 0x1f), (dx & 0x1f)
    [all...]

Completed in 19 milliseconds

1 2 3 4