| /netbsd-src/external/mit/isl/dist/ |
| H A D | isl_range.c | 16 isl_qpolynomial *poly; member 22 __isl_take isl_qpolynomial *poly, struct range_data *data); 30 __isl_keep isl_qpolynomial *poly, int sign, int *signs) in has_sign() argument 44 poly = isl_qpolynomial_copy(poly); in has_sign() 48 poly = isl_qpolynomial_move_dims(poly, isl_dim_in, 0, in has_sign() 51 space = isl_qpolynomial_get_space(poly); in has_sign() 64 if (propagate_on_domain(bset, poly, &data_m) < 0) in has_sign() 97 __isl_keep isl_qpolynomial *poly, struct range_data *data) in monotonicity() argument 111 ctx = isl_qpolynomial_get_ctx(poly); in monotonicity() 112 space = isl_qpolynomial_get_domain_space(poly); in monotonicity() [all …]
|
| H A D | isl_polynomial.c | 51 isl_bool isl_poly_is_cst(__isl_keep isl_poly *poly) in isl_poly_is_cst() argument 53 if (!poly) in isl_poly_is_cst() 56 return isl_bool_ok(poly->var < 0); in isl_poly_is_cst() 59 __isl_keep isl_poly_cst *isl_poly_as_cst(__isl_keep isl_poly *poly) in isl_poly_as_cst() argument 61 if (!poly) in isl_poly_as_cst() 64 isl_assert(poly->ctx, poly->var < 0, return NULL); in isl_poly_as_cst() 66 return (isl_poly_cst *) poly; in isl_poly_as_cst() 69 __isl_keep isl_poly_rec *isl_poly_as_rec(__isl_keep isl_poly *poly) in isl_poly_as_rec() argument 71 if (!poly) in isl_poly_as_rec() 74 isl_assert(poly->ctx, poly->var >= 0, return NULL); in isl_poly_as_rec() [all …]
|
| H A D | isl_bernstein.c | 30 isl_qpolynomial *poly; member 159 static isl_stat extract_coefficients(isl_qpolynomial *poly, in extract_coefficients() argument 171 n = isl_qpolynomial_dim(poly, isl_dim_in); in extract_coefficients() 175 ctx = isl_qpolynomial_get_ctx(poly); in extract_coefficients() 176 d = isl_qpolynomial_degree(poly); in extract_coefficients() 190 c[0] = isl_qpolynomial_coeff(poly, isl_dim_in, n - 1, k[0]); in extract_coefficients() 273 isl_qpolynomial *poly = data->poly; in bernstein_coefficients_cell() local 282 n_in = isl_qpolynomial_dim(poly, isl_dim_in); in bernstein_coefficients_cell() 289 ctx = isl_qpolynomial_get_ctx(poly); in bernstein_coefficients_cell() 299 space_dst = isl_qpolynomial_get_domain_space(poly); in bernstein_coefficients_cell() [all …]
|
| H A D | isl_bound.c | 25 __isl_take isl_basic_set *bset, __isl_take isl_qpolynomial *poly, in isl_qpolynomial_cst_bound() argument 32 fold = isl_qpolynomial_fold_alloc(type, poly); in isl_qpolynomial_cst_bound() 66 __isl_take isl_qpolynomial *poly, struct isl_bound *bound) in add_constant_poly() argument 70 pwf = isl_qpolynomial_cst_bound(bset, poly, bound->type, NULL); in add_constant_poly() 86 __isl_take isl_qpolynomial *poly, void *user) in compressed_guarded_poly_bound() argument 93 if (!bset || !poly) in compressed_guarded_poly_bound() 96 degree = isl_qpolynomial_degree(poly); in compressed_guarded_poly_bound() 100 return add_constant_poly(bset, poly, bound); in compressed_guarded_poly_bound() 104 return isl_qpolynomial_bound_on_domain_range(bset, poly, bound); in compressed_guarded_poly_bound() 110 return isl_qpolynomial_bound_on_domain_bernstein(bset, poly, bound); in compressed_guarded_poly_bound() [all …]
|
| H A D | isl_polynomial_private.h | 20 struct isl_poly poly; member 27 struct isl_poly poly; member 42 isl_poly *poly; member 129 __isl_give isl_poly *isl_poly_copy(__isl_keep isl_poly *poly); 130 __isl_give isl_poly *isl_poly_cow(__isl_take isl_poly *poly); 131 __isl_give isl_poly *isl_poly_dup(__isl_keep isl_poly *poly); 132 __isl_null isl_poly *isl_poly_free(__isl_take isl_poly *poly); 136 isl_bool isl_poly_is_cst(__isl_keep isl_poly *poly); 137 isl_bool isl_poly_is_zero(__isl_keep isl_poly *poly); 138 isl_bool isl_poly_is_one(__isl_keep isl_poly *poly); [all …]
|
| H A D | isl_range.h | 4 __isl_take isl_qpolynomial *poly, struct isl_bound *bound); 6 __isl_keep isl_qpolynomial *poly, int *signs, int sign);
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
| H A D | cipher_chacha20_poly1305_hw.c | 123 POLY1305 *poly = &ctx->poly1305; in chacha20_poly1305_tls_cipher() local 138 Poly1305_Init(poly, buf); in chacha20_poly1305_tls_cipher() 163 Poly1305_Init(poly, buf); in chacha20_poly1305_tls_cipher() 195 Poly1305_Init(poly, buf); in chacha20_poly1305_tls_cipher() 198 Poly1305_Update(poly, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 206 Poly1305_Update(poly, out, plen); in chacha20_poly1305_tls_cipher() 208 Poly1305_Update(poly, in, plen); in chacha20_poly1305_tls_cipher() 215 Poly1305_Update(poly, zero, tail); in chacha20_poly1305_tls_cipher() 241 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher() 243 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash); in chacha20_poly1305_tls_cipher() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/ |
| H A D | aarch64-simd-builtin-types.def | 37 ENTRY (Poly8_t, QI, poly, 9) 38 ENTRY (Poly16_t, HI, poly, 10) 39 ENTRY (Poly64_t, DI, poly, 10) 40 ENTRY (Poly128_t, TI, poly, 11) 41 ENTRY (Poly8x8_t, V8QI, poly, 11) 42 ENTRY (Poly8x16_t, V16QI, poly, 12) 43 ENTRY (Poly16x4_t, V4HI, poly, 12) 44 ENTRY (Poly16x8_t, V8HI, poly, 12) 45 ENTRY (Poly64x1_t, DI, poly, 12) 46 ENTRY (Poly64x2_t, V2DI, poly, 12)
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/ |
| H A D | aarch64-simd-builtin-types.def | 37 ENTRY (Poly8_t, QI, poly, 9) 38 ENTRY (Poly16_t, HI, poly, 10) 39 ENTRY (Poly64_t, DI, poly, 10) 40 ENTRY (Poly128_t, TI, poly, 11) 41 ENTRY (Poly8x8_t, V8QI, poly, 11) 42 ENTRY (Poly8x16_t, V16QI, poly, 12) 43 ENTRY (Poly16x4_t, V4HI, poly, 12) 44 ENTRY (Poly16x8_t, V8HI, poly, 12) 45 ENTRY (Poly64x1_t, DI, poly, 12) 46 ENTRY (Poly64x2_t, V2DI, poly, 12)
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| H A D | ec2_smpl.c | 57 group->poly[0] = 0; in ec_GF2m_simple_group_clear_finish() 58 group->poly[1] = 0; in ec_GF2m_simple_group_clear_finish() 59 group->poly[2] = 0; in ec_GF2m_simple_group_clear_finish() 60 group->poly[3] = 0; in ec_GF2m_simple_group_clear_finish() 61 group->poly[4] = 0; in ec_GF2m_simple_group_clear_finish() 62 group->poly[5] = -1; in ec_GF2m_simple_group_clear_finish() 77 dest->poly[0] = src->poly[0]; in ec_GF2m_simple_group_copy() 78 dest->poly[1] = src->poly[1]; in ec_GF2m_simple_group_copy() 79 dest->poly[2] = src->poly[2]; in ec_GF2m_simple_group_copy() 80 dest->poly[3] = src->poly[3]; in ec_GF2m_simple_group_copy() [all …]
|
| H A D | ec_asn1.c | 28 i < (int)OSSL_NELEM(group->poly) && group->poly[i] != 0; in EC_GROUP_get_basis_type() 49 || !((group->poly[0] != 0) && (group->poly[1] != 0) in EC_GROUP_get_trinomial_basis() 50 && (group->poly[2] == 0))) { in EC_GROUP_get_trinomial_basis() 57 *k = group->poly[1]; in EC_GROUP_get_trinomial_basis() 70 || !((group->poly[0] != 0) && (group->poly[1] != 0) in EC_GROUP_get_pentanomial_basis() 71 && (group->poly[2] != 0) && (group->poly[3] != 0) in EC_GROUP_get_pentanomial_basis() 72 && (group->poly[4] == 0))) { in EC_GROUP_get_pentanomial_basis() 79 *k1 = group->poly[3]; in EC_GROUP_get_pentanomial_basis() 81 *k2 = group->poly[2]; in EC_GROUP_get_pentanomial_basis() 83 *k3 = group->poly[1]; in EC_GROUP_get_pentanomial_basis()
|
| H A D | ec2_oct.c | 61 if (!BN_GF2m_mod_arr(x, x_, group->poly)) in ec_GF2m_simple_set_compressed_coordinates() 64 if (!BN_GF2m_mod_sqrt_arr(y, group->b, group->poly, ctx)) in ec_GF2m_simple_set_compressed_coordinates() 75 if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx)) { in ec_GF2m_simple_set_compressed_coordinates()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| H A D | ec2_smpl.c | 63 group->poly[0] = 0; in ossl_ec_GF2m_simple_group_clear_finish() 64 group->poly[1] = 0; in ossl_ec_GF2m_simple_group_clear_finish() 65 group->poly[2] = 0; in ossl_ec_GF2m_simple_group_clear_finish() 66 group->poly[3] = 0; in ossl_ec_GF2m_simple_group_clear_finish() 67 group->poly[4] = 0; in ossl_ec_GF2m_simple_group_clear_finish() 68 group->poly[5] = -1; in ossl_ec_GF2m_simple_group_clear_finish() 83 dest->poly[0] = src->poly[0]; in ossl_ec_GF2m_simple_group_copy() 84 dest->poly[1] = src->poly[1]; in ossl_ec_GF2m_simple_group_copy() 85 dest->poly[2] = src->poly[2]; in ossl_ec_GF2m_simple_group_copy() 86 dest->poly[3] = src->poly[3]; in ossl_ec_GF2m_simple_group_copy() [all …]
|
| H A D | ec_lib.c | 1332 i < (int)OSSL_NELEM(group->poly) && group->poly[i] != 0; in EC_GROUP_get_basis_type() 1352 || !((group->poly[0] != 0) && (group->poly[1] != 0) in EC_GROUP_get_trinomial_basis() 1353 && (group->poly[2] == 0))) { in EC_GROUP_get_trinomial_basis() 1359 *k = group->poly[1]; in EC_GROUP_get_trinomial_basis() 1371 || !((group->poly[0] != 0) && (group->poly[1] != 0) in EC_GROUP_get_pentanomial_basis() 1372 && (group->poly[2] != 0) && (group->poly[3] != 0) in EC_GROUP_get_pentanomial_basis() 1373 && (group->poly[4] == 0))) { in EC_GROUP_get_pentanomial_basis() 1379 *k1 = group->poly[3]; in EC_GROUP_get_pentanomial_basis() 1381 *k2 = group->poly[2]; in EC_GROUP_get_pentanomial_basis() 1383 *k3 = group->poly[1]; in EC_GROUP_get_pentanomial_basis()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | ChangeLog.graphite | 57 * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. 66 * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN 75 * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. 92 * graphite-sese-to-poly.c (build_poly_scop): Move 240 * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow 249 * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs 262 * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE 278 * graphite-sese-to-poly.c 353 * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. 524 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| H A D | crc.c | 46 unsigned long crc, poly; in _krb5_crc_init_table() local 50 poly = CRC_GEN; in _krb5_crc_init_table() 55 crc = (crc >> 1) ^ poly; in _krb5_crc_init_table()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/ |
| H A D | arm-simd-builtin-types.def | 39 ENTRY (Poly8x8_t, V8QI, poly, 64, poly8, 16) 40 ENTRY (Poly16x4_t, V4HI, poly, 64, poly16, 17) 42 ENTRY (Poly8x16_t, V16QI, poly, 128, poly8, 17) 43 ENTRY (Poly16x8_t, V8HI, poly, 128, poly16, 18)
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/arm/ |
| H A D | arm-simd-builtin-types.def | 39 ENTRY (Poly8x8_t, V8QI, poly, 64, poly8, 16) 40 ENTRY (Poly16x4_t, V4HI, poly, 64, poly16, 17) 42 ENTRY (Poly8x16_t, V16QI, poly, 128, poly8, 17) 43 ENTRY (Poly16x8_t, V8HI, poly, 128, poly16, 18)
|
| /netbsd-src/sys/dev/raidframe/ |
| H A D | rf_geniq.c | 47 lsfr_shift(unsigned val, unsigned poly) in lsfr_shift() argument 54 new = (poly & 1) ? high : 0; in lsfr_shift() 58 if (poly & (1 << i)) /* there is a feedback connection */ in lsfr_shift()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/math/ |
| H A D | exponential.d | 1007 import std.math.algebraic : poly; in expImpl() 1125 x = poly(x, P) * xx + x + 1.0f; in expImpl() 1132 const T px = x * poly(xx, P); in expImpl() 1133 x = px / (poly(xx, Q) - px); in expImpl() 1521 import std.math.algebraic : poly; in expm1Impl() 1600 x = x * poly(xx, P); in expm1Impl() 1601 x = x / (poly(xx, Q) - x); in expm1Impl() 1625 T px = x * poly(x, P); in expm1Impl() 1626 T qx = poly(x, Q); in expm1Impl() 1914 import std.math.algebraic : poly; in exp2Impl() [all …]
|
| H A D | trigonometry.d | 313 import std.math.algebraic : poly; in tanImpl() 434 y = z + z * (zz * poly(zz, P)); in tanImpl() 436 y = z + z * (zz * poly(zz, P) / poly(zz, Q)); in tanImpl() 681 import std.math.algebraic : poly; in atanImpl() 801 z = z * poly(z, P) / poly(z, Q); in atanImpl() 829 y += poly(z, P) * z * x + x; in atanImpl() 831 y = y + (poly(z, P) / poly(z, Q)) * z * x + x; in atanImpl()
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/zmod/ |
| H A D | crc32.c | 115 unsigned long poly; /* polynomial exclusive-or pattern */ in make_crc_table() local 127 poly = 0UL; in make_crc_table() 129 poly |= 1UL << (31 - p[n]); in make_crc_table() 135 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/math/ |
| H A D | gammafunction.d | 108 w = poly(w, LargeStirlingCoeffs); in gammaStirling() 115 w = 1.0L + w * poly( w, SmallStirlingCoeffs); in gammaStirling() 236 workspace[i] = poly(z, coef[i]); in igammaTemmeLarge() 238 real result = poly(1 / a, workspace); in igammaTemmeLarge() 365 return z / (x * poly( x, GammaSmallNegCoeffs )); in gamma() 369 return z / (x * poly( x, GammaSmallCoeffs )); in gamma() 382 return z * poly( x, GammaNumeratorCoeffs ) / poly( x, GammaDenominatorCoeffs ); in gamma() 500 q = z / (x * poly( x, GammaSmallNegCoeffs)); in logGamma() 502 q = z / (x * poly( x, GammaSmallCoeffs)); in logGamma() 525 q += poly( p, logGammaStirlingCoeffs ) / x; in logGamma() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/math/ |
| H A D | gammafunction.d | 109 w = poly(w, LargeStirlingCoeffs); in gammaStirling() 116 w = 1.0L + w * poly( w, SmallStirlingCoeffs); in gammaStirling() 237 workspace[i] = poly(z, coef[i]); in igammaTemmeLarge() 239 real result = poly(1 / a, workspace); in igammaTemmeLarge() 368 return z / (x * poly( x, GammaSmallNegCoeffs )); in gamma() 372 return z / (x * poly( x, GammaSmallCoeffs )); in gamma() 385 return z * poly( x, GammaNumeratorCoeffs ) / poly( x, GammaDenominatorCoeffs ); in gamma() 503 q = z / (x * poly( x, GammaSmallNegCoeffs)); in logGamma() 505 q = z / (x * poly( x, GammaSmallCoeffs)); in logGamma() 528 q += poly( p, logGammaStirlingCoeffs ) / x; in logGamma() [all …]
|
| /netbsd-src/external/bsd/nvi/dist/motif_l/ |
| H A D | xtabbed.c | 501 Widget,XPoint poly[12] 773 static void draw_border(Widget self,XPoint poly[12]) in draw_border() 775 static void draw_border(self,poly)Widget self;XPoint poly[12]; in draw_border() 782 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.topgc, poly, 6, CoordModeOrigin); 783 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.bottomgc, poly + 5, 4, CoordModeOrigin); 784 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.topgc, poly + 8, 2, CoordModeOrigin); 786 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.bottomgc, poly, 2, CoordModeOrigin); 787 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.topgc, poly + 1, 4, CoordModeOrigin); 788 XDrawLines(dpy, win, ((XmTabsWidget)self)->xmTabs.bottomgc, poly + 4, 6, CoordModeOrigin); 983 XPoint poly[12]; local [all …]
|