Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 1711) sorted by relevance

12345678910>>...69

/dragonfly/contrib/gdb-7/include/cgen/
HDbasic-ops.h35 #define ANDIF(x, y) ((x) && (y)) argument
36 #define ORIF(x, y) ((x) || (y)) argument
38 #define SUBBI(x, y) ((x) - (y)) argument
39 #define ANDBI(x, y) ((x) & (y)) argument
40 #define ORBI(x, y) ((x) | (y)) argument
41 #define XORBI(x, y) ((x) ^ (y)) argument
45 #define EQBI(x, y) ((BI) (x) == (BI) (y)) argument
46 #define NEBI(x, y) ((BI) (x) != (BI) (y)) argument
47 #define LTBI(x, y) ((BI) (x) < (BI) (y)) argument
48 #define LEBI(x, y) ((BI) (x) <= (BI) (y)) argument
[all …]
/dragonfly/sys/dev/raid/asr/
HDi2odep.h176 # define _F_getTID(w,x,y) (*((U16 __FAR__ *)(&((w)->x))) & I2O_TID_MASK) argument
177 # define _F_setTID(w,x,y,z) (*((U16 __FAR__ *)(&((w)->x)))\ argument
182 # define _F_getTID1(w,x,y) ((*(U16 __FAR__ *)(((U8 __FAR__ *)(&((w)->x)))\ argument
185 # define _F_setTID1(w,x,y,z) ((*((U16 __FAR__ *)(((U8 __FAR__ *)(&((w)->x)))\ argument
191 # define _F_getFunc(w,x,y) (*(((U8 __FAR__ *)(&((w)->x)))\ argument
193 # define _F_setFunc(w,x,y,z) (_F_getFunc(w,x,y) = (z)) argument
196 # define _F_getCount(w,x,y) (*((U32 __FAR__ *)(&((w)->x)))&I2O_SG_COUNT_MASK) argument
205 # define _F_setCount(w,x,y,z) (*((U32 __FAR__ *)(&((w)->x)))\ argument
210 # define _F_getFlags(w,x,y) (*(((U8 __FAR__ *)(&((w)->x)))\ argument
212 # define _F_setFlags(w,x,y,z) (_F_getFlags(w,x,y) = (z)) argument
[all …]
HDdptalign.h179 #define getUP1(x,y) (((unsigned char __FAR__ *)(x))+(unsigned DPT_4_BYTES)(y)) argument
180 #define getU1(x,y) (*getUP1(x,y)) argument
181 #define setU1(x,y,z) (*((unsigned char *)getUP1(x,y)) = (unsigned char)(z)) argument
182 #define orU1(x,y,z) (*getUP1(x,y) |= (unsigned char)(z)) argument
183 #define andU1(x,y,z) (*getUP1(x,y) &= (unsigned char)(z)) argument
184 #define getUP2(x,y) ((unsigned short __FAR__ *)(((unsigned char __FAR__ *) \ argument
185 (x))+(unsigned DPT_4_BYTES)(y)))
186 #define getBU2(x,y) ((unsigned short)osdLocal2((unsigned short __FAR__ *) \ argument
187 getUP1(x,y)))
188 #define getLU2(x,y) ((unsigned short)osdSLocal2((unsigned short __FAR__ *) \ argument
[all …]
/dragonfly/contrib/openbsd_libm/src/ld80/
HDe_lgammal.c204 long double y, z; in sin_pi() local
213 y = -x; /* x is assume negative */ in sin_pi()
219 z = floorl (y); in sin_pi()
220 if (z != y) in sin_pi()
222 y *= 0.5; in sin_pi()
223 y = 2.0*(y - floorl(y)); /* y = |x| mod 2.0 */ in sin_pi()
224 n = (int) (y*4.0); in sin_pi()
230 y = zero; n = 0; /* y must be even */ in sin_pi()
235 z = y + two63; /* exact */ in sin_pi()
238 y = n; in sin_pi()
[all …]
/dragonfly/contrib/openbsd_libm/src/
HDe_lgammaf_r.c92 float y,z; in sin_pif() local
99 y = -x; /* x is assume negative */ in sin_pif()
105 z = floorf(y); in sin_pif()
106 if(z!=y) { /* inexact anyway */ in sin_pif()
107 y *= (float)0.5; in sin_pif()
108 y = (float)2.0*(y - floorf(y)); /* y = |x| mod 2.0 */ in sin_pif()
109 n = (int) (y*(float)4.0); in sin_pif()
112 y = zero; n = 0; /* y must be even */ in sin_pif()
114 if(ix<0x4b000000) z = y+two23; /* exact */ in sin_pif()
117 y = n; in sin_pif()
[all …]
HDe_lgamma_r.c156 double y,z; in sin_pi() local
163 y = -x; /* x is assume negative */ in sin_pi()
169 z = floor(y); in sin_pi()
170 if(z!=y) { /* inexact anyway */ in sin_pi()
171 y *= 0.5; in sin_pi()
172 y = 2.0*(y - floor(y)); /* y = |x| mod 2.0 */ in sin_pi()
173 n = (int) (y*4.0); in sin_pi()
176 y = zero; n = 0; /* y must be even */ in sin_pi()
178 if(ix<0x43300000) z = y+two52; /* exact */ in sin_pi()
181 y = n; in sin_pi()
[all …]
HDe_rem_pio2.c54 __ieee754_rem_pio2(double x, double *y) in __ieee754_rem_pio2() argument
64 {y[0] = x; y[1] = 0; return 0;} in __ieee754_rem_pio2()
69 y[0] = z - pio2_1t; in __ieee754_rem_pio2()
70 y[1] = (z-y[0])-pio2_1t; in __ieee754_rem_pio2()
73 y[0] = z - pio2_2t; in __ieee754_rem_pio2()
74 y[1] = (z-y[0])-pio2_2t; in __ieee754_rem_pio2()
80 y[0] = z + pio2_1t; in __ieee754_rem_pio2()
81 y[1] = (z-y[0])+pio2_1t; in __ieee754_rem_pio2()
84 y[0] = z + pio2_2t; in __ieee754_rem_pio2()
85 y[1] = (z-y[0])+pio2_2t; in __ieee754_rem_pio2()
[all …]
HDe_rem_pio2f.c87 __ieee754_rem_pio2f(float x, float *y) in __ieee754_rem_pio2f() argument
96 {y[0] = x; y[1] = 0; return 0;} in __ieee754_rem_pio2f()
101 y[0] = z - pio2_1t; in __ieee754_rem_pio2f()
102 y[1] = (z-y[0])-pio2_1t; in __ieee754_rem_pio2f()
105 y[0] = z - pio2_2t; in __ieee754_rem_pio2f()
106 y[1] = (z-y[0])-pio2_2t; in __ieee754_rem_pio2f()
112 y[0] = z + pio2_1t; in __ieee754_rem_pio2f()
113 y[1] = (z-y[0])+pio2_1t; in __ieee754_rem_pio2f()
116 y[0] = z + pio2_2t; in __ieee754_rem_pio2f()
117 y[1] = (z-y[0])+pio2_2t; in __ieee754_rem_pio2f()
[all …]
/dragonfly/contrib/bmake/mk/
HDyacc.mk24 YACC.y?= ${YACC} ${YFLAGS}
27 .for y in ${SRCS:M*.y}
28 .if ${YACC.y:M-d} == "" || defined(NO_RENAME_Y_TAB_H)
29 .ORDER: ${y:T:R}.c y.tab.h
30 y.tab.h: .NOMETA
31 ${y:T:R}.c y.tab.h: $y
32 ${YACC.y} ${.IMPSRC}
33 [ ! -s y.tab.c ] || mv y.tab.c ${.TARGET}
34 ${RM} -f y.tab.[!h]
36 .ORDER: ${y:T:R}.c ${y:T:R}.h
[all …]
/dragonfly/contrib/mpfr/src/
HDmpf2mpfr.h84 #define mpf_abs(x,y) mpfr_abs(x,y,MPFR_DEFAULT_RND) argument
86 #define mpf_add(x,y,z) mpfr_add(x,y,z,MPFR_DEFAULT_RND) argument
88 #define mpf_add_ui(x,y,z) mpfr_add_ui(x,y,z,MPFR_DEFAULT_RND) argument
90 #define mpf_div(x,y,z) mpfr_div(x,y,z,MPFR_DEFAULT_RND) argument
92 #define mpf_div_ui(x,y,z) mpfr_div_ui(x,y,z,MPFR_DEFAULT_RND) argument
94 #define mpf_div_2exp(x,y,z) mpfr_div_2exp(x,y,z,MPFR_DEFAULT_RND) argument
108 #define mpf_get_str(x,y,z,t,u) mpfr_get_str(x,y,z,t,u,MPFR_DEFAULT_RND) argument
118 #define mpf_inp_str(x,y,z) mpfr_inp_str(x,y,z,MPFR_DEFAULT_RND) argument
120 #define mpf_set_str(x,y,z) mpfr_set_str(x,y,z,MPFR_DEFAULT_RND) argument
122 #define mpf_init_set(x,y) mpfr_init_set(x,y,MPFR_DEFAULT_RND) argument
[all …]
HDgmp_op.c50 foo (mpfr_ptr x, mpfr_srcptr y, mpz_srcptr z, mpfr_rnd_t r, in foo() argument
59 i = (*f) (x, y, t, r); in foo()
67 foo2 (mpfr_ptr x, mpz_srcptr y, mpfr_srcptr z, mpfr_rnd_t r, in foo2() argument
75 init_set_z (t, y); /* There should be no exceptions. */ in foo2()
84 mpfr_mul_z (mpfr_ptr y, mpfr_srcptr x, mpz_srcptr z, mpfr_rnd_t r) in mpfr_mul_z() argument
86 return foo (y, x, z, r, mpfr_mul); in mpfr_mul_z()
90 mpfr_div_z (mpfr_ptr y, mpfr_srcptr x, mpz_srcptr z, mpfr_rnd_t r) in mpfr_div_z() argument
92 return foo (y, x, z, r, mpfr_div); in mpfr_div_z()
96 mpfr_add_z (mpfr_ptr y, mpfr_srcptr x, mpz_srcptr z, mpfr_rnd_t r) in mpfr_add_z() argument
100 return mpfr_set (y, x, r); in mpfr_add_z()
[all …]
HDdiv_ui.c28 mpfr_div_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode) in mpfr_div_ui() argument
42 mpfr_get_prec(y), mpfr_log_prec, y, inexact)); in mpfr_div_ui()
48 MPFR_SET_NAN (y); in mpfr_div_ui()
53 MPFR_SET_INF (y); in mpfr_div_ui()
54 MPFR_SET_SAME_SIGN (y, x); in mpfr_div_ui()
62 MPFR_SET_NAN(y); in mpfr_div_ui()
67 MPFR_SET_ZERO(y); in mpfr_div_ui()
68 MPFR_SET_SAME_SIGN (y, x); in mpfr_div_ui()
78 MPFR_SET_INF (y); in mpfr_div_ui()
79 MPFR_SET_SAME_SIGN (y, x); in mpfr_div_ui()
[all …]
HDcomparisons.c39 mpfr_greater_p (mpfr_srcptr x, mpfr_srcptr y) in mpfr_greater_p() argument
41 return MPFR_IS_NAN(x) || MPFR_IS_NAN(y) ? 0 : (mpfr_cmp (x, y) > 0); in mpfr_greater_p()
45 mpfr_greaterequal_p (mpfr_srcptr x, mpfr_srcptr y) in mpfr_greaterequal_p() argument
47 return MPFR_IS_NAN(x) || MPFR_IS_NAN(y) ? 0 : (mpfr_cmp (x, y) >= 0); in mpfr_greaterequal_p()
51 mpfr_less_p (mpfr_srcptr x, mpfr_srcptr y) in mpfr_less_p() argument
53 return MPFR_IS_NAN(x) || MPFR_IS_NAN(y) ? 0 : (mpfr_cmp (x, y) < 0); in mpfr_less_p()
57 mpfr_lessequal_p (mpfr_srcptr x, mpfr_srcptr y) in mpfr_lessequal_p() argument
59 return MPFR_IS_NAN(x) || MPFR_IS_NAN(y) ? 0 : (mpfr_cmp (x, y) <= 0); in mpfr_lessequal_p()
63 mpfr_lessgreater_p (mpfr_srcptr x, mpfr_srcptr y) in mpfr_lessgreater_p() argument
65 return MPFR_IS_NAN(x) || MPFR_IS_NAN(y) ? 0 : (mpfr_cmp (x, y) != 0); in mpfr_lessgreater_p()
[all …]
/dragonfly/games/hack/
HDhack.pri.c121 atl(int x, int y, int ch) in atl() argument
123 struct rm *crm = &levl[x][y]; in atl()
125 if (x < 0 || x > COLNO - 1 || y < 0 || y > ROWNO - 1) { in atl()
126 impossible("atl(%d,%d,%c)", x, y, ch); in atl()
133 on_scr(x, y); in atl()
137 on_scr(int x, int y) in on_scr() argument
143 if (y < scrly) in on_scr()
144 scrly = y; in on_scr()
145 if (y > scrhy) in on_scr()
146 scrhy = y; in on_scr()
[all …]
HDhack.mkmaze.c78 int x, y; in makemaz() local
84 for (y = 2; y < ROWNO - 1; y++) in makemaz()
85 levl[x][y].typ = (x % 2 && y % 2) ? 0 : HWALL; in makemaz()
92 for (y = zy - 2; y <= zy + 2; y++) { in makemaz()
93 levl[x][y].typ = in makemaz()
94 … (y == zy - 2 || y == zy + 2 || x == zx - 2 || x == zx + 3) ? POOL : in makemaz()
95 … (y == zy - 1 || y == zy + 1 || x == zx - 1 || x == zx + 2) ? HWALL : in makemaz()
110 zy = mm.y; in makemaz()
118 for (y = 2; y < ROWNO - 1; y++) { in makemaz()
119 switch (levl[x][y].typ) { in makemaz()
[all …]
/dragonfly/games/robots/
HDmove_robs.c50 move(Min.y, Min.x); in move_robots()
52 move(Max.y, Max.x); in move_robots()
56 if (rp->y < 0) in move_robots()
58 mvaddch(rp->y, rp->x, ' '); in move_robots()
59 Field[rp->y][rp->x]--; in move_robots()
60 rp->y += sign(My_pos.y - rp->y); in move_robots()
62 if (rp->y <= 0) in move_robots()
63 rp->y = 0; in move_robots()
64 else if (rp->y >= Y_FIELDSIZE) in move_robots()
65 rp->y = Y_FIELDSIZE - 1; in move_robots()
[all …]
HDmove.c166 mvaddch(My_pos.y, My_pos.x, ' '); in get_move()
168 mvaddch(My_pos.y, My_pos.x, PLAYER); in get_move()
199 int x, y; in must_telep() local
207 for (y = -1; y <= 1; y++) { in must_telep()
208 newpos.y = My_pos.y + y; in must_telep()
209 if (newpos.y <= 0 || newpos.y >= Y_FIELDSIZE) in must_telep()
215 if (Field[newpos.y][newpos.x] > 0) in must_telep()
233 newpos.y = My_pos.y + dy; in do_move()
235 if (newpos.y <= 0 || newpos.y >= Y_FIELDSIZE || in do_move()
237 Field[newpos.y][newpos.x] > 0 || eaten(&newpos)) { in do_move()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/ginclude/
HDtgmath.h68 #define __tg_choose_2(x,y,f,d,l) \ argument
69 __builtin_choose_expr(__tg_ldbl(x) || __tg_ldbl(y), l, \
70 __builtin_choose_expr(__tg_dbl(x) || __tg_dbl(y), d, \
73 #define __tg_choose_3(x,y,z,f,d,l) \ argument
74 __builtin_choose_expr(__tg_ldbl(x) || __tg_ldbl(y) || __tg_ldbl(z), l, \
75 __builtin_choose_expr(__tg_dbl(x) || __tg_dbl(y) \
93 #define __TGMATH_REAL_2(x,y,R) \ argument
94 __tg_choose_2 (x, y, R##f(x,y), (R)(x,y), R##l(x,y))
95 #define __TGMATH_REAL_3(x,y,z,R) \ argument
96 __tg_choose_3 (x, y, z, R##f(x,y,z), (R)(x,y,z), R##l(x,y,z))
[all …]
/dragonfly/games/larn/
HDmonster.c136 int x, y, k, i; in createmonster() local
149 y = playery + diroffy[k]; in createmonster()
150 if (cgood(x, y, 0, 1)) { /* if we can create here */ in createmonster()
151 mitem[x][y] = mon; in createmonster()
152 hitp[x][y] = monster[mon].hitpoints; in createmonster()
153 stealth[x][y] = know[x][y] = 0; in createmonster()
158 stealth[x][y] = 1; in createmonster()
177 cgood(int x, int y, int itm, int monst) in cgood() argument
179 if ((y >= 0) && (y <= MAXY - 1) && (x >= 0) && (x <= MAXX - 1)) in cgood()
181 if (item[x][y] != OWALL) /* can't make anything on walls */ in cgood()
[all …]
/dragonfly/contrib/openbsd_libm/include/global/
HDtgmath.h77 #define __tg_impl_simple(x, y, z, fnl, fn, fnf, ...) \ argument
79 __tg_type(x) + __tg_type(y) + __tg_type(z), \
81 #define __tg_impl_full(x, y, cfnl, cfn, cfnf, fnl, fn, fnf, ...) \ argument
83 __tg_type(x) + __tg_type(y), \
92 #define __tg_impl_simple(x, y, z, fnl, fn, fnf, ...) \ argument
94 __tg_generic_simple(y, \
98 __tg_generic_simple(y, \
102 __tg_generic_simple(y, \
112 #define __tg_impl_full(x, y, cfnl, cfn, cfnf, fnl, fn, fnf, ...) \ argument
114 __tg_generic_full(y, cfnl, cfnl, cfnl, cfnl, cfnl, cfnl), \
[all …]
/dragonfly/lib/libvgl/
HDsimple.c41 #define min(x, y) (((x) < (y)) ? (x) : (y)) argument
42 #define max(x, y) (((x) > (y)) ? (x) : (y)) argument
45 VGLSetXY(VGLBitmap *object, int x, int y, byte color) in VGLSetXY() argument
50 if (x>=0 && x<object->VXsize && y>=0 && y<object->VYsize) { in VGLSetXY()
51 if (!VGLMouseFreeze(x, y, 1, 1, color)) { in VGLSetXY()
55 object->Bitmap[y*object->VXsize+x]=(color); in VGLSetXY()
58 object->Bitmap[VGLSetSegment(y*object->VXsize+x)]=(color); in VGLSetXY()
63 object->Bitmap[(unsigned)(VGLAdpInfo.va_line_width*y)+(x/4)] = (color); in VGLSetXY()
66 offset = VGLSetSegment(y*VGLAdpInfo.va_line_width + x/8); in VGLSetXY()
69 offset = y*VGLAdpInfo.va_line_width + x/8; in VGLSetXY()
[all …]
/dragonfly/games/hunt/huntd/
HDdraw.c56 int y; in drawmaze() local
63 for (y = 1; y < HEIGHT - 1; y++) { in drawmaze()
64 endp = &pp->p_maze[y][WIDTH]; in drawmaze()
65 for (x = 0, sp = pp->p_maze[y]; sp < endp; x++, sp++) in drawmaze()
67 cgoto(pp, y, x); in drawmaze()
69 if (pp->p_x == x && pp->p_y == y) in drawmaze()
73 outch(pp, player_sym(pp, y, x)); in drawmaze()
130 int x, y; in look() local
133 y = pp->p_y; in look()
139 check(pp, y - 1, x - 1); in look()
[all …]
/dragonfly/contrib/gcc-4.7/libgcc/config/
HDdarwin-64.c41 word_type __cmpdi2 (DI x, DI y);
43 DI __divdi3 (DI x, DI y);
45 DI __moddi3 (DI x, DI y);
46 DI __muldi3 (DI x, DI y);
50 word_type __ucmpdi2 (uDI x, uDI y);
51 uDI __udivdi3 (uDI x, uDI y);
52 uDI __udivmoddi4 (uDI x, uDI y, uDI *r);
53 uDI __umoddi3 (uDI x, uDI y);
58 word_type __cmpdi2 (DI x, DI y) { return x < y ? 0 : x == y ? 1 : 2; } in __cmpdi2() argument
60 DI __divdi3 (DI x, DI y) { return x / y; } in __divdi3() argument
[all …]
/dragonfly/contrib/grep/lib/
HDunlocked-io.h66 # define fgets(x,y,z) fgets_unlocked (x,y,z) argument
68 # define fgets_unlocked(x,y,z) fgets (x,y,z) argument
73 # define fputc(x,y) fputc_unlocked (x,y) argument
75 # define fputc_unlocked(x,y) fputc (x,y) argument
80 # define fputs(x,y) fputs_unlocked (x,y) argument
82 # define fputs_unlocked(x,y) fputs (x,y) argument
87 # define fread(w,x,y,z) fread_unlocked (w,x,y,z) argument
89 # define fread_unlocked(w,x,y,z) fread (w,x,y,z) argument
94 # define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) argument
96 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) argument
[all …]
/dragonfly/contrib/cvs-1.12/lib/
HDunlocked-io.h67 # define fgets(x,y,z) fgets_unlocked (x,y,z) argument
69 # define fgets_unlocked(x,y,z) fgets (x,y,z) argument
74 # define fputc(x,y) fputc_unlocked (x,y) argument
76 # define fputc_unlocked(x,y) fputc (x,y) argument
81 # define fputs(x,y) fputs_unlocked (x,y) argument
83 # define fputs_unlocked(x,y) fputs (x,y) argument
88 # define fread(w,x,y,z) fread_unlocked (w,x,y,z) argument
90 # define fread_unlocked(w,x,y,z) fread (w,x,y,z) argument
95 # define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) argument
97 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) argument
[all …]

12345678910>>...69