Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 1638) sorted by relevance

12345678910>>...66

/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_pow.c75 double z; in ATF_TC_BODY() local
81 z = pow(x, 3.0); in ATF_TC_BODY()
83 if (isinf(z) == 0 || signbit(z) == 0) in ATF_TC_BODY()
86 z = pow(x, 4.0); in ATF_TC_BODY()
88 if (isinf(z) == 0 || signbit(z) != 0) in ATF_TC_BODY()
95 z = pow(x, -3.0); in ATF_TC_BODY()
97 if (fabs(z) > 0.0 || signbit(z) == 0) in ATF_TC_BODY()
100 z = pow(x, -4.0); in ATF_TC_BODY()
102 if (fabs(z) > 0.0 || signbit(z) != 0) in ATF_TC_BODY()
115 double z; in ATF_TC_BODY() local
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-zephyr.c146 struct z_packet z = { in zephyr_print() local
185 PARSE_FIELD_STR(z.version); in zephyr_print()
189 if (strncmp(z.version, "ZEPH", 4)) in zephyr_print()
192 PARSE_FIELD_INT(z.numfields); in zephyr_print()
193 PARSE_FIELD_INT(z.kind); in zephyr_print()
194 PARSE_FIELD_STR(z.uid); in zephyr_print()
195 PARSE_FIELD_INT(z.port); in zephyr_print()
196 PARSE_FIELD_INT(z.auth); in zephyr_print()
197 PARSE_FIELD_INT(z.authlen); in zephyr_print()
198 PARSE_FIELD_STR(z.authdata); in zephyr_print()
[all …]
/freebsd/crypto/openssl/crypto/cast/
H A Dc_skey.c35 CAST_LONG z[16]; in CAST_set_key() local
61 CAST_exp(l, Z, z, 0); in CAST_set_key()
62 l = X[2] ^ S4[z[0]] ^ S5[z[2]] ^ S6[z[1]] ^ S7[z[3]] ^ S7[x[10]]; in CAST_set_key()
63 CAST_exp(l, Z, z, 4); in CAST_set_key()
64 l = X[3] ^ S4[z[7]] ^ S5[z[6]] ^ S6[z[5]] ^ S7[z[4]] ^ S4[x[9]]; in CAST_set_key()
65 CAST_exp(l, Z, z, 8); in CAST_set_key()
66 l = X[1] ^ S4[z[10]] ^ S5[z[9]] ^ S6[z[11]] ^ S7[z[8]] ^ S5[x[11]]; in CAST_set_key()
67 CAST_exp(l, Z, z, 12); in CAST_set_key()
69 K[0] = S4[z[8]] ^ S5[z[9]] ^ S6[z[7]] ^ S7[z[6]] ^ S4[z[2]]; in CAST_set_key()
70 K[1] = S4[z[10]] ^ S5[z[11]] ^ S6[z[5]] ^ S7[z[4]] ^ S5[z[6]]; in CAST_set_key()
[all …]
/freebsd/lib/msun/tests/
H A Dctrig_test.c56 #define test_p(func, z, result, exceptmask, excepts, checksign) \ argument
58 volatile long double complex _d = z; \
74 #define test_p_tol(func, z, result, tol) do { \ argument
76 creall(z), cimagl(z), creall(result), cimagl(result)); \
77 CHECK_CFPEQUAL_TOL((func)(z), (result), (tol), FPE_ABS_ZERO); \
81 #define test(func, z, result, exceptmask, excepts, checksign) do { \ argument
82 test_p(func, z, result, exceptmask, excepts, checksign); \
83 test_p(func, conjl(z), conjl(result), exceptmask, excepts, checksign); \
85 #define test_tol(func, z, result, tol) do { \ argument
86 test_p_tol(func, z, result, tol); \
[all …]
H A Dinvctrig_test.c56 #define test_p(func, z, result, exceptmask, excepts, checksign) do { \ argument
57 volatile long double complex _d = z; \
63 #func, #z); \
70 #define test_p_tol(func, z, result, tol) do { \ argument
72 creall(z), cimagl(z), creall(result), cimagl(result)); \
73 CHECK_CFPEQUAL_TOL((func)(z), (result), (tol), CS_BOTH); \
77 #define test(func, z, result, exceptmask, excepts, checksign) do { \ argument
78 test_p(func, z, result, exceptmask, excepts, checksign); \
79 test_p(func, conjl(z), conjl(result), exceptmask, excepts, checksign); \
81 #define test_tol(func, z, result, tol) do { \ argument
[all …]
/freebsd/lib/msun/src/
H A Dk_sincosl.h51 long double hz, r, v, w, z; in __kernel_sincosl() local
53 z = x * x; in __kernel_sincosl()
54 v = z * x; in __kernel_sincosl()
59 r = S2 + z * (S3 + z * (S4 + z * (S5 + z * (S6 + z * (S7 + z * S8))))); in __kernel_sincosl()
62 *sn = x + v * (S1 + z * r); in __kernel_sincosl()
64 *sn = x - ((z * (y / 2 - v * r) - y) - v * S1); in __kernel_sincosl()
66 hz = z / 2; in __kernel_sincosl()
68 r = z * (C1 + z * (C2 + z * (C3 + z * (C4 + z * (C5 + z * (C6 + in __kernel_sincosl()
69 z * C7)))))); in __kernel_sincosl()
70 *cs = w + (((1 - w) - hz) + (z * r - x * y)); in __kernel_sincosl()
[all …]
H A De_j1.c85 double z, s,c,ss,cc,r,u,v,y; in j1() local
97 z = cos(y+y); in j1()
98 if ((s*c)>zero) cc = z/ss; in j1()
99 else ss = z/cc; in j1()
105 if(ix>0x48000000) z = (invsqrtpi*cc)/sqrt(y); in j1()
108 z = invsqrtpi*(u*cc-v*ss)/sqrt(y); in j1()
110 if(hx<0) return -z; in j1()
111 else return z; in j1()
116 z = x*x; in j1()
117 r = z*(r00+z*(r01+z*(r02+z*r03))); in j1()
[all …]
H A De_j1f.c48 float z, s,c,ss,cc,r,u,v,y; in j1f() local
60 z = cosf(y+y); in j1f()
61 if ((s*c)>zero) cc = z/ss; in j1f()
62 else ss = z/cc; in j1f()
68 if(ix>0x58000000) z = (invsqrtpi*cc)/sqrtf(y); /* |x|>2**49 */ in j1f()
71 z = invsqrtpi*(u*cc-v*ss)/sqrtf(y); in j1f()
73 if(hx<0) return -z; in j1f()
74 else return z; in j1f()
79 z = x*x; in j1f()
80 r = z*(r00+z*(r01+z*(r02+z*r03))); in j1f()
[all …]
H A De_j0.c84 double z, s,c,ss,cc,r,u,v; in j0() local
96 z = -cos(x+x); in j0()
97 if ((s*c)<zero) cc = z/ss; in j0()
98 else ss = z/cc; in j0()
104 if(ix>0x48000000) z = (invsqrtpi*cc)/sqrt(x); in j0()
107 z = invsqrtpi*(u*cc-v*ss)/sqrt(x); in j0()
109 return z; in j0()
117 z = x*x; in j0()
118 r = z*(R02+z*(R03+z*(R04+z*R05))); in j0()
119 s = one+z*(S01+z*(S02+z*(S03+z*S04))); in j0()
[all …]
H A De_j0f.c47 float z, s,c,ss,cc,r,u,v; in j0f() local
59 z = -cosf(x+x); in j0f()
60 if ((s*c)<zero) cc = z/ss; in j0f()
61 else ss = z/cc; in j0f()
67 if(ix>0x58000000) z = (invsqrtpi*cc)/sqrtf(x); /* |x|>2**49 */ in j0f()
70 z = invsqrtpi*(u*cc-v*ss)/sqrtf(x); in j0f()
72 return z; in j0f()
80 z = x*x; in j0f()
81 r = z*(R02+z*(R03+z*(R04+z*R05))); in j0f()
82 s = one+z*(S01+z*(S02+z*(S03+z*S04))); in j0f()
[all …]
H A De_acos.c63 double z,p,q,r,w,s,c,df; in acos() local
78 z = x*x; in acos()
79 p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5))))); in acos()
80 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); in acos()
84 z = (one+x)*0.5; in acos()
85 p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5))))); in acos()
86 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); in acos()
87 s = sqrt(z); in acos()
92 z = (one-x)*0.5; in acos()
93 s = sqrt(z); in acos()
[all …]
H A De_rem_pio2.c53 double z,w,t,r,fn; in __ieee754_rem_pio2() local
69 z = x - pio2_1; /* one round good to 85 bits */ in __ieee754_rem_pio2()
70 y[0] = z - pio2_1t; in __ieee754_rem_pio2()
71 y[1] = (z-y[0])-pio2_1t; in __ieee754_rem_pio2()
74 z = x + pio2_1; in __ieee754_rem_pio2()
75 y[0] = z + pio2_1t; in __ieee754_rem_pio2()
76 y[1] = (z-y[0])+pio2_1t; in __ieee754_rem_pio2()
81 z = x - 2*pio2_1; in __ieee754_rem_pio2()
82 y[0] = z - 2*pio2_1t; in __ieee754_rem_pio2()
83 y[1] = (z in __ieee754_rem_pio2()
[all...]
H A De_acosf.c40 float z,p,q,r,w,s,c,df; in acosf() local
53 z = x*x; in acosf()
54 p = z*(pS0+z*(pS1+z*pS2)); in acosf()
55 q = one+z*(qS1+z*qS2); in acosf()
59 z = (one+x)*(float)0.5; in acosf()
60 p = z*(pS0+z*(pS1+z*pS2)); in acosf()
61 q = one+z*(qS1+z*qS2); in acosf()
62 s = sqrtf(z); in acosf()
68 z = (one-x)*(float)0.5; in acosf()
69 s = sqrtf(z); in acosf()
[all …]
H A Dk_sincos.h33 double hz, r, v, w, z; in __kernel_sincos() local
35 z = x * x; in __kernel_sincos()
36 w = z * z; in __kernel_sincos()
37 r = S2 + z * (S3 + z * S4) + z * w * (S5 + z * S6); in __kernel_sincos()
38 v = z * x; in __kernel_sincos()
41 *sn = x + v * (S1 + z * r); in __kernel_sincos()
43 *sn = x - ((z * (y / 2 - v * r) - y) - v * S1); in __kernel_sincos()
45 r = z * (C1 + z * (C2 + z * C3)) + w * w * (C4 + z * (C5 + z * C6)); in __kernel_sincos()
46 hz = z / 2; in __kernel_sincos()
48 *cs = w + (((1 - w) - hz) + (z * r - x * y)); in __kernel_sincos()
H A Ds_erf.c196 double R,S,P,Q,s,y,z,r; in erf() local
210 z = x*x; in erf()
211 r = pp0+z*(pp1+z*(pp2+z*(pp3+z*pp4))); in erf()
212 s = one+z*(qq1+z*(qq2+z*(qq3+z*(qq4+z*qq5)))); in erf()
235 z = x; in erf()
236 SET_LOW_WORD(z,0); in erf()
237 r = exp(-z*z-0.5625)*exp((z-x)*(z+x)+R/S); in erf()
249 double R,S,P,Q,s,y,z,r; in erfc() local
260 z = x*x; in erfc()
261 r = pp0+z*(pp1+z*(pp2+z*(pp3+z*pp4))); in erfc()
[all …]
/freebsd/contrib/bearssl/src/ec/
H A Dec_c25519_m64.c103 unsigned __int128 z; in f255_add() local
105 z = (unsigned __int128)a[0] + (unsigned __int128)b[0]; in f255_add()
106 t0 = (uint64_t)z; in f255_add()
107 z = (unsigned __int128)a[1] + (unsigned __int128)b[1] + (z >> 64); in f255_add()
108 t1 = (uint64_t)z; in f255_add()
109 z = (unsigned __int128)a[2] + (unsigned __int128)b[2] + (z >> 64); in f255_add()
110 t2 = (uint64_t)z; in f255_add()
111 z = (unsigned __int128)a[3] + (unsigned __int128)b[3] + (z >> 64); in f255_add()
112 t3 = (uint64_t)z & MASK63; in f255_add()
113 cc = (uint64_t)(z >> 63); in f255_add()
[all …]
H A Dec_p256_m64.c264 unsigned __int128 z, ff; in f256_montymul() local
281 z = (unsigned __int128)b[0] * x; in f256_montymul()
282 f = (uint64_t)z; in f256_montymul()
283 z = (unsigned __int128)b[1] * x + (z >> 64) + (uint64_t)(f << 32); in f256_montymul()
284 t0 = (uint64_t)z; in f256_montymul()
285 z = (unsigned __int128)b[2] * x + (z >> 64) + (uint64_t)(f >> 32); in f256_montymul()
286 t1 = (uint64_t)z; in f256_montymul()
287 z = (unsigned __int128)b[3] * x + (z >> 64) + f; in f256_montymul()
288 t2 = (uint64_t)z; in f256_montymul()
289 t3 = (uint64_t)(z >> 64); in f256_montymul()
[all …]
/freebsd/contrib/bearssl/src/symcipher/
H A Dpoly1305_ctmul32.c55 uint32_t z, cc1, cc2; in poly1305_inner() local
154 z = cc1 + cc2; in poly1305_inner()
155 z += (z << 2) + a[0]; in poly1305_inner()
156 a[0] = z & 0x1FFF; in poly1305_inner()
157 a[1] += z >> 13; in poly1305_inner()
171 uint32_t z, r[19], acc[10], cc, ctl; in br_poly1305_ctmul32_run() local
200 z = br_dec32le(pkey) & 0x03FFFFFF; in br_poly1305_ctmul32_run()
201 r[9] = z & 0x1FFF; in br_poly1305_ctmul32_run()
202 r[10] = z >> 13; in br_poly1305_ctmul32_run()
203 z = (br_dec32le(pkey + 3) >> 2) & 0x03FFFF03; in br_poly1305_ctmul32_run()
[all …]
/freebsd/contrib/lua/src/
H A Dlzio.c23 int luaZ_fill (ZIO *z) { in luaZ_fill() argument
25 lua_State *L = z->L; in luaZ_fill()
28 buff = z->reader(L, z->data, &size); in luaZ_fill()
32 z->n = size - 1; /* discount char being returned */ in luaZ_fill()
33 z->p = buff; in luaZ_fill()
34 return cast_uchar(*(z->p++)); in luaZ_fill()
38 void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) { in luaZ_init() argument
39 z->L = L; in luaZ_init()
40 z->reader = reader; in luaZ_init()
41 z->data = data; in luaZ_init()
[all …]
/freebsd/contrib/unbound/services/
H A Dlocalzone.c61 local_zone_out(struct local_zone* z) in local_zone_out() argument
65 RBTREE_FOR(d, struct local_data*, &z->data) { in local_zone_out()
75 local_zone_print(struct local_zone* z) in local_zone_print() argument
78 lock_rw_rdlock(&z->lock); in local_zone_print()
80 local_zone_type2str(z->type)); in local_zone_print()
81 log_nametypeclass(NO_VERBOSE, buf, z->name, 0, z->dclass); in local_zone_print()
82 local_zone_out(z); in local_zone_print()
83 lock_rw_unlock(&z->lock); in local_zone_print()
88 struct local_zone* z; in local_zones_print() local
91 RBTREE_FOR(z, struct local_zone*, &zones->ztree) { in local_zones_print()
[all …]
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlzio.c19 int luaZ_fill (ZIO *z) { in luaZ_fill() argument
21 lua_State *L = z->L; in luaZ_fill()
24 buff = z->reader(L, z->data, &size); in luaZ_fill()
28 z->n = size - 1; /* discount char being returned */ in luaZ_fill()
29 z->p = buff; in luaZ_fill()
30 return cast_uchar(*(z->p++)); in luaZ_fill()
34 void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) { in luaZ_init() argument
35 z->L = L; in luaZ_init()
36 z->reader = reader; in luaZ_init()
37 z->data = data; in luaZ_init()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/
H A Du4.h364 z##A = _mm_add_epi32(z##A, orig##A); \
365 z##B = _mm_add_epi32(z##B, orig##B); \
366 z##C = _mm_add_epi32(z##C, orig##C); \
367 z##D = _mm_add_epi32(z##D, orig##D); \
368 in##A = _mm_cvtsi128_si32(z##A); \
369 in##B = _mm_cvtsi128_si32(z##B); \
370 in##C = _mm_cvtsi128_si32(z##C); \
371 in##D = _mm_cvtsi128_si32(z##D); \
372 z##A = _mm_shuffle_epi32(z##A, 0x39); \
373 z##B = _mm_shuffle_epi32(z##B, 0x39); \
[all …]
/freebsd/lib/msun/ld128/
H A Ds_erfl.c192 long double ax,R,S,P,Q,s,y,z,r; in erfl() local
211 z = x*x; in erfl()
212 r = pp0+z*(pp1+z*(pp2+z*(pp3+z*(pp4+z*(pp5+z*(pp6+z*(pp7+ in erfl()
213 z*(pp8+z*pp9)))))))); in erfl()
214 s = one+z*(qq1+z*(qq2+z*(qq3+z*(qq4+z*(qq5+z*(qq6+z*(qq7+ in erfl()
215 z*(qq8+z*qq9)))))))); in erfl()
246 z = (float)ax; in erfl()
247 r = expl(-z*z-0.5625)*expl((z-ax)*(z+ax)+R/S); in erfl()
254 long double ax,R,S,P,Q,s,y,z,r; in erfcl() local
269 z = x*x; in erfcl()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h92 #define SA_ZPL_ATIME(z) z->z_attr_table[ZPL_ATIME] argument
93 #define SA_ZPL_MTIME(z) z->z_attr_table[ZPL_MTIME] argument
94 #define SA_ZPL_CTIME(z) z->z_attr_table[ZPL_CTIME] argument
95 #define SA_ZPL_CRTIME(z) z->z_attr_table[ZPL_CRTIME] argument
96 #define SA_ZPL_GEN(z) z->z_attr_table[ZPL_GEN] argument
97 #define SA_ZPL_DACL_ACES(z) z->z_attr_table[ZPL_DACL_ACES] argument
98 #define SA_ZPL_XATTR(z) z->z_attr_table[ZPL_XATTR] argument
99 #define SA_ZPL_SYMLINK(z) z->z_attr_table[ZPL_SYMLINK] argument
100 #define SA_ZPL_RDEV(z) z->z_attr_table[ZPL_RDEV] argument
101 #define SA_ZPL_SCANSTAMP(z) z->z_attr_table[ZPL_SCANSTAMP] argument
[all …]
/freebsd/lib/msun/bsdsrc/
H A Db_tgamma.c120 double p, z, thi, tlo, xhi, xlo; in large_gam() local
123 z = 1 / (x * x); in large_gam()
124 p = Pa0 + z * (Pa1 + z * (Pa2 + z * (Pa3 + z * (Pa4 + z * (Pa5 + in large_gam()
125 z * (Pa6 + z * Pa7)))))); in large_gam()
180 ratfun_gam(double z, double c) in ratfun_gam() argument
185 q = Q0 + z * (Q1 + z * (Q2 + z * (Q3 + z * (Q4 + z * (Q5 + in ratfun_gam()
186 z * (Q6 + z * (Q7 + z * Q8))))))); in ratfun_gam()
187 p = P0 + z * (P1 + z * (P2 + z * (P3 + z * P4))); in ratfun_gam()
191 thi = (float)z; in ratfun_gam()
192 tlo = (z - thi) + c; in ratfun_gam()
[all …]

12345678910>>...66