Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 3338) sorted by relevance

12345678910>>...134

/freebsd-14.2/crypto/openssh/regress/unittests/utf8/
H A Dtests.c67 one(1, "empty", "", 2, 0, 0, ""); in tests()
68 one(1, "ascii", "x", -2, -2, -2, "x"); in tests()
69 one(1, "newline", "a\nb", -2, -2, -2, "a\nb"); in tests()
70 one(1, "cr", "a\rb", -2, -2, -2, "a\rb"); in tests()
71 one(1, "tab", "a\tb", -2, -2, -2, "a\tb"); in tests()
72 one(1, "esc", "\033x", -2, -2, -2, "\\033x"); in tests()
78 one(1, "width_ascii", "123", 2, 2, -1, "12"); in tests()
89 one(0, "empty", "", 2, 0, 0, ""); in tests()
90 one(0, "ascii", "x", -2, -2, -2, "x"); in tests()
92 one(0, "cr", "a\rb", -2, -2, -2, "a\rb"); in tests()
[all …]
/freebsd-14.2/lib/msun/src/
H A Ds_erff.c24 one = 1, variable
102 s = fabsf(x)-one; in erff()
108 if(hx>=0) return one-tiny; else return tiny-one; in erff()
111 s = one/(x*x); in erff()
121 if(hx>=0) return one-r/x; else return r/x-one; in erff()
138 return one-x; in erfcf()
144 return one-(x+x*y); in erfcf()
152 s = fabsf(x)-one; in erfcf()
158 z = erx+P/Q; return one+z; in erfcf()
163 s = one/(x*x); in erfcf()
[all …]
H A Ds_erf.c116 one = 1, variable
218 s = fabs(x)-one; in erf()
224 if(hx>=0) return one-tiny; else return tiny-one; in erf()
227 s = one/(x*x); in erf()
239 if(hx>=0) return one-r/x; else return r/x-one; in erf()
260 return one-x; in erfc()
266 return one-(x+x*y); in erfc()
274 s = fabs(x)-one; in erfc()
278 z = one-erx; return z - P/Q; in erfc()
280 z = erx+P/Q; return one+z; in erfc()
[all …]
H A Ds_tanhf.c20 static const float one=1.0, two=2.0, huge = 1.0e30; variable
33 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */ in tanhf()
34 else return one/x-one; /* tanh(NaN) = NaN */ in tanhf()
40 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */ in tanhf()
44 z = one - two/(t+two); in tanhf()
51 z = one - tiny; /* raise inexact flag */ in tanhf()
H A Ds_tanh.c43 static const double one = 1.0, two = 2.0, huge = 1.0e300; variable
56 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */ in tanh()
57 else return one/x-one; /* tanh(NaN) = NaN */ in tanh()
63 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */ in tanh()
67 z = one - two/(t+two); in tanh()
74 z = one - tiny; /* raise inexact flag */ in tanh()
H A De_lgammaf_r.c25 one = 1, variable
137 return one/vzero; in lgammaf_r()
145 return one/vzero; in lgammaf_r()
159 if(ix>=0x3f3b4a20) {y = one-x; i= 0;} in lgammaf_r()
160 else if(ix>=0x3e6d3308) {y= x-(tc-one); i=1;} in lgammaf_r()
166 else {y=x-one;i=2;} in lgammaf_r()
180 p2 = one+y*(v1+y*(v2+y*v3)); in lgammaf_r()
189 q = one+y*(r1+y*(r2+y*r3)); in lgammaf_r()
203 z = one/x; in lgammaf_r()
206 r = (x-half)*(t-one)+w; in lgammaf_r()
[all …]
H A De_j0f.c29 one = 1.0, variable
52 if(ix>=0x7f800000) return one/(x*x); in j0f()
77 else return one - x*x/4; in j0f()
82 s = one+z*(S01+z*(S02+z*(S03+z*S04))); in j0f()
84 return one + z*((r/s)-qrtr); in j0f()
87 return((one+u)*(one-u)+z*(r/s)); in j0f()
113 if(ix==0) return -one/vzero; in y0f()
151 v = one+z*(v01+z*(v02+z*(v03+z*v04))); in y0f()
239 z = one/(x*x); in pzerof()
242 return one+ r/s; in pzerof()
[all …]
H A De_j0.c67 one = 1.0, variable
90 if(ix>=0x7ff00000) return one/(x*x); in j0()
115 else return one - x*x/4; in j0()
120 s = one+z*(S01+z*(S02+z*(S03+z*S04))); in j0()
122 return one + z*((r/s)-qrtr); in j0()
125 return((one+u)*(one-u)+z*(r/s)); in j0()
157 if((ix|lx)==0) return -one/vzero; in y0()
196 v = one+z*(v01+z*(v02+z*(v03+z*v04))); in y0()
285 z = one/(x*x); in pzero()
288 return one+ r/s; in pzero()
[all …]
H A De_lgamma_r.c216 return one/vzero; in lgamma_r()
224 return one/vzero; in lgamma_r()
226 if(t==zero) return one/vzero; /* -integer */ in lgamma_r()
238 if(ix>=0x3FE76944) {y = one-x; i= 0;} in lgamma_r()
239 else if(ix>=0x3FCDA661) {y= x-(tc-one); i=1;} in lgamma_r()
245 else {y=x-one;i=2;} in lgamma_r()
264 p2 = one+y*(v1+y*(v2+y*(v3+y*(v4+y*v5)))); in lgamma_r()
275 z = one; /* lgamma(1+s) = log(s) + lgamma(s) */ in lgamma_r()
287 z = one/x; in lgamma_r()
290 r = (x-half)*(t-one)+w; in lgamma_r()
[all …]
H A Ds_asinhf.c20 one = 1.0000000000e+00, /* 0x3F800000 */ variable
33 if(huge+x>one) return x; /* return x inexact except 0 */ in asinhf()
39 w = logf((float)2.0*t+one/(sqrtf(x*x+one)+t)); in asinhf()
42 w =log1pf(fabsf(x)+t/(one+sqrtf(one+t))); in asinhf()
/freebsd-14.2/contrib/sendmail/libsm/
H A Dt-strl.c30 int one, two, k; variable
97 SM_TEST(one == two);
101 SM_TEST(one == two);
105 SM_TEST(one == two);
109 SM_TEST(one == two);
113 SM_TEST(one == two);
117 SM_TEST(one == two);
121 SM_TEST(one == two);
125 SM_TEST(one == 0);
130 SM_TEST(one == two);
[all …]
H A Db-strl.c68 long one, two;
122 printf("\tstrlcat() result: %ld seconds\n", one = toseconds(t2, t1));
135 if (one - two >= -2 && one - two <= 2)
138 if (loops < 0L || one > MAXTIME)
163 printf("\tstrlcpy() result: %ld seconds\n", one = toseconds(t2, t1));
176 if (one - two >= -2 && one - two <= 2)
179 if (loops < 0L || one > MAXTIME)
/freebsd-14.2/lib/msun/tests/
H A Dfma_test.c106 testall(-one, one, one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes()
107 testall(one, -one, one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes()
108 testall(-one, -one, -one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes()
185 test(fmaf, one, one, 0x1.0p-100, 1.0 + FLT_EPSILON, in test_small_z()
187 test(fma, one, one, 0x1.0p-200, 1.0 + DBL_EPSILON, in test_small_z()
189 test(fmal, one, one, 0x1.0p-200, 1.0 + LDBL_EPSILON, in test_small_z()
198 test(fmaf, -one, one, -0x1.0p-100, -(1.0 + FLT_EPSILON), in test_small_z()
200 test(fma, -one, one, -0x1.0p-200, -(1.0 + DBL_EPSILON), in test_small_z()
211 test(fmaf, one, one, -0x1.0p-100, 1.0 - FLT_EPSILON / 2, in test_small_z()
213 test(fma, one, one, -0x1.0p-200, 1.0 - DBL_EPSILON / 2, in test_small_z()
[all …]
/freebsd-14.2/tests/sys/net/
H A Dif_bridge_test.sh231 jexec one ifconfig ${bridge} up
232 jexec one ifconfig ${epair}a up
291 jexec one ifconfig ${bridge} up
292 jexec one ifconfig ${epair}a up
477 vnet_mkjail one ${epair}a
491 jexec one ifconfig ${gif_one} up
504 jexec one ping -c 1 192.0.2.2
508 jexec one ping -c 1 198.51.100.2
629 vnet_mkjail one ${epaira}b
637 jexec one ifconfig ${epaira}b up
[all …]
H A Dif_stf.sh151 vnet_mkjail one ${epair}a
152 jexec one ifconfig lo0 up
153 jexec one ifconfig ${epair}a 192.0.2.1/24 up
154 stf_one=$(jexec one ifconfig stf create)
155 jexec one ifconfig $stf_one stfv4br 192.0.2.3
156 jexec one ifconfig $stf_one stfv4net 192.0.2.1/32
171 jexec one ping -c 1 192.0.2.2
175 jexec one ping6 -c 1 2001:db8:c000:0202::1
181 jexec one ifconfig $stf_one inet6 2001:0201::1/16
182 jexec one ifconfig $stf_one stfv4net 192.0.2.1/16
[all …]
H A Dif_gif.sh45 vnet_mkjail one ${epair}a
46 jexec one ifconfig ${epair}a 192.0.2.1/24 up
47 gone=$(jexec one ifconfig gif create)
48 jexec one ifconfig $gone tunnel 192.0.2.1 192.0.2.2
49 jexec one ifconfig $gone inet 198.51.100.1/24 198.51.100.2 up
59 jexec one ping -c 1 192.0.2.2
63 jexec one ping -c 1 198.51.100.2
/freebsd-14.2/contrib/bmake/unit-tests/
H A Dvarmod-sysv.mk53 .if ${one two:L:${:Uone}=${:U1}} != "1 two"
141 .if ${one two:L:o%=a%w} != "anew two"
146 .if ${one two:L:=X} != "oneX twoX"
151 .if ${one two:L:o=X} != "one twX"
156 .if ${one two:L:o=} != "one tw"
162 .if ${one two:L:o=%} != "one tw%"
168 .if ${one two:L:%o=X} != "one X"
174 .if ${one two:L:o%=X} != "X two"
180 .if ${one two oe oxen:L:o%e=X} != "X two X oxen"
191 .if ${one two:L:%=%%} != "one% two%"
[all …]
/freebsd-14.2/tests/sys/netpfil/pf/
H A Dpfsync.sh72 jexec one pfctl -e
73 pft_set_rules one \
215 jexec one pfctl -e
216 pft_set_rules one \
612 jexec one pfctl -Fs
644 jexec one pfctl -Fs
683 vnet_mkjail one
690 jexec one pfctl -e
740 jexec one pfctl -e
802 jexec one pfctl -e
[all …]
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/
H A Dtst.relenum.d41 one, enumerator
52 /zero >= one || second <= first || zero == second/
55 printf("zero = %d; one = %d; two = %d", zero, one, two);
61 /second < one || two > second || null == first/
64 printf("zero = %d; one = %d; two = %d", zero, one, two);
70 /first < two && second > one && one != two && zero != first/
/freebsd-14.2/lib/msun/ld128/
H A Ds_erfl.c29 one = 1, variable
221 s = ax-one; in erfl()
229 if(x>=0) return (one-tiny); else return (tiny-one); in erfl()
231 s = one/(ax*ax); in erfl()
249 if(x>=0) return (one-r/ax); else return (r/ax-one); in erfl()
263 return ((hx>>15)<<1)+one/x; in erfcl()
269 return one-x; in erfcl()
277 return one-(x+x*y); in erfcl()
285 s = ax-one; in erfcl()
293 z = erx+P/Q; return one+z; in erfcl()
[all …]
/freebsd-14.2/tests/sys/kern/
H A Dunix_dgram.c177 int one, many[3], two; in ATF_TC_BODY() local
182 ATF_REQUIRE((one = socket(PF_UNIX, SOCK_DGRAM, 0)) > 0); in ATF_TC_BODY()
185 ATF_REQUIRE(listen(one, -1) != 0); in ATF_TC_BODY()
193 ATF_REQUIRE(accept(one, NULL, NULL) == -1); in ATF_TC_BODY()
202 ATF_REQUIRE(send(one, buf, 42, 0) == 42); in ATF_TC_BODY()
203 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == 42); in ATF_TC_BODY()
230 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == sizeof(buf)); in ATF_TC_BODY()
232 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == sizeof(buf)); in ATF_TC_BODY()
240 ATF_REQUIRE(recv(one, buf, sizeof(buf), 0) == sizeof(buf)); in ATF_TC_BODY()
274 ATF_REQUIRE(recv(one, buf, sizeof(buf), MSG_PEEK) == 42); in ATF_TC_BODY()
[all …]
/freebsd-14.2/usr.bin/ctags/test/
H A Dctags.test17 char qq[] = " quote(one,two) {int bar;} ";
38 multiple(one,two); \
40 callroute(one,two); \
50 routine1(one,two) /* comments here are fun... */
54 } *one;
59 five(one,two);
61 routine2 (one,two) { puts("hello\n"); }
63 (one,
65 routine4(int one, char (*two)(void)) /* test ANSI arguments */
/freebsd-14.2/tests/sys/net/if_ovpn/
H A Dif_ovpn.sh591 one=$(vnet_mkepair)
598 ifconfig ${one}a up
599 ifconfig ${bridge} addm ${one}a
605 vnet_mkjail one ${one}b
606 jexec one ifconfig ${one}b 192.0.2.2/24 up
646 ovpn_start one "
805 one=$(vnet_mkepair)
812 ifconfig ${one}a up
825 vnet_mkjail one ${one}b
827 jexec one ifconfig ${one}b 192.0.2.2/24 up
[all …]
/freebsd-14.2/lib/msun/ld80/
H A Ds_erfl.c32 one = 1, variable
247 s = ax-one; in erfl()
253 if(x>=0) RETURNI(one-tiny); else RETURNI(tiny-one); in erfl()
255 s = one/(ax*ax); in erfl()
267 if(x>=0) RETURNI(one-r/ax); else RETURNI(r/ax-one); in erfl()
281 return ((hx>>15)<<1)+one/x; in erfcl()
289 RETURNI(one-x); in erfcl()
295 RETURNI(one-(x+x*y)); in erfcl()
303 s = ax-one; in erfcl()
309 z = (erx+P/Q); RETURNI(one+z); in erfcl()
[all …]
/freebsd-14.2/contrib/wpa/src/common/
H A Ddragonfly.c93 struct crypto_bignum *tmp, *pm1, *one; in dragonfly_get_rand_1_to_p_1() local
97 one = crypto_bignum_init_set((const u8 *) "\x01", 1); in dragonfly_get_rand_1_to_p_1()
98 if (!tmp || !pm1 || !one || in dragonfly_get_rand_1_to_p_1()
99 crypto_bignum_sub(prime, one, pm1) < 0 || in dragonfly_get_rand_1_to_p_1()
101 crypto_bignum_add(tmp, one, tmp) < 0) { in dragonfly_get_rand_1_to_p_1()
107 crypto_bignum_deinit(one, 0); in dragonfly_get_rand_1_to_p_1()
226 struct crypto_bignum *tmp, *one; in dragonfly_sqrt() local
236 one = crypto_bignum_init_uint(1); in dragonfly_sqrt()
241 !tmp || !one || in dragonfly_sqrt()
243 crypto_bignum_add(prime, one, tmp) < 0 || in dragonfly_sqrt()
[all …]

12345678910>>...134