/freebsd/stand/ficl/ |
H A D | gfx_loader.c | 50 * fb-bezier ( x0 y0 x1 y1 x2 y2 wd -- ) 51 * fb-drawrect ( x1 y1 x2 y2 fill -- ) 52 * fb-line ( x0 y0 x1 y1 wd -- ) 53 * fb-putimage ( flags x1 y1 x2 y2 -- flag ) 55 * term-drawrect ( x1 y1 x2 y2 fill -- ) 56 * term-putimage ( flags x1 y1 x2 y2 -- flag ) 59 /* ( flags x1 y1 x2 y2 -- flag ) */ 66 uint32_t x1, y1, x2, y2, f; in ficl_term_putimage() local 77 y1 = stackPopINT(pVM->pStack); in ficl_term_putimage() 82 y1 = gfx_state.tg_origin.tp_row + y1 * gfx_state.tg_font.vf_height; in ficl_term_putimage() [all …]
|
/freebsd/stand/lua/ |
H A D | gfx.lua.8 | 23 .It Fn fb_bezier x0 y0 x1 y1 x2 y2 width 26 .Pq Va x1 , Va y1 , 33 .It Fn fb_drawrect x0 y0 x1 y1 fill 39 .Pq Va x1 , Va y1 . 42 .It Fn fb_line x0 y0 x1 y1 width 46 .Pq Va x1 , Va y1 51 .It Fn fb_putimage name x0 y0 x1 y1 f 58 .Pq Va x1 , Va y1 68 .It Fn term_drawrect x0 y0 x1 y1 72 .Pq Va x1 , Va y1 . [all …]
|
/freebsd/stand/liblua/ |
H A D | gfx_utils.c | 50 uint32_t x1, y1, x2, y2, f; in lua_term_putimage() local 61 y1 = luaL_checknumber(L, 3); in lua_term_putimage() 67 y1 = gfx_state.tg_origin.tp_row + y1 * 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 105 y1 = luaL_checknumber(L, 3); in lua_fb_putimage() 114 if (gfx_fb_putimage(&png, x1, y1, x2, y2, f) == 0) in lua_fb_putimage() 143 uint32_t x0, y0, x1, y1, wd; in lua_fb_line() local 155 y1 = luaL_checknumber(L, 4); in lua_fb_line() 157 gfx_fb_line(x0, y0, x1, y1, wd); in lua_fb_line() [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | math64.h | 116 uint64_t x1, y1, y1z; in mul_u64_u64_div_u64() local 121 y1 = y - y1z * z; in mul_u64_u64_div_u64() 124 * INVARIANT: x * y = res * z + rem + (y1 + y1z * z) * x1 in mul_u64_u64_div_u64() 125 * INVARIANT: y1 < z in mul_u64_u64_div_u64() 133 rem += y1; in mul_u64_u64_div_u64() 134 if ((rem < y1) || (rem >= z)) { in mul_u64_u64_div_u64() 140 /* Shift x1 right and (y1 + y1z * z) left */ in mul_u64_u64_div_u64() 142 if ((y1 * 2 < y1) || (y1 * 2 >= z)) { in mul_u64_u64_div_u64() 144 y1 = y1 * 2 - z; in mul_u64_u64_div_u64() 147 y1 *= 2; in mul_u64_u64_div_u64()
|
/freebsd/contrib/bearssl/src/hash/ |
H A D | ghash_ctmul64.c | 36 uint64_t y0, y1, y2, y3; in bmul64() local 44 y1 = y & (uint64_t)0x2222222222222222; 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() 82 uint64_t y0, y1; in br_ghash_ctmul64() local 88 y1 = br_dec64be(yb); in br_ghash_ctmul64() 113 y1 ^= br_dec64be(src); in br_ghash_ctmul64() 117 y1r = rev64(y1); in br_ghash_ctmul64() [all …]
|
H A D | ghash_ctmul.c | 74 uint32_t y0, y1, y2, y3; in bmul() local 83 y1 = y & (uint32_t)0x22222222; in bmul() 88 * (x0+W*x1)*(y0+W*y1) -> a0:b0 in bmul() 90 * ((x0+x2)+W*(x1+x3))*((y0+y2)+W*(y1+y3)) -> a6:b6 in bmul() 95 b1 = y1 >> 1; in bmul() 168 uint32_t y0, y1, y2, y3; in bmul() local 177 y1 = y & (uint32_t)0x22222222; 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() [all …]
|
/freebsd/lib/libvgl/ |
H A D | simple.c | 185 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() 199 SL_SWAP(x1, y1); in VGLLine() 210 y1 = y1; */ in VGLLine() 213 y = y1; in VGLLine() 215 y1 = y2; in VGLLine() 229 plot(object, x1, y1, reverse, color); /* plot first two points */ in VGLLine() 244 plot(object, x1, y1, reverse, color); in VGLLine() 245 plot(object, --x1, y1, reverse, color); in VGLLine() 254 plot(object, x1, y1, reverse, color); in VGLLine() [all …]
|
H A D | vgl.3 | 100 .Fn VGLLine "VGLBitmap *object" "int x1" "int y1" "int x2" "int y2" "u_long color" 102 .Fn VGLBox "VGLBitmap *object" "int x1" "int y1" "int x2" "int y2" "u_long color" 104 .Fn VGLFilledBox "VGLBitmap *object" "int x1" "int y1" "int x2" "int y2" "u_long color" 252 .Va x1 , y1 260 .Va x1 , y1 268 .Va x1 , y1
|
/freebsd/crypto/libecc/src/curves/ |
H A D | aff_pt.c | 97 * The two outputs y1 and y2 are initialized in the function. 102 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() 114 ret = fp_copy(y1, x); EG(ret, err); in aff_pt_y_from_x() 118 ret = fp_sqr(y1, y1); EG(ret, err); in aff_pt_y_from_x() 119 ret = fp_mul(y1, y1, x); 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() 122 ret = fp_add(y1, y1, &(curve->b)); EG(ret, err); in aff_pt_y_from_x() 127 ret = fp_sqrt(y1, y2, y1); in aff_pt_y_from_x()
|
/freebsd/usr.bin/calendar/ |
H A D | dates.c | 172 int y1, m1, d1; in generatedates() local 176 y1 = tp1->tm_year; in generatedates() 183 if (y1 == y2) { in generatedates() 187 createdate(y1, m1, d); in generatedates() 196 monthdays = monthdaytab[isleap(y1)]; in generatedates() 198 createdate(y1, m1, d); in generatedates() 201 createdate(y1, m, d); in generatedates() 203 createdate(y1, m2, d); in generatedates() 208 * - Take the leftover days from y1-m1 in generatedates() 209 * - Take all days from y1-<m1 .. 12] in generatedates() [all …]
|
/freebsd/lib/msun/man/ |
H A D | j0.3 | 40 .Nm y1 , 66 .Fn y1 "double x" 95 .Fn y1 , 120 .Fn y1 , 136 .Fn y1 , 150 .Fn y1 ,
|
/freebsd/lib/msun/src/ |
H A D | e_hypot.c | 29 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y)) 31 * y1= y with lower 32 bits chopped, y2 = y-y1. 53 double a,b,t1,t2,y1,y2,w; in hypot() local 108 y1 = 0; in hypot() 109 SET_HIGH_WORD(y1,hb); in hypot() 110 y2 = b - y1; in hypot() 114 w = sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b))); in hypot()
|
H A D | e_j1.c | 12 /* j1(x), y1(x) 22 * y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x1)+q1(x)*cos(x1)) 38 * Method -- y1(x): 39 * 1. screen out x<=0 cases: y1(0)=-inf, y1(x<0)=NaN 42 * y1(x) = 2/pi*(j1(x)*(ln(x/2)+Euler)-1/x-x/2+5/64*x^3-...) 43 * therefore y1(x)-2/pi*j1(x)*ln(x)-1/x is an odd function. 44 * We use the following function to approximate y1, 45 * y1(x) = x*U(z)/V(z) + (2/pi)*(j1(x)*ln(x)-1/x), z= x^2 49 * Note: For tiny x, 1/x dominate y1 and hence 50 * y1(tiny) = -2/pi/tiny, (choose tiny<2**-54) [all …]
|
H A D | e_hypotl.c | 47 long double a=x,b=y,t1,t2,y1,y2,w; in hypotl() local 104 y1 = b; in hypotl() 106 uv.e = y1; uv.bits.manl = 0; y1 = uv.e; in hypotl() 107 y2 = b - y1; in hypotl() 111 w = sqrtl(t1*y1-(w*(-w)-(t1*y2+t2*b))); in hypotl()
|
H A D | e_hypotf.c | 22 float a,b,t1,t2,y1,y2,w; in hypotf() local 70 SET_FLOAT_WORD(y1,hb&0xfffff000); in hypotf() 71 y2 = b - y1; in hypotf() 74 w = sqrtf(t1*y1-(w*(-w)-(t1*y2+t2*b))); in hypotf()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/ |
H A D | u8.h | 2 __m256i y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13, y14, variable 145 y1 = z9; 146 y1 = _mm256_add_epi32(y1, z13); 147 r1 = y1; 148 y1 = _mm256_slli_epi32(y1, 13); 149 z1 = _mm256_xor_si256(z1, y1); 225 y1 = z3; 226 y1 = _mm256_add_epi32(y1, z0); 227 r1 = y1; 228 y1 = _mm256_slli_epi32(y1, 7); [all …]
|
H A D | u4.h | 2 __m128i y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13, y14, variable 145 y1 = z9; 146 y1 = _mm_add_epi32(y1, z13); 147 r1 = y1; 148 y1 = _mm_slli_epi32(y1, 13); 149 z1 = _mm_xor_si128(z1, y1); 225 y1 = z3; 226 y1 = _mm_add_epi32(y1, z0); 227 r1 = y1; 228 y1 = _mm_slli_epi32(y1, 7); [all …]
|
/freebsd/tools/tools/indent_wrapper/ |
H A D | indent_wrapper.c | 379 uint64_t y1 = 0; in main() local 432 y1 = 0; in main() 448 p1->mask[y1] = BLOCK_ADD >> 8; in main() 449 p1->data[y1++] = ch; in main() 450 if (y1 == BLOCK_SIZE) { in main() 453 y1 = 0; in main() 483 p1->data[y1++] = ch; in main() 484 if (y1 == BLOCK_SIZE) { in main() 487 y1 = 0; in main() 522 p1->length = y1; in main() [all …]
|
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_lru.c | 197 uint32_t y1, y2; in find_replacement_node() local 199 y1 = get_left(cc, x); in find_replacement_node() 200 if (y1 != ADDR_NULL) { in find_replacement_node() 205 z = get_right(cc, y1); in find_replacement_node() 208 return y1; in find_replacement_node() 210 y2 = y1 + TREE_RIGHT_OFF; in find_replacement_node() 211 y1 = z; in find_replacement_node() 214 y1 = get_right(cc, x); in find_replacement_node() 215 if (y1 != ADDR_NULL) { in find_replacement_node() 220 z = get_left(cc, y1); in find_replacement_node() [all …]
|
/freebsd/stand/common/ |
H A D | gfx_fb.c | 778 for (uint32_t y1 = DestinationY; y1 < y2; y1++) { in gfxfb_shadow_fill() local 779 uint32_t off = y1 * fbX + DestinationX; in gfxfb_shadow_fill() 1483 gfx_fb_drawrect(uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2, in gfx_fb_drawrect() argument 1494 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x1, y1, x2 - x1, in gfx_fb_drawrect() 1495 y2 - y1, 0); in gfx_fb_drawrect() 1497 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x1, y1, x2 - x1, 1, 0); in gfx_fb_drawrect() 1499 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x1, y1, 1, y2 - y1, 0); in gfx_fb_drawrect() 1500 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x2, y1, 1, y2 - y1, 0); in gfx_fb_drawrect() 1505 gfx_fb_line(uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, uint32_t wd) in gfx_fb_line() argument 1515 sy = y0 < y1? 1 : -1; in gfx_fb_line() [all …]
|
/freebsd/contrib/bearssl/src/symcipher/ |
H A D | des_ct.c | 206 uint32_t y0, y1, y2, y3, y4, y5, y6, y7, y8, y9; in Fconf() local 244 y1 = (uint32_t)0xAEAAEDFF ^ (x0 & (uint32_t)0x500FB821); in Fconf() 276 y0 = y0 ^ (x1 & y1); in Fconf() 277 y1 = y2 ^ (x1 & y3); in Fconf() 293 y0 = y0 ^ (x2 & y1); in Fconf() 294 y1 = y2 ^ (x2 & y3); in Fconf() 302 y0 = y0 ^ (x3 & y1); in Fconf() 303 y1 = y2 ^ (x3 & y3); in Fconf() 307 y0 = y0 ^ (x4 & y1); in Fconf() 308 y1 = y2 ^ (x4 & y3); in Fconf() [all …]
|
H A D | aes_ct.c | 42 uint32_t y1, y2, y3, y4, y5, y6, y7, y8, y9; in br_aes_ct_bitslice_Sbox() local 73 y1 = t0 ^ x7; in br_aes_ct_bitslice_Sbox() 74 y4 = y1 ^ x3; in br_aes_ct_bitslice_Sbox() 76 y2 = y1 ^ x0; in br_aes_ct_bitslice_Sbox() 77 y5 = y1 ^ x6; in br_aes_ct_bitslice_Sbox() 101 t8 = y5 & y1; in br_aes_ct_bitslice_Sbox() 145 z4 = t40 & y1; in br_aes_ct_bitslice_Sbox()
|
H A D | aes_ct64.c | 42 uint64_t y1, y2, y3, y4, y5, y6, y7, y8, y9; in br_aes_ct64_bitslice_Sbox() local 73 y1 = t0 ^ x7; in br_aes_ct64_bitslice_Sbox() 74 y4 = y1 ^ x3; in br_aes_ct64_bitslice_Sbox() 76 y2 = y1 ^ x0; in br_aes_ct64_bitslice_Sbox() 77 y5 = y1 ^ x6; in br_aes_ct64_bitslice_Sbox() 101 t8 = y5 & y1; in br_aes_ct64_bitslice_Sbox() 145 z4 = t40 & y1; in br_aes_ct64_bitslice_Sbox()
|
/freebsd/sys/powerpc/fpu/ |
H A D | fpu_sqrt.c | 192 u_int y0, y1, y2, y3; in fpu_sqrt() local 310 y1 = 0; in fpu_sqrt() 324 t1 = y1 | bit; in fpu_sqrt() 330 y1 |= bit << 1; in fpu_sqrt() 337 /* calculate q2. note (y1&1)==0; y0 (aka t0) is fixed. */ in fpu_sqrt() 338 #define t1 y1 in fpu_sqrt() 351 y1 |= 1; /* now t1, y1 are set in concrete */ in fpu_sqrt() 370 /* calculate q3. y0, t0, y1, t1 all fixed; y2, t2, almost done. */ in fpu_sqrt()
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | rsaz-avx2.pl | 105 my $Y1="%ymm12"; 277 $TEMP0=$Y1; 423 $TEMP3 = $Y1; 465 vmovd %eax, $Y1 469 vpbroadcastq $Y1, $Y1 494 vpmuludq 32*1-128($np), $Y1, $TEMP0 499 vpmuludq 32*2-128($np), $Y1, $TEMP1 503 vpmuludq 32*3-128($np), $Y1, $TEMP2 511 vpmuludq 32*4-128($np), $Y1, $TEMP0 515 vpmuludq 32*5-128($np), $Y1, $TEMP1 [all …]
|