| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | poly1305_internal_test.c | 1543 size_t half = inlen / 2; in test_poly1305() local 1546 Poly1305_Update(&poly1305, in, half); in test_poly1305() 1547 Poly1305_Update(&poly1305, in+half, inlen-half); in test_poly1305() 1555 for (half = 16; half < inlen; half += 16) { in test_poly1305() 1557 Poly1305_Update(&poly1305, in, half); in test_poly1305() 1558 Poly1305_Update(&poly1305, in+half, inlen-half); in test_poly1305() 1563 idx, half, inlen-half); in test_poly1305()
|
| H A D | siphash_internal_test.c | 223 size_t half = inlen / 2; in test_siphash() local 228 SipHash_Update(&siphash, in, half); in test_siphash() 229 SipHash_Update(&siphash, in+half, inlen-half); in test_siphash() 238 for (half = 16; half < inlen; half += 16) { in test_siphash() 242 SipHash_Update(&siphash, in, half); in test_siphash() 243 SipHash_Update(&siphash, in+half, inlen-half); in test_siphash() 249 idx, half, inlen-half); in test_siphash()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | poly1305_internal_test.c | 1542 size_t half = inlen / 2; in test_poly1305() local 1545 Poly1305_Update(&poly1305, in, half); in test_poly1305() 1546 Poly1305_Update(&poly1305, in+half, inlen-half); in test_poly1305() 1554 for (half = 16; half < inlen; half += 16) { in test_poly1305() 1556 Poly1305_Update(&poly1305, in, half); in test_poly1305() 1557 Poly1305_Update(&poly1305, in+half, inlen-half); in test_poly1305() 1562 idx, half, inlen-half); in test_poly1305()
|
| H A D | siphash_internal_test.c | 222 size_t half = inlen / 2; in test_siphash() local 227 SipHash_Update(&siphash, in, half); in test_siphash() 228 SipHash_Update(&siphash, in+half, inlen-half); in test_siphash() 237 for (half = 16; half < inlen; half += 16) { in test_siphash() 241 SipHash_Update(&siphash, in, half); in test_siphash() 242 SipHash_Update(&siphash, in+half, inlen-half); in test_siphash() 248 idx, half, inlen-half); in test_siphash()
|
| /netbsd-src/lib/libm/src/ |
| H A D | e_coshf.c | 25 static const float one = 1.0, half=0.5; variable 50 return half*t+half/t; in __ieee754_coshf() 54 if (ix < 0x42b17180) return half*__ieee754_expf(fabsf(x)); in __ieee754_coshf() 58 w = __ieee754_expf(half*fabsf(x)); in __ieee754_coshf() 59 t = half*w; in __ieee754_coshf()
|
| H A D | e_cosh.c | 42 static const double one = 1.0, half=0.5, huge = 1.0e300; variable 69 return half*t+half/t; in __ieee754_cosh() 73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x)); in __ieee754_cosh() 79 w = __ieee754_exp(half*fabs(x)); in __ieee754_cosh() 80 t = half*w; in __ieee754_cosh()
|
| /netbsd-src/external/gpl3/gcc/dist/libquadmath/math/ |
| H A D | coshq.c | 56 static const __float128 one = 1.0, half = 0.5, huge = 1.0e4900Q, variable 91 return half * t + half / t; in coshq() 96 return half * expq (u.value); in coshq() 101 w = expq (half * u.value); in coshq() 102 t = half * w; in coshq()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libquadmath/math/ |
| H A D | coshq.c | 56 static const __float128 one = 1.0, half = 0.5, huge = 1.0e4900Q, variable 91 return half * t + half / t; in coshq() 96 return half * expq (u.value); in coshq() 101 w = expq (half * u.value); in coshq() 102 t = half * w; in coshq()
|
| /netbsd-src/external/lgpl3/gmp/dist/mpn/generic/ |
| H A D | toom8h_mul.c | 121 int p, q, half; in mpn_toom8h_mul() local 142 half = 0; in mpn_toom8h_mul() 173 half = (p+q)&1; in mpn_toom8h_mul() 180 if(half) { /* Recover from badly chosen splitting */ in mpn_toom8h_mul() 181 if (UNLIKELY (s<1)) {p--; s+=n; half=0;} in mpn_toom8h_mul() 182 else if (UNLIKELY (t<1)) {q--; t+=n; half=0;} in mpn_toom8h_mul() 190 ASSERT (half || s + t > 3); in mpn_toom8h_mul() 222 mpn_toom_couple_handling (r7, 2 * n + 1 + BIT_CORRECTION, pp, sign, n, 3*(1+half), 3*(half)); in mpn_toom8h_mul() 229 mpn_toom_couple_handling (r5, 2 * n + 1, pp, sign, n, 2*(1+half), 2*(half)); in mpn_toom8h_mul() 250 mpn_toom_couple_handling (r6, 2 * n + 1, pp, sign, n, 1+half, half); in mpn_toom8h_mul() [all …]
|
| H A D | toom6h_mul.c | 111 int p, q, half; in mpn_toom6h_mul() local 131 half = 0; in mpn_toom6h_mul() 148 half = (p ^ q) & 1; in mpn_toom6h_mul() 156 if (half) { /* Recover from badly chosen splitting */ in mpn_toom6h_mul() 157 if (UNLIKELY (s<1)) {p--; s+=n; half=0;} in mpn_toom6h_mul() 158 else if (UNLIKELY (t<1)) {q--; t+=n; half=0;} in mpn_toom6h_mul() 166 ASSERT (half || s + t > 3); in mpn_toom6h_mul() 195 mpn_toom_couple_handling (r5, 2 * n + 1, pp, sign, n, 1+half , half); in mpn_toom6h_mul() 219 mpn_toom_couple_handling (r4, 2 * n + 1, pp, sign, n, 2*(1+half), 2*(half)); in mpn_toom6h_mul() 238 if (UNLIKELY (half != 0)) { in mpn_toom6h_mul() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Headers/ |
| H A D | opencl-c.h | 5462 uchar __ovld __cnfn convert_uchar(half); 5463 uchar __ovld __cnfn convert_uchar_rte(half); 5464 uchar __ovld __cnfn convert_uchar_rtp(half); 5465 uchar __ovld __cnfn convert_uchar_rtn(half); 5466 uchar __ovld __cnfn convert_uchar_rtz(half); 5467 uchar __ovld __cnfn convert_uchar_sat(half); 5468 uchar __ovld __cnfn convert_uchar_sat_rte(half); 5469 uchar __ovld __cnfn convert_uchar_sat_rtp(half); 5470 uchar __ovld __cnfn convert_uchar_sat_rtn(half); 5471 uchar __ovld __cnfn convert_uchar_sat_rtz(half); [all …]
|
| /netbsd-src/sys/arch/x68k/stand/aout2hux/ |
| H A D | aout2hux.c | 494 if (fread(&b1.half[0], SIZE_16, 1, fpa1) != 1) \ 496 if (fread(&b2.half[0], SIZE_16, 1, fpa2) != 1) \ 502 if (b1.half[0].hostval != b2.half[0].hostval) \ 504 fwrite(&b1.half[0], SIZE_16, 1, fpx); \ 508 if (fread(&b1.half[1], SIZE_16, 1, fpa1) != 1)\ 510 if (fread(&b2.half[1], SIZE_16, 1, fpa2) != 1)\ 527 } else if (b1.half[0].hostval == b2.half[0].hostval) {\ 528 fwrite(&b1.half[0], SIZE_16, 1, fpx); \ 530 b1.half[0] = b1.half[1]; \ 531 b2.half[0] = b2.half[1]; \ [all …]
|
| /netbsd-src/sys/arch/hpcmips/stand/lcboot/ |
| H A D | start.S | 484 .half 34 /* length */ 485 .half 0 /* reserved */ 488 .half 0 /* fb_line_bytes */ 489 .half 0 /* fb_width */ 490 .half 0 /* fb_height */ 491 .half 0 /* fb_type */ 492 .half 2 /* BI_CNUSE_SERIAL */ 493 .half 0 /* padding */
|
| /netbsd-src/external/mit/libcbor/dist/src/cbor/internal/ |
| H A D | loaders.c | 54 int half = (halfp[0] << 8) + halfp[1]; in _cbor_decode_half() local 55 int exp = (half >> 10) & 0x1f; in _cbor_decode_half() 56 int mant = half & 0x3ff; in _cbor_decode_half() 64 return (float)(half & 0x8000 ? -val : val); in _cbor_decode_half()
|
| /netbsd-src/lib/libm/noieee_src/ |
| H A D | n_log1p.c | 127 half=1.0/2.0, small=1.0E-20; /* 1+small == 1 */ in __weak_alias() local 142 { k += 1 ; z *= half; t *= half; } in __weak_alias() 147 s = x/(2+x); t = x*x*half; in __weak_alias()
|
| H A D | n_cosh.c | 117 static const double half=1.0/2.0, in cosh() local 130 { t=exp(x); return((t+one/t)*half); } in cosh() 140 return(exp(x)*half); /* for large x, cosh(x)=exp(x)/2 */ in cosh()
|
| H A D | n_exp__E.c | 113 static const double zero=0.0, one=1.0, half=1.0/2.0, small=1.0E-19; in __exp__E() local 124 xh= x*half ; in __exp__E() 128 return(z*half+c); in __exp__E()
|
| H A D | n_expm1.c | 123 static const double one=1.0, half=1.0/2.0; in expm1() local 143 {x=z+half;x +=__exp__E(z,c); return(x+x);} in expm1() 145 {z+=__exp__E(z,c); x=half+z; return(x+x);} in expm1()
|
| /netbsd-src/tests/lib/libc/gen/ |
| H A D | t_closefrom.c | 84 int buf[16], cur, half; in ATF_TC_BODY() local 104 half = STDERR_FILENO + __arraycount(buf) / 2; in ATF_TC_BODY() 105 ATF_REQUIRE(closefrom(half) == 0); in ATF_TC_BODY() 108 ATF_REQUIRE(cur == half - 1); in ATF_TC_BODY()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/math/ |
| H A D | biguintcore.d | 1693 immutable half = (x.length >> 1) + (x.length & 1); 1718 mulKaratsuba(result[0 .. half + y.length], y, x[0 .. half], scratchbuff); 1719 partial[] = result[half .. half + y.length]; 1720 mulKaratsuba(result[half .. $], y, x[half .. $], scratchbuff); 1721 BigDigit c = addAssignSimple(result[half .. half + y.length], partial); 1722 if (c) multibyteIncrementAssign!('+')(result[half + y.length..$], c); 2409 auto half = (x.length >> 1) + (x.length & 1); 2411 const(BigDigit) [] x0 = x[0 .. half]; 2412 const(BigDigit) [] x1 = x[half .. $]; 2413 const(BigDigit) [] y0 = y[0 .. half]; [all …]
|
| /netbsd-src/common/lib/libc/arch/mips/string/ |
| H A D | ffs.S | 93 and v1, a0, a3 # focus no lower half of bits left 94 bnez v1, 2f # any of the lower half set? 96 addu v0, a2 # nope, then bit is in the upper half 105 srlv a3, a3, a2 # shrink mask in half
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/math/ |
| H A D | biguintcore.d | 1389 immutable half = (x.length >> 1) + (x.length & 1); in mulInternal() local 2044 auto half = (x.length >> 1) + (x.length & 1); in mulKaratsuba() local 2046 const(BigDigit) [] x0 = x[0 .. half]; in mulKaratsuba() 2047 const(BigDigit) [] x1 = x[half .. $]; in mulKaratsuba() 2048 const(BigDigit) [] y0 = y[0 .. half]; in mulKaratsuba() 2049 const(BigDigit) [] y1 = y[half .. $]; in mulKaratsuba() 2050 BigDigit [] mid = scratchbuff[0 .. half*2]; in mulKaratsuba() 2051 BigDigit [] newscratchbuff = scratchbuff[half*2 .. $]; in mulKaratsuba() 2052 BigDigit [] resultLow = result[0 .. 2*half]; in mulKaratsuba() 2053 BigDigit [] resultHigh = result[2*half .. $]; in mulKaratsuba() [all …]
|
| /netbsd-src/external/lgpl3/mpfr/dist/src/ |
| H A D | sub1.c | 504 mp_limb_t half = MPFR_LIMB_HIGHBIT; in mpfr_sub1() local 514 if (cc >= half) in mpfr_sub1() 515 cc -= half; in mpfr_sub1() 517 bb += half; in mpfr_sub1() 524 if (cc < half) in mpfr_sub1() 525 cc += half; in mpfr_sub1() 527 bb -= half; in mpfr_sub1()
|
| /netbsd-src/games/gomoku/ |
| H A D | bdisp.c | 135 int half = remaining / 2; in bdwho() local 137 if (bw <= half) in bdwho() 139 else if (ww <= half) in bdwho() 142 bw = half, ww = remaining - half; in bdwho()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
| H A D | BIO_s_bio.pod | 34 BIOs where data written to either half of the pair is buffered and can be read from 35 the other half. Both halves must usually by handled by the same application thread 39 one half of a BIO pair and have all the data processed by the chain under application 60 up any half of the pair will automatically destroy the association. 64 half of the pair will return any pending data or EOF when all pending data has 88 last read attempt at the other half of the BIO pair failed due to an 103 Both halves of a BIO pair should be freed. That is even if one half is implicit 104 freed due to a BIO_free_all() or SSL_free() call the other half needs to be freed. 108 on the other half of the pair and, if any data is pending, reading it and sending
|