Home
last modified time | relevance | path

Searched refs:x (Results 126 – 150 of 4182) sorted by relevance

12345678910>>...168

/illumos-gate/usr/src/uts/common/inet/ipf/
H A Ddrand48.c68 #define LOW(x) ((unsigned)(x) & MASK) argument
69 #define HIGH(x) LOW((x) >> N) argument
70 #define MUL(x, y, z) { int32_t l = (int32_t)(x) * (int32_t)(y); \ argument
72 #define CARRY(x, y) ((int32_t)(x) + (int32_t)(y) > MASK) argument
73 #define ADDEQU(x, y, z) (z = CARRY(x, (y)), x = LOW(x + (y))) argument
81 #define SET3(x, x0, x1, x2) ((x)[0] = (x0), (x)[1] = (x1), (x)[2] = (x2)) argument
88 for (i = 0; i < 3; i++) { temp[i] = x[i]; x[i] = LOW(xsubi[i]); } \
104 return ((long)((int32_t)x[2] << (N - 1)) + (x[1] >> 1)); in ipf_r_lrand48_u()
118 return ((long)((int32_t)x[2] << N) + x[1]); in ipf_r_mrand48_u()
133 a[0] * x[2] + a[1] * x[1] + a[2] * x[0]); in next()
[all …]
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtoux.c39 xm = x->l.msw & 0x7fffffff; in _Qp_qtoux()
48 ((long) x->l.frac2 << 15) | (x->l.frac3 >> 17); in _Qp_qtoux()
49 if ((x->l.frac3 & 0x1ffff) | x->l.frac4) { in _Qp_qtoux()
61 z.l.msw = x->l.frac2; in _Qp_qtoux()
67 z.l.msw = x->l.frac3; in _Qp_qtoux()
71 z.l.msw = x->l.frac4; in _Qp_qtoux()
97 if (x->l.msw == 0xc03e0000 && x->l.frac2 == 0 && in _Qp_qtoux()
101 if ((x->l.frac3 & 0x1ffff) | x->l.frac4) { in _Qp_qtoux()
124 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_qtoux()
138 ((long) x->l.frac2 << 14) | (x->l.frac3 >> 18); in _Qp_qtoux()
[all …]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dexpm1l.c137 if (x != x) in expm1l()
138 return (x + x); /* NaN */ in expm1l()
139 if (x < zero) in expm1l()
146 if ((int) x == 0) in expm1l()
149 t = x * x; in expm1l()
152 return (x + (x * r) / (two - r)); in expm1l()
171 if (x < -80.0) in expm1l()
172 return (tiny - x / x); in expm1l()
178 x = (x - t * ln2_32hi) - t * ln2_32lo; in expm1l()
179 t = x * x; in expm1l()
[all …]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vhypot.c34 #define HI(x) *(1+(int*)x) argument
35 #define LO(x) *(unsigned*)x argument
37 #define HI(x) *(int*)x argument
38 #define LO(x) *(1+(unsigned*)x) argument
135 x = fabs(x); in __vhypot()
141 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; in __vhypot()
177 x = fabs(x); in __vhypot()
183 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; in __vhypot()
247 x = *px; in __vhypot()
262 x = fabs(x); in __vhypot()
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dexpm1.c162 expm1(double x) { in expm1() argument
170 y = x; in expm1()
183 return (x * x); /* + -> * for Cheetah */ in expm1()
217 x = hi - lo; in expm1()
222 return (x - (t - (huge + x))); in expm1()
228 hfx = 0.5 * x; in expm1()
229 hxs = x * hfx; in expm1()
234 return (x - (x * e - hxs)); in expm1()
241 if (x < -0.25) in expm1()
255 y = t - (e - x); in expm1()
[all …]
H A Dsin.c97 sin(double x) { in sin() argument
108 return (x); in sin()
109 z = x * x; in sin()
122 x = fabs(x); in sin()
126 p = PI_H - x; in sin()
128 x = p + PI_L; in sin()
132 return ((hx >= 0)? x + PI_L1 : -(x + PI_L1)); in sin()
134 z = x * x; in sin()
153 return ((hx >= 0)? x - PI2_L1 : -(x - PI2_L1)); in sin()
155 z = x * x; in sin()
[all …]
H A Dcos.c111 cos(double x) { in cos() argument
121 if ((int)x == 0) in cos()
124 z = x * x; in cos()
137 x = fabs(x); in cos()
141 p = PIO2_H - x; in cos()
143 x = p + PIO2_L; in cos()
149 z = x * x; in cos()
162 p = x - PI3O2_H; in cos()
170 z = x * x; in cos()
190 z = x * x; in cos()
[all …]
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dasinl.S35 fldt 8(%rsp) / push x
37 fld %st(1) / x , 1 , x
38 fabs / |x| , 1 , x
41 fadd %st(1),%st / 1+x,x
42 fld1 / 1,1+x,x
43 fsub %st(2),%st / 1-x,1+x,x
44 fmulp %st,%st(1) / (1-x)*(1+x),x
45 fsqrt / sqrt((1-x)*(1+x)),x
46 fpatan / atan(x/sqrt((1-x)*(1+x)))
49 / |x| > 1
[all …]
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dasinl.S35 fldt 4(%esp) / push x
37 fld %st(1) / x , 1 , x
38 fabs / |x| , 1 , x
43 fadd %st(1),%st / 1+x,x
44 fld1 / 1,1+x,x
45 fsub %st(2),%st / 1-x,1+x,x
46 fmulp %st,%st(1) / (1-x)*(1+x),x
47 fsqrt / sqrt((1-x)*(1+x)),x
48 fpatan / atan(x/sqrt((1-x)*(1+x)))
51 / |x| > 1
[all …]
H A Dexp10l.S48 fldt 4(%esp) / x
49 fld1 / 1, x
52 fldt 4(%esp) / x
53 fld %st(0) / x, x
54 fldl2t / log2(10), x, x
55 fmulp / z := x*log2(10), x
56 frndint / [z], x
57 fst %st(2) / [z], x, [z]
60 fmulp / [z]*lt2_hi, x, [z]
72 fscale / 10^x, [z]
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwins_wch.c52 int y, x;
62 x = __m_cc_first(w, y, x);
66 &w->_line[y][x + width], &w->_line[y][x],
83 if (w->_maxx < x + __m_cc_width(&w->_line[y][x]))
97 int y, x;
113 x = 0;
116 if (0 < x)
117 --x;
120 for (nx = x + (8 - (x & 07)); x < nx; x += width)
129 if (__m_do_scroll(w, y, x, &y, &x) == ERR)
[all …]
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dasm.h50 #define PIC_PLT(x) x@PLT argument
51 #define PIC_GOT(x) x@GOT(%ebx) argument
56 #define PIC_PLT(x) x argument
57 #define PIC_GOTOFF(x) x argument
74 .globl CNAME(x); .type CNAME(x),@function; CNAME(x):
75 #define END(x) .size x, . - x argument
78 #define ALTENTRY(x) _ENTRY(x); \ argument
83 #define ENTRY(x) _ENTRY(x); \ argument
89 #define ALTENTRY(x) _ENTRY(x) argument
90 #define ENTRY(x) _ENTRY(x) argument
[all …]
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dlimit.test42 execsql {SELECT x FROM t1 ORDER BY x LIMIT 5}
45 execsql {SELECT x FROM t1 ORDER BY x LIMIT 5 OFFSET 2}
48 execsql {SELECT x FROM t1 ORDER BY x LIMIT 2, 5}
51 execsql {SELECT x FROM t1 ORDER BY x LIMIT 5 OFFSET 5}
54 execsql {SELECT x FROM t1 ORDER BY x LIMIT 50 OFFSET 30}
57 execsql {SELECT x FROM t1 ORDER BY x LIMIT 30, 50}
60 execsql {SELECT x FROM t1 ORDER BY x LIMIT 50 OFFSET 50}
134 INSERT INTO t5 SELECT x-y, x+y FROM t1 WHERE x BETWEEN 10 AND 15
142 INSERT INTO t5 SELECT x-y, x+y FROM t1 WHERE x BETWEEN 10 AND 15
150 INSERT INTO t5 SELECT x-y, x+y FROM t1 WHERE x ORDER BY x DESC LIMIT 31;
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_def.h490 #define US2WT(x) (x)/10 argument
495 #define BYTE0(x) (((x) >> 0) & 0xff) argument
496 #define BYTE1(x) (((x) >> 8) & 0xff) argument
497 #define BYTE2(x) (((x) >> 16) & 0xff) argument
498 #define BYTE3(x) (((x) >> 24) & 0xff) argument
499 #define BYTE4(x) (((x) >> 32) & 0xff) argument
500 #define BYTE5(x) (((x) >> 40) & 0xff) argument
507 #define DWORD0(x) ((uint32_t)(x)) argument
511 #define SAS_ADDR_PRT(x) x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7] argument
520 #define HEXDIGIT(x) (((x) >= '0' && (x) <= '9') || \ argument
[all …]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtable.c58 int x; in ht_insert() local
69 x = ht_hash(key); in ht_insert()
73 if (((table[x].key == key) && (table[x].info == 1)) || in ht_insert()
126 int x; in ht_search() local
130 if ((table[x].key == key) && (table[x].info == 1)) { in ht_search()
199 int x; in ht_remove() local
211 if ((table[x].key == key) && (table[x].info == 1)) { in ht_remove()
221 table[x].elements = table[x].next->elements; in ht_remove()
222 table[x].info = table[x].next->info; in ht_remove()
223 table[x].key = table[x].next->key; in ht_remove()
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Dasm_linkage.h154 #define RTMCOUNT(x) MCOUNT(x) argument
187 .globl x; \
189 x: MCOUNT(x)
194 .globl x; \
196 x:
201 .globl x; \
203 x: RTMCOUNT(x)
215 x: ; \
225 x: ; \
235 x:
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dallocate.h37 extern type *__alloc_##x(int); \
38 extern void __free_##x(type *); \
39 extern void show_##x##_alloc(void); \
43 #define DECLARE_ALLOCATOR(x) __DECLARE_ALLOCATOR(struct x, x) argument
50 type *__alloc_##x(int extra) \
54 void __free_##x(type *entry) \
58 void show_##x##_alloc(void) \
66 void clear_##x##_alloc(void) \
70 void protect_##x##_alloc(void) \
75 #define __ALLOCATOR(t, n, x) \ argument
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpic8259.h47 #define IMR_REG(x) ( (x) < IRQ_PIC_CUTOFF ? PIC1_IMR : PIC2_IMR ) argument
48 #define IMR_BIT(x) ( 1 << ( (x) % IRQ_PIC_CUTOFF ) ) argument
49 #define irq_enabled(x) ( ( inb ( IMR_REG(x) ) & IMR_BIT(x) ) == 0 ) argument
50 #define enable_irq(x) outb ( inb( IMR_REG(x) ) & ~IMR_BIT(x), IMR_REG(x) ) argument
51 #define disable_irq(x) outb ( inb( IMR_REG(x) ) | IMR_BIT(x), IMR_REG(x) ) argument
54 #define ICR_REG(x) ( (x) < IRQ_PIC_CUTOFF ? PIC1_ICR : PIC2_ICR ) argument
55 #define ICR_VALUE(x) ( (x) % IRQ_PIC_CUTOFF ) argument
59 #define IRQ_INT(x) ( (x)<IRQ_PIC_CUTOFF ? (x)+0x08 : (x)-IRQ_PIC_CUTOFF+0x70 ) argument
60 #define INT_VECTOR(x) ( (segoff_t*) phys_to_virt( 4 * (x) ) ) argument
61 #define IRQ_VECTOR(x) ( INT_VECTOR ( IRQ_INT(x) ) ) argument
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dlgamma.c85 #define TRUNC(x) x = (double) (float) (x) argument
88 #define TRUNC(x) *(((int *) &x) + endian) &= 0xf8000000 argument
159 return (x+x); in lgamma()
168 if (x < 0) in lgamma()
169 signgam = -1, x = -x; in lgamma()
192 x1 = 1./x; in large_lgam()
199 v.a = x = x - 0.5; in large_lgam()
201 v.b = x - v.a; in large_lgam()
284 xi = (int)x; in neg_lgam()
285 if (xi == x) in neg_lgam()
[all …]
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcasinl.c74 x = LD_RE(z); in casinl()
80 x = fabsl(x); in casinl()
106 LD_RE(ans) = x + x; in casinl()
152 LD_IM(ans) = logl(x + sqrtl((x - one) * (x + in casinl()
163 LD_IM(ans) = y / sqrtl((one + x) * (one - x)); in casinl()
169 LD_IM(ans) = logl(x + sqrtl((x - one) * (x + in casinl()
172 LD_IM(ans) = log1pl((x - one) + sqrtl((x - in casinl()
184 t = x / y; in casinl()
202 B = x / A; in casinl()
206 Apx = A + x; in casinl()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmagic.tab182 0 long 0x020a0108 hp s200 2.x executable, pure x-system/exe
184 0 long 0x020a0107 hp s200 2.x executable x-system/exe
200 0 long 0x50900107 pyramid 90x executable x-system/exe
206 0 long 0x50900108 pyramid 90x object x-system/obj
207 0 long 0x5090010b pyramid 90x executable x-system/exe
1103 0 match x[ ]T[ ] ditroff application/x-ditroff
1183 0 long 0x13579ace dbm 1.x database application/x-dbm
1184 0 string GDBM gnu dbm 2.x database application/x-gdbm
1198 +20 long * , flags 0x%x
1289 +16 belong x , %ld x
[all …]
/illumos-gate/usr/src/common/net/patricia/
H A Dradix.c185 x = x->rn_right;
187 x = x->rn_left;
206 x = x->rn_right;
208 x = x->rn_left;
263 x = x->rn_dupedkey;
434 x = x->rn_dupedkey;
527 x = x->rn_right;
529 x = x->rn_left;
811 for (mp = &t->rn_mklist; x; x = x->rn_dupedkey)
1011 x->rn_left->rn_parent = x;
[all …]
/illumos-gate/usr/src/ucblib/libcurses/
H A Daddch.c32 int x, y; in waddch() local
35 x = win->_curx; in waddch()
42 for (newx = x + (8 - (x & 07)); x < newx; x++) in waddch()
55 set_ch(win, y, x, c); in waddch()
56 win->_y[y][x++] = c; in waddch()
58 x = 0; in waddch()
77 x = 0; in waddch()
80 x = 0; in waddch()
83 if (--x < 0) in waddch()
84 x = 0; in waddch()
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dremquo.c54 #define __HI(x) ((int *) &x)[HIWORD] argument
55 #define __LO(x) ((int *) &x)[LOWORD] argument
77 return ((x * y) / (x * y)); in fmodquo()
229 return ((x * y) / (x * y)); in remquo()
232 x = fabs(x); in remquo()
234 x = fmodquo(x, y + y, quo); in remquo()
238 if (x + x > y) { in remquo()
243 x -= y; in remquo()
244 if (x + x >= y) { in remquo()
245 x -= y; in remquo()
[all …]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dmd5.c96 #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) argument
97 #define G(x, y, z) (((x) & (z)) | ((y) & (~z))) argument
98 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument
99 #define I(x, y, z) ((y) ^ ((x) | (~z))) argument
105 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument
214 Decode (x, block, 64);
246 GG (b, c, d, a, x[ 8], S24, 0x455a14ed); /* 28 */
247 GG (a, b, c, d, x[13], S21, 0xa9e3e905); /* 29 */
248 GG (d, a, b, c, x[ 2], S22, 0xfcefa3f8); /* 30 */
249 GG (c, d, a, b, x[ 7], S23, 0x676f02d9); /* 31 */
[all …]

12345678910>>...168