/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | hypotl.c | 70 int *px = (int *) &x, *py = (int *) &y; local 87 px[n0] &= 0x7fffffff; /* clear sign bit of x and y */ 90 nx = px[n0] & k; /* exponent of x and y */ 107 pt1[n0] = px[n0]; 108 pt1[n1] = px[n1]; 118 pt1[n0] = px[n0]; 119 pt1[n1] = px[n1]; 146 px[n0] -= j;
|
H A D | __cosl.c | 105 int *pt = (int *) &t, *px = (int *) &x; local 109 hx = px[i0];
|
H A D | __sinl.c | 106 int *pt = (int *) &t, *px = (int *) &x; local 110 hx = px[i0];
|
H A D | atanl.c | 114 int *px = (int *) &x, *py = (int *) &y; local 117 ix = px[i0]; 148 px[i0] = ix; 174 if (((ix - 0x7fff0000) | px[1] | px[2] | px[i1]) != 0) 186 px[i0] = ix;
|
H A D | logl.c | 109 int *px = (int *) &x; local 123 ix = px[i0]; 128 if (((ix - 0x3fff0000) | px[i1] | px[2] | px[1]) == 0) { 144 if ((i | px[i1] | px[2] | px[1]) == 0) { 145 px[i0] |= 0x80000000; 156 ix = px[i [all...] |
H A D | __sincosl.c | 96 int *pt = (int *) &t, *px = (int *) &x; local 100 hx = px[i0];
|
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecl.c | 422 mp_err ECPoint_validate(const ECGroup *group, const mp_int *px, const argument 433 return group->validate_point(px, py, group);
|
H A D | ecl_mult.c | 60 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, argument 80 if ((px == NULL) || (py == NULL)) { 90 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth)); 94 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); 114 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, argument 123 && ((k2 == NULL) || (px == NULL) 128 return ECPoint_mul(group, k2, px, py, rx, ry); 129 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { 139 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry)); 169 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, argument 319 ECPoints_mul(const ECGroup *group, const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument [all...] |
H A D | ec2_aff.c | 54 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */ 56 ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py) argument 59 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { 67 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */ 69 ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py) argument 71 mp_zero(px); 79 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 89 MP_CHECKOK(mp_init(&lambda, FLAG(px))); 90 MP_CHECKOK(mp_init(&tempx, FLAG(px))); 91 MP_CHECKOK(mp_init(&tempy, FLAG(px))); 161 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 181 ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 192 ec_GF2m_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 285 ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ec2_mont.c | 195 ec_GF2m_pt_mul_mont(const mp_int *n, const mp_int *px, const mp_int *py, argument 213 if ((mp_cmp_z(n) == 0) || (ec_GF2m_pt_is_inf_aff(px, py) == MP_YES)) { 218 MP_CHECKOK(mp_copy(px, &x1)); /* x1 = px */ 222 * px^2 */ 226 * px^4 254 MP_CHECKOK(gf2m_Madd(px, &x1, &z1, &x2, &z2, group, FLAG(n))); 257 MP_CHECKOK(gf2m_Madd(px, &x2, &z2, &x1, &z1, group, FLAG(n))); 267 i = gf2m_Mxy(px, py, &x1, &z1, &x2, &z2, group);
|
H A D | ecp_aff.c | 58 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */ 60 ec_GFp_pt_is_inf_aff(const mp_int *px, const mp_int *py) argument 63 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { 71 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */ 73 ec_GFp_pt_set_inf_aff(mp_int *px, mp_int *py) argument 75 mp_zero(px); 85 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 96 MP_CHECKOK(mp_init(&lambda, FLAG(px))); 97 MP_CHECKOK(mp_init(&temp, FLAG(px))); 98 MP_CHECKOK(mp_init(&tempx, FLAG(px))); 171 ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 192 ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 205 ec_GFp_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 298 ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ecp_jm.c | 64 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz, argument 81 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { 88 /* M = 3 (px^2) + a*(pz^4) */ 89 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth)); 104 /* S = 4 * px * py^2 = 2 * px * t0 */ 105 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth)); 128 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is 134 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, argument 155 if (ec_GFp_pt_is_inf_jac(px, p 224 ec_GFp_pt_mul_jm_wNAF(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | __cosl.c | 105 int *pt = (int *) &t, *px = (int *) &x; local 110 XTOI(px, hx); 112 hx = px[0];
|
H A D | __sinl.c | 106 int *pt = (int *) &t, *px = (int *) &x; local 111 XTOI(px, hx); 113 hx = px[0];
|
H A D | __tanl.c | 115 int *pt = (int *) &t, *px = (int *) &x; local 120 XTOI(px, hx); 122 hx = px[0];
|
H A D | __sincosl.c | 96 int *pt = (int *) &t, *px = (int *) &x; local 101 XTOI(px, hx); 103 hx = px[0];
|
/illumos-gate/usr/src/cmd/ast/msgcc/ |
H A D | msggen.c | 135 register Xl_t* px; local 155 for (px = xp; px; px = px->next) 156 if (streq(px->name, s)) 158 if (strcoll(px->date, d) < 0) 160 free(px->date); 161 if (!(px->date = strdup(d))) 166 if (!px) 224 Xl_t* px; local [all...] |
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | support.c | 101 unsigned short *px=(unsigned short *) &x + 3; local 103 unsigned short *px=(unsigned short *) &x; local 109 if( (k= *px & mexp ) != ~msign ) { 116 if( (k= *px & mexp ) != mexp ) { 123 if( k < (mexp>>gap) ) *px = (*px&~mexp) | (k<<gap); 128 {*px=(*px&~mexp)|(short)(1<<gap); x *= scalb(1.0,k-1);} 153 unsigned short *px=(unsigned short *) &x+3, local 156 unsigned short *px 187 short *px=(short *) &x+3, k; local [all...] |
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | pack.c | 117 int32_t *px) /* packed int32_t */ 121 *px = 0; 131 *px = pu->significand[3]; 133 *px = -*px; 140 *px = 0x80000000; 142 *px = 0x7fffffff; 153 int64_t *px) /* packed int64_t */ 162 *px = 0; 177 *px 114 packint32( fp_simd_type *pfpsd, unpacked *pu, int32_t *px) argument 150 packint64( fp_simd_type *pfpsd, unpacked *pu, int64_t *px) argument 196 packsingle( fp_simd_type *pfpsd, unpacked *pu, single_type *px) argument 270 packdouble( fp_simd_type *pfpsd, unpacked *pu, double_type *px, uint_t *py) argument 354 packextended( fp_simd_type *pfpsd, unpacked *pu, extended_type *px, uint_t *py, uint_t *pz, uint_t *pw) argument [all...] |
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vpow.S | 610 #define px %i1 define 662 ! hx = ((unsigned*)px)[0]; 663 ! lx = ((unsigned*)px)[1]; 670 ! y0 = *px; 774 ! *((int*)&x + 1) = ((unsigned*)px)[1]; 892 ! exp = ((unsigned*)px)[0]; 893 ! y0 = px[0]; 949 ! hx = ((unsigned*)px)[0]; 950 ! lx = ((unsigned*)px)[1]; 972 ! *pz = *px [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | double_decim.c | 337 _unpacked_to_decimal(unpacked *px, decimal_mode *pm, decimal_record *pd, argument 348 pd->sign = px->sign; 349 pd->fpclass = px->fpclass; 350 if ((px->fpclass != fp_normal) && (px->fpclass != fp_subnormal)) 361 ix = *px; 642 double_to_decimal(double *px, decimal_mode *pm, decimal_record *pd, argument 649 kluge.x = *px; 651 pd->fpclass = _class_double(px); 668 quadruple_to_decimal(quadruple *px, decimal_mod argument [all...] |
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | __x_power.c | 158 __multiply_base_two_vector(unsigned short n, unsigned short *px, argument 169 p = px[i] * py[n - 1 - i] + acc; 191 __multiply_base_ten_vector(unsigned short n, unsigned short *px, argument 202 acc = px[i] * py[n - 1 - i] + acc;
|
H A D | decimal_bin.c | 142 * Convert the decimal_record *pd to an unpacked datum *px accurately 143 * enough that *px can be rounded correctly to sigbits significant bits. 147 __decimal_to_unpacked(unpacked *px, decimal_record *pd, int sigbits) argument 154 px->sign = pd->sign; 155 px->fpclass = pd->fpclass; 167 px->fpclass = fp_zero; 241 px->significand[ix++] = (pbb->bsignificand[i] << 16) | 247 px->significand[ix++] = pbb->bsignificand[i] << 16; 249 px->significand[ix++] = 0; 255 px 334 __fast_decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 433 __fast_decimal_to_double(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 495 decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 570 decimal_to_double(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 649 decimal_to_extended(extended *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 736 decimal_to_quadruple(quadruple *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument [all...] |
H A D | double_decim.c | 450 __double_to_bigfloat(double *px, _big_float *pf) argument 454 x = (double_equivalence *)px; 476 __extended_to_bigfloat(extended *px, _big_float *pf) argument 480 x = (extended_equivalence *)px; 500 __quadruple_to_bigfloat(quadruple *px, _big_float *pf) argument 504 x = (quadruple_equivalence *)px; 529 single_to_decimal(single *px, decimal_mode *pm, decimal_record *pd, argument 537 kluge = (single_equivalence *)px; 554 * converting *px to double can flush a sub- 558 i = *(int *)px; 601 double_to_decimal(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 646 extended_to_decimal(extended *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 702 quadruple_to_decimal(quadruple *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument [all...] |
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | pow.c | 95 int *px = (int *) &x; local 100 ix = px[HIWORD]; 104 if (((ix - 0x3ff00000) | px[LOWORD]) == 0) { 125 ix = px[HIWORD]; 130 px[HIWORD] = ix;
|