/freebsd/crypto/openssh/regress/unittests/utf8/ |
H A D | tests.c | 67 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/lib/msun/src/ |
H A D | s_erff.c | 24 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 D | s_erf.c | 115 one = 1, variable 217 s = fabs(x)-one; in erf() 223 if(hx>=0) return one-tiny; else return tiny-one; in erf() 226 s = one/(x*x); in erf() 238 if(hx>=0) return one-r/x; else return r/x-one; in erf() 259 return one-x; in erfc() 265 return one-(x+x*y); in erfc() 273 s = fabs(x)-one; in erfc() 277 z = one-erx; return z - P/Q; in erfc() 279 z = erx+P/Q; return one+z; in erfc() [all …]
|
H A D | s_tanhf.c | 20 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 D | s_tanh.c | 42 static const double one = 1.0, two = 2.0, huge = 1.0e300; variable 55 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */ in tanh() 56 else return one/x-one; /* tanh(NaN) = NaN */ in tanh() 62 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */ in tanh() 66 z = one - two/(t+two); in tanh() 73 z = one - tiny; /* raise inexact flag */ in tanh()
|
H A D | e_lgammaf_r.c | 25 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 D | e_j0.c | 66 one = 1.0, variable 89 if(ix>=0x7ff00000) return one/(x*x); in j0() 114 else return one - x*x/4; in j0() 119 s = one+z*(S01+z*(S02+z*(S03+z*S04))); in j0() 121 return one + z*((r/s)-qrtr); in j0() 124 return((one+u)*(one-u)+z*(r/s)); in j0() 156 if((ix|lx)==0) return -one/vzero; in y0() 195 v = one+z*(v01+z*(v02+z*(v03+z*v04))); in y0() 284 z = one/(x*x); in pzero() 287 return one+ r/s; in pzero() [all …]
|
H A D | e_j0f.c | 29 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 D | e_lgamma_r.c | 215 return one/vzero; in lgamma_r() 223 return one/vzero; in lgamma_r() 225 if(t==zero) return one/vzero; /* -integer */ in lgamma_r() 237 if(ix>=0x3FE76944) {y = one-x; i= 0;} in lgamma_r() 238 else if(ix>=0x3FCDA661) {y= x-(tc-one); i=1;} in lgamma_r() 244 else {y=x-one;i=2;} in lgamma_r() 263 p2 = one+y*(v1+y*(v2+y*(v3+y*(v4+y*v5)))); in lgamma_r() 274 z = one; /* lgamma(1+s) = log(s) + lgamma(s) */ in lgamma_r() 286 z = one/x; in lgamma_r() 289 r = (x-half)*(t-one)+w; in lgamma_r() [all …]
|
H A D | s_asinhf.c | 20 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/contrib/sendmail/libsm/ |
H A D | t-strl.c | 30 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 D | b-strl.c | 68 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/lib/msun/tests/ |
H A D | fma_test.c | 105 testall(-one, one, one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0); in test_zeroes() 106 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() 184 test(fmaf, one, one, 0x1.0p-100, 1.0 + FLT_EPSILON, in test_small_z() 186 test(fma, one, one, 0x1.0p-200, 1.0 + DBL_EPSILON, in test_small_z() 188 test(fmal, one, one, 0x1.0p-200, 1.0 + LDBL_EPSILON, in test_small_z() 197 test(fmaf, -one, one, -0x1.0p-100, -(1.0 + FLT_EPSILON), in test_small_z() 199 test(fma, -one, one, -0x1.0p-200, -(1.0 + DBL_EPSILON), in test_small_z() 210 test(fmaf, one, one, -0x1.0p-100, 1.0 - FLT_EPSILON / 2, in test_small_z() 212 test(fma, one, one, -0x1.0p-200, 1.0 - DBL_EPSILON / 2, in test_small_z() [all …]
|
/freebsd/tests/sys/net/ |
H A D | if_bridge_test.sh | 227 jexec one ifconfig ${bridge} up 228 jexec one ifconfig ${epair}a up 286 jexec one ifconfig ${bridge} up 287 jexec one ifconfig ${epair}a up 467 vnet_mkjail one ${epair}a 481 jexec one ifconfig ${gif_one} up 494 jexec one ping -c 1 192.0.2.2 498 jexec one ping -c 1 198.51.100.2 617 vnet_mkjail one ${epaira}b 625 jexec one ifconfig ${epaira}b up [all …]
|
H A D | if_stf.sh | 151 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 D | if_gif.sh | 45 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/contrib/bmake/unit-tests/ |
H A D | varmod-sysv.mk | 53 .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/tests/sys/netpfil/pf/ |
H A D | pfsync.sh | 72 jexec one pfctl -e 73 pft_set_rules one \ 224 jexec one pfctl -e 225 pft_set_rules one \ 620 jexec one pfctl -Fs 652 jexec one pfctl -Fs 691 vnet_mkjail one 698 jexec one pfctl -e 748 jexec one pfctl -e 810 jexec one pfctl -e [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/ |
H A D | tst.relenum.d | 41 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/lib/msun/ld128/ |
H A D | s_erfl.c | 28 one = 1, variable 220 s = ax-one; in erfl() 228 if(x>=0) return (one-tiny); else return (tiny-one); in erfl() 230 s = one/(ax*ax); in erfl() 248 if(x>=0) return (one-r/ax); else return (r/ax-one); in erfl() 262 return ((hx>>15)<<1)+one/x; in erfcl() 268 return one-x; in erfcl() 276 return one-(x+x*y); in erfcl() 284 s = ax-one; in erfcl() 292 z = erx+P/Q; return one+z; in erfcl() [all …]
|
/freebsd/tests/sys/kern/ |
H A D | unix_dgram.c | 177 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/usr.bin/ctags/test/ |
H A D | ctags.test | 17 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/lib/msun/ld80/ |
H A D | s_erfl.c | 31 one = 1, variable 246 s = ax-one; in erfl() 252 if(x>=0) RETURNI(one-tiny); else RETURNI(tiny-one); in erfl() 254 s = one/(ax*ax); in erfl() 266 if(x>=0) RETURNI(one-r/ax); else RETURNI(r/ax-one); in erfl() 280 return ((hx>>15)<<1)+one/x; in erfcl() 288 RETURNI(one-x); in erfcl() 294 RETURNI(one-(x+x*y)); in erfcl() 302 s = ax-one; in erfcl() 308 z = (erx+P/Q); RETURNI(one+z); in erfcl() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | dragonfly.c | 90 struct crypto_bignum *tmp, *pm1, *one; in dragonfly_get_rand_1_to_p_1() local 94 one = crypto_bignum_init_set((const u8 *) "\x01", 1); in dragonfly_get_rand_1_to_p_1() 95 if (!tmp || !pm1 || !one || in dragonfly_get_rand_1_to_p_1() 96 crypto_bignum_sub(prime, one, pm1) < 0 || in dragonfly_get_rand_1_to_p_1() 98 crypto_bignum_add(tmp, one, tmp) < 0) { in dragonfly_get_rand_1_to_p_1() 104 crypto_bignum_deinit(one, 0); in dragonfly_get_rand_1_to_p_1() 223 struct crypto_bignum *tmp, *one; in dragonfly_sqrt() local 233 one = crypto_bignum_init_uint(1); in dragonfly_sqrt() 238 !tmp || !one || in dragonfly_sqrt() 240 crypto_bignum_add(prime, one, tmp) < 0 || in dragonfly_sqrt() [all …]
|
/freebsd/tests/sys/net/if_ovpn/ |
H A D | if_ovpn.sh | 608 one=$(vnet_mkepair) 615 ifconfig ${one}a up 616 ifconfig ${bridge} addm ${one}a 622 vnet_mkjail one ${one}b 623 jexec one ifconfig ${one}b 192.0.2.2/24 up 663 ovpn_start one " 821 one=$(vnet_mkepair) 828 ifconfig ${one}a up 841 vnet_mkjail one ${one}b 843 jexec one ifconfig ${one}b 192.0.2.2/24 up [all …]
|