/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/ |
H A D | msggen.c | 135 register Xl_t* px; in translation() local 155 for (px = xp; px; px = px->next) in translation() 160 free(px->date); in translation() 166 if (!px) in translation() 168 if (!(px = newof(0, Xl_t, 1, strlen(s))) || !(px->date = strdup(d))) in translation() 171 px->next = xp; in translation() 172 xp = px; in translation() 224 Xl_t* px; in main() local 493 for (bp = 0, px = xp; px; px = px->next) in main() 494 if (px->date && (!bp || strcoll(bp->date, px->date) < 0)) in main() [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | logl.c | 109 int *px = (int *) &x; in logl() local 123 ix = px[i0]; in logl() 128 if (((ix - 0x3fff0000) | px[i1] | px[2] | px[1]) == 0) { in logl() 144 if ((i | px[i1] | px[2] | px[1]) == 0) { in logl() 145 px[i0] |= 0x80000000; in logl() 156 ix = px[i0]; in logl() 160 px[i0] = ix; in logl()
|
H A D | finitel.c | 35 int *px = (int *) &x; in finitel() local 36 return ((px[0] & ~0x80000000) < 0x7fff0000); in finitel() 41 int *px = (int *) &x, t = px[2] & 0x7fff; in finitel() local 43 return (t != 0x7fff && ((px[1] & 0x80000000) != 0 || t == 0)); in finitel()
|
H A D | hypotl.c | 70 int *px = (int *) &x, *py = (int *) &y; in hypotl() local 87 px[n0] &= 0x7fffffff; /* clear sign bit of x and y */ in hypotl() 90 nx = px[n0] & k; /* exponent of x and y */ in hypotl() 107 pt1[n0] = px[n0]; in hypotl() 108 pt1[n1] = px[n1]; in hypotl() 118 pt1[n0] = px[n0]; in hypotl() 119 pt1[n1] = px[n1]; in hypotl() 146 px[n0] -= j; in hypotl()
|
H A D | powl.c | 69 int *px = (int *) &x; in logl_x() local 74 ix = px[i0]; in logl_x() 78 if (((ix - 0x3fff0000) | px[i1] | px[i2] | px[i3]) == 0) { in logl_x() 97 ix = px[i0]; in logl_x() 102 px[i0] = ix; in logl_x() 140 int *px = (int *) &x; in powl() local 143 hx = px[i0]; in powl() 144 lx = px[i1] | px[i2] | px[i3]; in powl()
|
H A D | atanl.c | 114 int *px = (int *) &x, *py = (int *) &y; in atanl() local 117 ix = px[i0]; in atanl() 148 px[i0] = ix; in atanl() 174 if (((ix - 0x7fff0000) | px[1] | px[2] | px[i1]) != 0) in atanl() 186 px[i0] = ix; in atanl()
|
H A D | copysignl.c | 36 int *px = (int *) &x; in copysignl() local 39 px[HIXWORD] = (px[HIXWORD] & ~XSGNMSK) | (py[HIXWORD] & XSGNMSK); in copysignl()
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | hex_bin.c | 112 __hex_to_single(decimal_record *pd, enum fp_direction_type rd, single *px, in __hex_to_single() argument 123 *px = kluge.x; in __hex_to_single() 126 __pack_single(&u, px, rd, ps); in __hex_to_single() 145 *px = kluge.x; in __hex_to_double() 148 __pack_double(&u, px, rd, ps); in __hex_to_double() 171 *px = kluge.x; in __hex_to_quadruple() 174 __pack_quadruple(&u, px, rd, ps); in __hex_to_quadruple() 195 (*px)[0] = kluge.x[0]; in __hex_to_extended() 196 (*px)[1] = kluge.x[1]; in __hex_to_extended() 197 (*px)[2] = kluge.x[2]; in __hex_to_extended() [all …]
|
H A D | double_decim.c | 454 x = (double_equivalence *)px; in __double_to_bigfloat() 480 x = (extended_equivalence *)px; in __extended_to_bigfloat() 504 x = (quadruple_equivalence *)px; in __quadruple_to_bigfloat() 537 kluge = (single_equivalence *)px; in single_to_decimal() 558 i = *(int *)px; in single_to_decimal() 590 x = *px; in single_to_decimal() 608 kluge = (double_equivalence *)px; in double_to_decimal() 637 __double_to_bigfloat(px, &bf); in double_to_decimal() 653 kluge = (extended_equivalence *)px; in extended_to_decimal() 694 __extended_to_bigfloat(px, &bf); in extended_to_decimal() [all …]
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | hypotl.c | 69 int *px = (int *) &x, *py = (int *) &y; in hypotl() local 74 px[2] &= 0x7fff; /* clear sign bit and padding bits of x and y */ in hypotl() 76 nx = px[2]; /* biased exponent of x and y */ in hypotl() 93 pt1[2] = px[2]; in hypotl() 94 pt1[1] = px[1]; in hypotl() 104 pt1[2] = px[2]; in hypotl() 105 pt1[1] = px[1]; in hypotl() 116 if (px[1] == 0x80000000 && px[0] == 0) in hypotl() 137 px[2] -= j; in hypotl()
|
H A D | finitel.c | 35 int *px = (int *) &x; in finitel() local 36 return ((px[0] & ~0x80000000) < 0x7fff0000); in finitel() 41 int *px = (int *) &x, t = px[2] & 0x7fff; in finitel() local 43 return (t != 0x7fff && ((px[1] & 0x80000000) != 0 || t == 0)); in finitel()
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vhypot.c | 90 hx0 = HI(px); \ 116 spx = px; in __vhypot() 119 hx0 = HI(px); in __vhypot() 123 px += stridex; in __vhypot() 212 hx1 = HI(px); in __vhypot() 247 x = *px; in __vhypot() 249 hx0 = HI(px); in __vhypot() 266 int lx = LO(px); in __vhypot() 355 x0 = *px; in __vhypot_n() 357 hx0 = HI(px); in __vhypot_n() [all …]
|
H A D | __vpowf.c | 412 px += stridex; \ 452 spx = px; in __vpowf() 558 px += stridex; in __vpowf() 589 ax0 = ((int*)px)[0]; in __vpowf_n() 590 px += stridex; in __vpowf_n() 591 ax1 = ((int*)px)[0]; in __vpowf_n() 592 px += stridex; in __vpowf_n() 593 ax2 = ((int*)px)[0]; in __vpowf_n() 594 px += stridex; in __vpowf_n() 666 ax0 = ((int*)px)[0]; in __vpowf_n() [all …]
|
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecl_mult.c | 78 if ((px == NULL) || (py == NULL)) { in ECPoint_mul() 88 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth)); in ECPoint_mul() 121 && ((k2 == NULL) || (px == NULL) in ec_pts_mul_basic() 126 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_basic() 137 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry)); in ec_pts_mul_basic() 179 && ((k2 == NULL) || (px == NULL) in ec_pts_mul_simul_w2() 184 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_simul_w2() 212 field_enc(px, &precomp[1][0][0], group->meth)); in ec_pts_mul_simul_w2() 216 MP_CHECKOK(mp_copy(px, &precomp[1][0][0])); in ec_pts_mul_simul_w2() 228 field_enc(px, &precomp[0][1][0], group->meth)); in ec_pts_mul_simul_w2() [all …]
|
H A D | ecp_jm.c | 62 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz, in ec_GFp_pt_dbl_jm() argument 79 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { in ec_GFp_pt_dbl_jm() 87 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth)); in ec_GFp_pt_dbl_jm() 103 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth)); in ec_GFp_pt_dbl_jm() 132 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, in ec_GFp_pt_add_jm_aff() argument 153 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { in ec_GFp_pt_add_jm_aff() 162 MP_CHECKOK(mp_copy(px, rx)); in ec_GFp_pt_add_jm_aff() 176 MP_CHECKOK(group->meth->field_sub(A, px, C, group->meth)); in ec_GFp_pt_add_jm_aff() 187 MP_CHECKOK(group->meth->field_mul(px, C2, C, group->meth)); in ec_GFp_pt_add_jm_aff() 245 ARGCHK((n != NULL) && (px != NULL) && (py != NULL), MP_BADARG); in ec_GFp_pt_mul_jm_wNAF() [all …]
|
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | mul.c | 32 _fp_mul(pfpsd, px, py, pz) in _fp_mul() argument 34 unpacked *px, *py, *pz; 41 if ((int) px->fpclass <= (int) py->fpclass) { 42 pt = px; 43 px = py; 48 *pz = *px; 50 pz->sign = px->sign ^ py->sign; 52 switch (px->fpclass) { 72 x = px->significand; /* save typing */ 169 pz->exponent = px->exponent + py->exponent + 1; [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | ldexp.c | 37 int *px = (int *) &x, ix = px[HIWORD] & ~0x80000000; in ldexp() local 39 if (ix >= 0x7ff00000 || (px[LOWORD] | ix) == 0) in ldexp() 47 ix = px[HIWORD] & ~0x80000000; in ldexp() 52 if (ix >= 0x7ff00000 || (px[LOWORD] | ix) == 0) in ldexp()
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | logb.c | 64 int *px = (int *) &x, k = px[HIWORD] & ~0x80000000; in logb() local 67 if ((px[LOWORD] | k) == 0) in logb() 72 return ((double) (((px[HIWORD] & 0x7ff00000) >> 20) in logb() 75 return ((double) ilogb_subnormal(k, px[LOWORD])); in logb()
|
H A D | ilogb.c | 75 int *px = (int *) &x, k = px[HIWORD] & ~0x80000000; in ilogb() local 78 if ((px[LOWORD] | k) == 0) in ilogb() 83 return (((px[HIWORD] & 0x7ff00000) >> 20) - 1075); in ilogb() 85 return (ilogb_subnormal(k, px[LOWORD])); in ilogb()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wsyncdown.c | 51 int wy, px, py, endy; in wsyncdown() local 55 px = win->_parx; in wsyncdown() 70 if ((bch = *pbch - px) < 0) in wsyncdown() 72 if ((ech = *pech - px) > endx) in wsyncdown() 86 px += par->_parx; in wsyncdown()
|
H A D | wsyncup.c | 51 int wy, px, py, endy; in wsyncup() local 56 px = win->_parx; in wsyncup() 74 bch = px + *wbch; in wsyncup() 75 ech = px + *wech; in wsyncup()
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | mvwin.c | 94 mvderwin(w, py, px) in mvderwin() argument 96 int py, px; 102 __m_trace("mvderwin(%p, %d, %d)", w, py, px); 112 px += parent->_begx; 114 code = mvwin(w, py, px);
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vsqrtf_ultra3.S | 73 ! x0 = *px; 74 ! ax = *(int*)px; 75 ! px += stridex; 155 lda [%i1]0x82,%f25 ! (2_0) x0 = *px; 171 add %o7,stridex,%i1 ! px += stridex 195 add %i1,stridex,%i1 ! px += stridex 201 lda [%i1]0x82,%f13 ! (4_0) x0 = *px; 233 add %i1,stridex,%o4 ! px += stridex 264 add %o4,stridex,%i1 ! px += stridex 302 add %i1,stridex,%o7 ! px += stridex [all …]
|
H A D | __vrsqrt.S | 89 ! ((float*)&res)[0] = ((float*)px)[0]; 90 ! ((float*)&res)[1] = ((float*)px)[1]; 91 ! hx = *(int*)px; 97 ! px += stridex; 104 ! lx = ((int*)px)[1]; 111 ! px += stridex; 135 ! px += stridex; 234 add %i1,stridex,%l6 ! px += stridex 267 add %l6,stridex,%l6 ! px += stridex 301 add %l6,stridex,%l6 ! px += stridex [all …]
|
H A D | __vsqrt.S | 608 ! hx = *(int*)px; 609 ! px += stridex; 729 add %l2,stridex,%l2 ! px += stridex 757 add %l2,stridex,%l2 ! px += stridex 797 add %l2,stridex,%l2 ! px += stridex 841 add %l2,stridex,%l2 ! px += stridex 886 add %l2,stridex,%l2 ! px += stridex 934 add %l2,stridex,%l2 ! px += stridex 993 add %l2,stridex,%l2 ! px += stridex 1058 add %l2,stridex,%l2 ! px += stridex [all …]
|