/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | align | 8 #define ALIGN_INTEGER(x) ((char*)(x)-(char*)0) 9 #define ALIGN_POINTER(x) ((char*)(x)) 13 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) 14 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) 18 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) 19 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) 21 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) 22 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) 26 #define ALIGN_ALIGN2(x) ALIGN_TRUNC2((x)+7) 29 #define ALIGN_SETBIT2(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x2) [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | align | 8 #define ALIGN_INTEGER(x) ((char*)(x)-(char*)0) 9 #define ALIGN_POINTER(x) ((char*)(x)) 13 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) 14 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) 18 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) 19 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) 21 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) 22 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) 26 #define ALIGN_ALIGN2(x) ALIGN_TRUNC2((x)+3) 29 #define ALIGN_SETBIT2(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x2) [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | align | 8 #define ALIGN_INTEGER(x) ((char*)(x)-(char*)0) 9 #define ALIGN_POINTER(x) ((char*)(x)) 13 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) 14 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) 18 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) 19 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) 21 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) 22 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) 26 #define ALIGN_ALIGN2(x) ALIGN_TRUNC2((x)+15) 29 #define ALIGN_SETBIT2(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x2) [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | align | 8 #define ALIGN_INTEGER(x) ((char*)(x)-(char*)0) 9 #define ALIGN_POINTER(x) ((char*)(x)) 13 #define ALIGN_ALIGN(x) ALIGN_ALIGN2(x) 14 #define ALIGN_TRUNC(x) ALIGN_TRUNC2(x) 18 #define ALIGN_ALIGN1(x) ALIGN_ALIGN2(x) 19 #define ALIGN_TRUNC1(x) ALIGN_TRUNC2(x) 21 #define ALIGN_SETBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x1) 22 #define ALIGN_TSTBIT1(x) ALIGN_POINTER(ALIGN_INTEGER(x)&0x1) 26 #define ALIGN_ALIGN2(x) ALIGN_TRUNC2((x)+15) 29 #define ALIGN_SETBIT2(x) ALIGN_POINTER(ALIGN_INTEGER(x)|0x2) [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | drand48.c | 70 #define LOW(x) ((unsigned)(x) & MASK) argument 71 #define HIGH(x) LOW((x) >> N) argument 72 #define MUL(x, y, z) { int32_t l = (int32_t)(x) * (int32_t)(y); \ argument 74 #define CARRY(x, y) ((int32_t)(x) + (int32_t)(y) > MASK) argument 75 #define ADDEQU(x, y, z) (z = CARRY(x, (y)), x = LOW(x + (y))) argument 83 #define SET3(x, x0, x1, x2) ((x)[0] = (x0), (x)[1] = (x1), (x)[2] = (x2)) argument 108 return (two16m * (two16m * (two16m * x[0] + x[1]) + x[2])); in _drand48_u() 117 return ((long)((int32_t)x[2] << (N - 1)) + (x[1] >> 1)); in NEST() 124 return ((long)((int32_t)x[2] << N) + x[1]); in _mrand48_u() 139 a[0] * x[2] + a[1] * x[1] + a[2] * x[0]); in next() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mdesc_impl.h | 74 #define mdtoh8(x) ((uint8_t)(x)) argument 75 #define mdtoh16(x) ((uint16_t)(x)) argument 76 #define mdtoh32(x) ((uint32_t)(x)) argument 77 #define mdtoh64(x) ((uint64_t)(x)) argument 78 #define htomd8(x) (x) argument 79 #define htomd16(x) (x) argument 80 #define htomd32(x) (x) argument 81 #define htomd64(x) (x) argument 83 #define mdtoh8(x) ((uint8_t)(x)) argument 84 #define mdtoh16(x) BSWAP_16((uint16_t)(x)) argument [all …]
|
H A D | debug.h | 68 #define ASSERT64(x) ASSERT(x) argument 72 #define ASSERT32(x) ASSERT(x) argument 113 #define VERIFY3B(x, y, z) VERIFY3_IMPL(x, y, z, boolean_t) argument 114 #define VERIFY3S(x, y, z) VERIFY3_IMPL(x, y, z, int64_t) argument 115 #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) argument 116 #define VERIFY3P(x, y, z) VERIFY3_IMPL(x, y, z, uintptr_t) argument 117 #define VERIFY0(x) VERIFY3_IMPL(x, ==, 0, uintmax_t) argument 120 #define ASSERT3B(x, y, z) VERIFY3_IMPL(x, y, z, boolean_t) argument 121 #define ASSERT3S(x, y, z) VERIFY3_IMPL(x, y, z, int64_t) argument 122 #define ASSERT3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) argument [all …]
|
/illumos-gate/usr/src/lib/libm/i386/src/ |
H A D | asin.S | 36 fldl 4(%esp) / push x 38 fld %st(1) / x , 1 , x 39 fabs / |x| , 1 , x 44 fadd %st(1),%st / 1+x,x 45 fld1 / 1,1+x,x 46 fsub %st(2),%st / 1-x,1+x,x 47 fmulp %st,%st(1) / (1-x)*(1+x),x 48 fsqrt / sqrt((1-x)/(1+x)),x 49 fpatan / atan(x/sqrt((1-x)/(1+x))) 53 / |x| > 1 [all …]
|
H A D | expl.S | 49 fldt 4(%esp) / x 50 fld1 / 1, x 53 fldt 4(%esp) / x 54 fld %st(0) / x, x 55 fldl2e / log2(e), x, x 56 fmulp / z := x*log2(e), x 57 frndint / [z], x 73 fscale / e^x, [z] 80 fldt 4(%esp) / x 81 fld1 / 1, x [all …]
|
H A D | asinf.S | 36 flds 4(%esp) / push x 38 fld %st(1) / x , 1 , x 39 fabs / |x| , 1 , x 44 fadd %st(1),%st / 1+x,x 45 fld1 / 1,1+x,x 46 fsub %st(2),%st / 1-x,1+x,x 47 fmulp %st,%st(1) / (1-x)*(1+x),x 48 fsqrt / sqrt((1-x)*(1+x)),x 49 fpatan / atan(x/sqrt((1-x)*(1+x))) 53 / |x| > 1 [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | gamma.c | 139 #define TRUNC(x) x = (double) (float) (x) argument 147 double x; 169 return (x*x); 180 double x; in large_gam() 185 z = one/(x*x); 187 p = p/x; 209 double x; in small_gam() 243 double x; in smaller_gam() 249 d = (t+x)*(x-t); 298 neg_gam(x) in neg_gam() argument [all …]
|
H A D | exp.c | 124 double x; 130 if(x!=x) return(x); /* x is NaN */ 137 k=invln2*x+copysign(0.5,x); /* k=NINT(x/ln2) */ 141 hi=x-k*ln2hi; 145 z=x*x; 163 return( finite(x) ? scalb(1.0,5000) : x); 171 double x, c; in __exp__D() 177 if (x!=x) return(x); /* x is NaN */ 183 z = invln2*x; 191 z=x*x; [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | log1pl.c | 31 #define H0(x) *(3 + (int *) &x) argument 32 #define H1(x) *(2 + (int *) &x) argument 33 #define H2(x) *(1 + (int *) &x) argument 34 #define H3(x) *(int *) &x argument 36 #define H0(x) *(int *) &x argument 37 #define H1(x) *(1 + (int *) &x) argument 38 #define H2(x) *(2 + (int *) &x) argument 39 #define H3(x) *(3 + (int *) &x) argument 153 s = x / (two + x); /* |s|<2**-8 */ in log1pl() 159 return (x + fabsl(x)); in log1pl() [all …]
|
H A D | scalbnl.c | 37 #define XSET_EXP(k, x) ((int *) &x)[0] = (((int *) &x)[0] & ~0x7fff0000) | \ argument 45 #define XSET_EXP(k, x) ((int *) &x)[2] = (((int *) &x)[2] & ~0x7fff) | k argument 59 int k = XBIASED_EXP(x); in scalbnl() 61 if (ISINFNANL(k, x)) in scalbnl() 62 return (x + x); in scalbnl() 64 return (x); in scalbnl() 66 x *= xtwot; in scalbnl() 77 XSET_EXP(k, x); in scalbnl() 78 return (x); in scalbnl() 81 XSET_EXP(k, x); in scalbnl() [all …]
|
/illumos-gate/usr/src/lib/libm/amd64/src/ |
H A D | exp10l.S | 44 .general_case: / Here, |x| > log10(2) or x is NaN 49 fldt 8(%rsp) / x 50 fld1 / 1, x 53 fldt 8(%rsp) / x 54 fld %st(0) / x, x 55 fldl2t / log2(10), x, x 56 fmulp / z := x*log2(10), x 57 frndint / [z], x 58 fst %st(2) / [z], x, [z] 73 fscale / 10^x, [z] [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | scalblnl.c | 36 #define XSET_EXP(k, x) ((int *) &x)[0] = (((int *) &x)[0] & ~0x7fff0000) | \ argument 44 #define XSET_EXP(k, x) ((int *) &x)[2] = (((int *) &x)[2] & ~0x7fff) | k argument 58 int k = XBIASED_EXP(x); in scalblnl() 60 if (ISINFNANL(k, x)) in scalblnl() 61 return (x + x); in scalblnl() 63 return (x); in scalblnl() 65 x *= xtwot; in scalblnl() 74 XSET_EXP(k, x); in scalblnl() 75 return (x); in scalblnl() 78 XSET_EXP(k, x); in scalblnl() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | pk0.c | 127 int x,seq; in pkaccept() local 156 for(x=0; x<8; x++) { in pkaccept() 217 for(x=next[pk->p_pr],t= -1; m & mask[x]; x = next[x]) { in pkaccept() 231 t = x; in pkaccept() 253 int x; local 319 int x; local 375 for(x=pk->p_ps; x!=pk->p_rpr; ) { 376 x = next[x]; 395 int x; local 426 x = i; [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_qtou.c | 43 xm = x->l.msw & 0x7fffffff; in _Q_qtou() 51 (x->l.frac2 >> 17); in _Q_qtou() 52 if ((x->l.frac2 & 0x1ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtou() 100 if (x->l.msw == 0xc01e0000 && (x->l.frac2 & 0xfffe0000) == 0) { in _Q_qtou() 103 if ((x->l.frac2 & 0x1ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtou() 106 __quad_fqtoi(x, &i); in _Q_qtou() 117 __quad_fqtoi(x, &i); in _Q_qtou() 125 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Q_qtou() 129 __quad_fqtoi(x, &i); in _Q_qtou() 145 if (round | (x->l.frac2 & 0x3ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtou() [all …]
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | spppcomp.h | 184 #define IS_COMP_AC(x) \ argument 185 ((x)->cp_flags & COMP_AC) 186 #define IS_DECOMP_AC(x) \ argument 188 #define IS_COMP_PROT(x) \ argument 192 #define IS_COMP_VJC(x) \ argument 196 #define IS_DECOMP_VJC(x) \ argument 200 #define IS_CCP_ISOPEN(x) \ argument 202 #define IS_CCP_ISUP(x) \ argument 204 #define IS_CCP_ERROR(x) \ argument 212 #define IS_CP_KDEBUG(x) \ argument [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | remainder.c | 57 return (x * p); in remainder() 59 return (x * p); in remainder() 66 x = fmod(x, p + p); in remainder() 67 x = fabs(x); in remainder() 69 if (x + x > p) { in remainder() 72 x -= p; in remainder() 73 if (x + x >= p) in remainder() 74 x -= p; in remainder() 81 x -= p; in remainder() 83 x -= p; in remainder() [all …]
|
/illumos-gate/usr/src/cmd/install.d/ |
H A D | install.sh | 79 -c) if [ x$ARG = x-d -o x$ARG = x-f ] 83 elif [ x$arg = x-i -o x$arg = x-o -o x$arg = x-n ] 97 -f) if [ x$ARG = x-d -o x$ARG = x-c ] 101 elif [ x$arg = x-i -o x$arg = x-n ] 115 -i) if [ x$ARG = x-d -o x$ARG = x-c -o x$ARG = x-f ] 128 -o) if [ x$ARG = x-d -o x$ARG = x-c ] 140 -n) if [ x$ARG = x-d -o x$ARG = x-c -o x$ARG = x-f ] 155 -d) if [ x$ARG = x-c -o x$ARG = x-f ] 159 elif [ x$arg = x-i -o x$arg = x-o -o x$arg = x-n ] 202 if [ x$ARG = x-d ] [all …]
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | rune.c | 122 for (x = 0; x < frl->runetype_ext_nranges; ++x) { in _Read_RuneMagi() 166 for (x = 0; x < _CACHED_RUNES; ++x) { in _Read_RuneMagi() 187 for (x = 0; x < rl->__runetype_ext.__nranges; ++x) { in _Read_RuneMagi() 190 rr[x].__min = frr[x].min; in _Read_RuneMagi() 191 rr[x].__max = frr[x].max; in _Read_RuneMagi() 192 rr[x].__map = frr[x].map; in _Read_RuneMagi() 207 for (x = 0; x < rl->__maplower_ext.__nranges; ++x) { in _Read_RuneMagi() 208 rr[x].__min = frr[x].min; in _Read_RuneMagi() 209 rr[x].__max = frr[x].max; in _Read_RuneMagi() 210 rr[x].__map = frr[x].map; in _Read_RuneMagi() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | tilde.sh | 54 x=~ 58 x=x:~ 59 if [[ $x != x:$HOME ]] 60 then err_exit x=x:~ not x:$HOME 65 x=~+ 66 if [[ $x != $PWD ]] 72 x=~- 80 x=~$u 81 [[ $x -ef $h ]] || x="~$u not $h" 85 x=~g.r.emlin [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printf/ |
H A D | tst.wp.d | 39 x = 0; 52 printf("%*.*s\n", x, x++, "hello"); 53 printf("%*.*s\n", x, x++, "hello"); 54 printf("%*.*s\n", x, x++, "hello"); 55 printf("%*.*s\n", x, x++, "hello"); 56 printf("%*.*s\n", x, x++, "hello"); 57 printf("%*.*s\n", x, x++, "hello"); 58 printf("%*.*s\n", x, x++, "hello"); 59 printf("%*.*s\n", x, x++, "hello"); 60 printf("%*.*s\n", x, x++, "hello"); [all …]
|
/illumos-gate/usr/src/cmd/bc/ |
H A D | lib.b.data | 43 x = -x 48 x = x/2 96 x = sqrt(x) 102 x = sqrt(x) 143 x = x - 4*n*p 147 y = -x*x 186 x= -(1-sqrt(1.+x*x))/x 191 x = -(1-sqrt(1.+x*x))/x 194 s = -x*x 223 s= -x*x/4 [all …]
|