Home
last modified time | relevance | path

Searched refs:y2 (Results 1 – 25 of 68) sorted by relevance

123

/freebsd/stand/ficl/
H A Dgfx_loader.c66 uint32_t x1, y1, x2, y2, f; in ficl_term_putimage() local
75 y2 = stackPopINT(pVM->pStack); in ficl_term_putimage()
87 if (y2 != 0) { in ficl_term_putimage()
88 y2 = gfx_state.tg_origin.tp_row + in ficl_term_putimage()
89 y2 * gfx_state.tg_font.vf_height; in ficl_term_putimage()
102 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in ficl_term_putimage()
117 uint32_t x1, y1, x2, y2, f; in ficl_fb_putimage() local
126 y2 = stackPopINT(pVM->pStack); in ficl_fb_putimage()
142 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in ficl_fb_putimage()
184 FICL_UNS x0, y0, x1, y1, x2, y2, width; in ficl_fb_bezier() local
[all …]
/freebsd/stand/liblua/
H A Dgfx_utils.c50 uint32_t x1, y1, x2, y2, f; in lua_term_putimage() local
63 y2 = luaL_checknumber(L, 5); in lua_term_putimage()
72 if (y2 != 0) { in lua_term_putimage()
73 y2 = gfx_state.tg_origin.tp_row + in lua_term_putimage()
74 y2 * gfx_state.tg_font.vf_height; in lua_term_putimage()
81 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in lua_term_putimage()
94 uint32_t x1, y1, x2, y2, f; in lua_fb_putimage() local
107 y2 = luaL_checknumber(L, 5); in lua_fb_putimage()
114 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in lua_fb_putimage()
164 uint32_t x0, y0, x1, y1, x2, y2, width; in lua_fb_bezier() local
[all …]
/freebsd/contrib/bearssl/src/hash/
H A Dghash_ctmul64.c36 uint64_t y0, y1, y2, y3; in bmul64() local
45 y2 = y & (uint64_t)0x4444444444444444; in bmul64()
47 z0 = (x0 * y0) ^ (x1 * y3) ^ (x2 * y2) ^ (x3 * y1); in bmul64()
48 z1 = (x0 * y1) ^ (x1 * y0) ^ (x2 * y3) ^ (x3 * y2); in bmul64()
49 z2 = (x0 * y2) ^ (x1 * y1) ^ (x2 * y0) ^ (x3 * y3); in bmul64()
50 z3 = (x0 * y3) ^ (x1 * y2) ^ (x2 * y1) ^ (x3 * y0); in bmul64()
99 uint64_t y0r, y1r, y2, y2r; in br_ghash_ctmul64() local
118 y2 = y0 ^ y1; in br_ghash_ctmul64()
123 z2 = bmul64(y2, h2); in br_ghash_ctmul64()
H A Dghash_ctmul.c74 uint32_t y0, y1, y2, y3; in bmul() local
84 y2 = y & (uint32_t)0x44444444; in bmul()
99 b3 = y2 >> 2; in bmul()
168 uint32_t y0, y1, y2, y3; in bmul() local
178 y2 = y & (uint32_t)0x44444444; in bmul()
180 z0 = MUL(x0, y0) ^ MUL(x1, y3) ^ MUL(x2, y2) ^ MUL(x3, y1); in bmul()
181 z1 = MUL(x0, y1) ^ MUL(x1, y0) ^ MUL(x2, y3) ^ MUL(x3, y2); in bmul()
182 z2 = MUL(x0, y2) ^ MUL(x1, y1) ^ MUL(x2, y0) ^ MUL(x3, y3); in bmul()
183 z3 = MUL(x0, y3) ^ MUL(x1, y2) ^ MUL(x2, y1) ^ MUL(x3, y0); in bmul()
H A Dghash_ctmul32.c52 uint32_t y0, y1, y2, y3; in bmul32() local
61 y2 = y & (uint32_t)0x44444444; in bmul32()
63 z0 = (x0 * y0) ^ (x1 * y3) ^ (x2 * y2) ^ (x3 * y1); in bmul32()
64 z1 = (x0 * y1) ^ (x1 * y0) ^ (x2 * y3) ^ (x3 * y2); in bmul32()
65 z2 = (x0 * y2) ^ (x1 * y1) ^ (x2 * y0) ^ (x3 * y3); in bmul32()
66 z3 = (x0 * y3) ^ (x1 * y2) ^ (x2 * y1) ^ (x3 * y0); in bmul32()
/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/
H A Dsv_math.h64 svfloat64_t y2 = sv_f64 (elem); in sv_call_f64() local
65 y = svsel (p, y2, y); in sv_call_f64()
81 svfloat64_t y2 = sv_f64 (ret); in sv_call2_f64() local
82 y = svsel (p, y2, y); in sv_call2_f64()
122 svfloat32_t y2 = sv_f32 (elem); in sv_call_f32() local
123 y = svsel (p, y2, y); in sv_call_f32()
139 svfloat32_t y2 = sv_f32 (ret); in sv_call2_f32() local
140 y = svsel (p, y2, y); in sv_call2_f32()
/freebsd/tools/tools/indent_wrapper/
H A Dindent_wrapper.c380 uint64_t y2 = 0; in main() local
434 y2 = 0; in main()
468 p2->data[y2++] = ch; in main()
469 if (y2 == BLOCK_SIZE) { in main()
472 y2 = 0; in main()
489 p2->data[y2++] = ch; in main()
490 if (y2 == BLOCK_SIZE) { in main()
493 y2 = 0; in main()
523 p2->length = y2; in main()
675 y2 = 0; in main()
[all …]
/freebsd/lib/msun/src/
H A De_log10.c40 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y,y2; in log10() local
72 y2 = y*log10_2hi; in log10()
81 w = y2 + val_hi; in log10()
82 val_lo += (y2 - w) + val_hi; in log10()
H A De_hypotf.c22 float a,b,t1,t2,y1,y2,w; in hypotf() local
71 y2 = b - y1; in hypotf()
74 w = sqrtf(t1*y1-(w*(-w)-(t1*y2+t2*b))); in hypotf()
H A De_hypot.c53 double a,b,t1,t2,y1,y2,w; in hypot() local
110 y2 = b - y1; in hypot()
114 w = sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b))); in hypot()
/freebsd/crypto/openssl/crypto/sm2/
H A Dsm2_crypt.c132 BIGNUM *y2 = NULL; in ossl_sm2_encrypt()
177 y2 = BN_CTX_get(ctx); in ossl_sm2_encrypt()
179 if (y2 == NULL) { in ossl_sm2_encrypt()
209 || !EC_POINT_get_affine_coordinates(group, kP, x2, y2, ctx)) { in ossl_sm2_encrypt()
215 || BN_bn2binpad(y2, x2y2 + field_size, field_size) < 0) { in ossl_sm2_encrypt()
300 BIGNUM *y2 = NULL; in ossl_sm2_decrypt()
346 y2 = BN_CTX_get(ctx); in ossl_sm2_decrypt()
348 if (y2 == NULL) { in ossl_sm2_decrypt()
372 || !EC_POINT_get_affine_coordinates(group, C1, x2, y2, ctx)) { in ossl_sm2_decrypt()
378 || BN_bn2binpad(y2, x2y in ossl_sm2_decrypt()
120 BIGNUM *y2 = NULL; ossl_sm2_encrypt() local
282 BIGNUM *y2 = NULL; ossl_sm2_decrypt() local
[all...]
/freebsd/sys/powerpc/fpu/
H A Dfpu_sqrt.c192 u_int y0, y1, y2, y3; in fpu_sqrt() local
341 y2 = 0; in fpu_sqrt()
356 t2 = y2 | bit; in fpu_sqrt()
363 y2 |= bit << 1; in fpu_sqrt()
371 #define t2 y2 in fpu_sqrt()
385 y2 |= 1; in fpu_sqrt()
H A Dfpu_div.c155 u_int r0, r1, r2, r3, d0, d1, d2, d3, y0, y1, y2, y3; in fpu_div() local
226 FPU_SUBS(d3, r3, y3); FPU_SUBCS(d2, r2, y2); \ in fpu_div()
265 y2 = y->fp_mant[2]; in fpu_div()
/freebsd/contrib/bearssl/src/symcipher/
H A Ddes_ct.c206 uint32_t y0, y1, y2, y3, y4, y5, y6, y7, y8, y9; in Fconf() local
245 y2 = (uint32_t)0x37396665 ^ (x0 & (uint32_t)0x40EFA809); in Fconf()
277 y1 = y2 ^ (x1 & y3); in Fconf()
278 y2 = y4 ^ (x1 & y5); in Fconf()
294 y1 = y2 ^ (x2 & y3); in Fconf()
295 y2 = y4 ^ (x2 & y5); in Fconf()
303 y1 = y2 ^ (x3 & y3); in Fconf()
304 y2 = y4 ^ (x3 & y5); in Fconf()
308 y1 = y2 ^ (x4 & y3); in Fconf()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/
H A Du8.h2 __m256i y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13, y14, variable
185 y2 = z10;
186 y2 = _mm256_add_epi32(y2, z14);
187 r2 = y2;
188 y2 = _mm256_slli_epi32(y2, 9);
189 z2 = _mm256_xor_si256(z2, y2);
249 y2 = z0;
250 y2 = _mm256_add_epi32(y2, z1);
251 r2 = y2;
252 y2 = _mm256_slli_epi32(y2, 9);
[all …]
H A Du4.h2 __m128i y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13, y14, variable
185 y2 = z10;
186 y2 = _mm_add_epi32(y2, z14);
187 r2 = y2;
188 y2 = _mm_slli_epi32(y2, 9);
189 z2 = _mm_xor_si128(z2, y2);
249 y2 = z0;
250 y2 = _mm_add_epi32(y2, z1);
251 r2 = y2;
252 y2 = _mm_slli_epi32(y2, 9);
[all …]
/freebsd/contrib/bearssl/src/ssl/
H A Dssl_lru.c197 uint32_t y1, y2; in find_replacement_node() local
201 y2 = x + TREE_LEFT_OFF; in find_replacement_node()
207 *al = y2; in find_replacement_node()
210 y2 = y1 + TREE_RIGHT_OFF; in find_replacement_node()
216 y2 = x + TREE_RIGHT_OFF; in find_replacement_node()
222 *al = y2; in find_replacement_node()
225 y2 = y1 + TREE_LEFT_OFF; in find_replacement_node()
/freebsd/crypto/libecc/src/curves/
H A Daff_pt.c102 int aff_pt_y_from_x(fp_t y1, fp_t y2, fp_src_t x, ec_shortw_crv_src_t curve) in aff_pt_y_from_x() argument
106 MUST_HAVE((y1 != NULL) && (y2 != NULL), ret, err); in aff_pt_y_from_x()
110 MUST_HAVE((y1 != y2) && (y1 != x), ret, err); in aff_pt_y_from_x()
115 ret = fp_copy(y2, x); EG(ret, err); in aff_pt_y_from_x()
120 ret = fp_mul(y2, y2, &(curve->a)); EG(ret, err); in aff_pt_y_from_x()
121 ret = fp_add(y1, y1, y2); EG(ret, err); in aff_pt_y_from_x()
127 ret = fp_sqrt(y1, y2, y1); in aff_pt_y_from_x()
H A Daff_pt_edwards.c108 fp x2, y2, tmp1, tmp2; in is_on_edwards_curve() local
110 x2.magic = y2.magic = tmp1.magic = tmp2.magic = WORD(0); in is_on_edwards_curve()
123 ret = fp_init(&y2, x->ctx); EG(ret, err); in is_on_edwards_curve()
124 ret = fp_sqr(&y2, y); EG(ret, err); in is_on_edwards_curve()
129 ret = fp_mul(&tmp1, &x2, &y2); EG(ret, err); in is_on_edwards_curve()
134 ret = fp_add(&tmp2, &tmp2, &y2); EG(ret, err); in is_on_edwards_curve()
144 fp_uninit(&y2); in is_on_edwards_curve()
766 int aff_pt_edwards_y_from_x(fp_t y1, fp_t y2, fp_src_t x, ec_edwards_crv_src_t crv) in aff_pt_edwards_y_from_x() argument
776 MUST_HAVE((y1 != NULL) && (y2 != NULL), ret, err); in aff_pt_edwards_y_from_x()
778 MUST_HAVE((y1 != y2) && (y1 != x), ret, err); in aff_pt_edwards_y_from_x()
[all …]
/freebsd/lib/libvgl/
H A Dsimple.c185 VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color) in VGLLine() argument
191 dy = SL_ABSOLUTE(y2, y1, sign_y); in VGLLine()
200 SL_SWAP(x2, y2); in VGLLine()
208 y = y2; in VGLLine()
215 y1 = y2; in VGLLine()
369 VGLBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color) in VGLBox() argument
372 VGLLine(object, x2, y1, x2, y2, color); in VGLBox()
373 VGLLine(object, x2, y2, x1, y2, color); in VGLBox()
374 VGLLine(object, x1, y2, x1, y1, color); in VGLBox()
378 VGLFilledBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color) in VGLFilledBox() argument
[all …]
/freebsd/usr.bin/calendar/
H A Ddates.c173 int y2, m2, d2; in generatedates() local
179 y2 = tp2->tm_year; in generatedates()
183 if (y1 == y2) { in generatedates()
220 for (y = y1 + 1; y < y2; y++) { in generatedates()
226 monthdays = monthdaytab[isleap(y2)]; in generatedates()
229 createdate(y2, m, d); in generatedates()
231 createdate(y2, m2, d); in generatedates()
/freebsd/crypto/openssl/crypto/ec/
H A Dec2_smpl.c359 BIGNUM *x0, *y0, *x1, *y1, *x2, *y2, *s, *t; in ossl_ec_GF2m_simple_add() local
391 y2 = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_add()
451 if (!BN_GF2m_add(y2, x1, x2)) in ossl_ec_GF2m_simple_add()
453 if (!group->meth->field_mul(group, y2, y2, s, ctx)) in ossl_ec_GF2m_simple_add()
455 if (!BN_GF2m_add(y2, y2, x2)) in ossl_ec_GF2m_simple_add()
457 if (!BN_GF2m_add(y2, y2, y1)) in ossl_ec_GF2m_simple_add()
460 if (!EC_POINT_set_affine_coordinates(group, r, x2, y2, ctx)) in ossl_ec_GF2m_simple_add()
512 BIGNUM *lh, *y2; in ossl_ec_GF2m_simple_is_on_curve() local
539 y2 = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_is_on_curve()
560 if (!field_sqr(group, y2, point->Y, ctx)) in ossl_ec_GF2m_simple_is_on_curve()
[all …]
/freebsd/stand/common/
H A Dgfx_fb.c769 uint32_t y2 = Height + DestinationY; in gfxfb_shadow_fill() local
770 for (uint32_t y1 = DestinationY; y1 < y2; y1++) { in gfxfb_shadow_fill()
1471 gfx_fb_drawrect(uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, in gfx_fb_drawrect() argument
1483 y2 - y1, 0); in gfx_fb_drawrect()
1486 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x1, y2, x2 - x1, 1, 0); in gfx_fb_drawrect()
1487 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x1, y1, 1, y2 - y1, 0); in gfx_fb_drawrect()
1488 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x2, y1, 1, y2 - y1, 0); in gfx_fb_drawrect()
1496 int err, e2, x2, y2, ed, width; in gfx_fb_line() local
1515 y2 = y0; in gfx_fb_line()
1517 (y1 != (uint32_t)y2 || dx > dy)) { in gfx_fb_line()
[all …]
/freebsd/contrib/dialog/
H A Dprogressbox.c112 int y2, x2; in start_obj() local
116 getyx(obj->obj.win, y2, x2); in start_obj()
118 ++y2; in start_obj()
119 wmove(obj->obj.win, y2, MARGIN); in start_obj()
122 y += y2; in start_obj()
123 thigh -= y2; in start_obj()
/freebsd/sys/dev/vt/hw/vga/
H A Dvt_vga.c374 vga_drawrect(struct vt_device *vd, int x1, int y1, int x2, int y2, int fill, in vga_drawrect()
382 for (y = y1; y <= y2; y++) { in vga_drawrect()
383 if (fill || (y == y1) || (y == y2)) { in vga_drawrect()
787 unsigned int x1, y1, x2, y2, x, y; in vga_bitblt_text_gfxmode()
835 y2 = row * vf->vf_height + vw->vw_draw_area.tr_begin.tp_row; in vga_bitblt_text_gfxmode()
839 y2 = min(y2, vw->vw_draw_area.tr_end.tp_row); in vga_bitblt_text_gfxmode()
856 for (y = y1; y < y2; y += vf->vf_height) { in vga_bitblt_text_gfxmode()
966 unsigned int x1, y1, x2, y2, i, j, src_x, dst_x, x_count; in vga_bitblt_bitmap()
974 y2 in vga_bitblt_bitmap()
372 vga_drawrect(struct vt_device * vd,int x1,int y1,int x2,int y2,int fill,term_color_t color) vga_drawrect() argument
785 unsigned int x1, y1, x2, y2, x, y; vga_bitblt_text_gfxmode() local
964 unsigned int x1, y1, x2, y2, i, j, src_x, dst_x, x_count; vga_bitblt_bitmap() local
[all...]

123