Searched refs:h2 (Results 1 - 25 of 284) sorted by relevance

1234567891011>>

/netbsd-current/external/mpl/bind/dist/tests/isc/
H A Dhash_test.c42 unsigned int h2; local
48 h2 = isc_hash_function(NULL, 0, true);
50 assert_int_equal(h1, h2);
54 h2 = isc_hash_function("Hello world", 12, true);
56 assert_int_equal(h1, h2);
60 h2 = isc_hash_function("heLLo WorLd", 12, false);
62 assert_int_equal(h1, h2);
66 h2 = isc_hash_function("heLLo WorLd", 12, true);
68 assert_int_not_equal(h1, h2);
74 unsigned int h2; local
[all...]
H A Dsockaddr_test.c41 unsigned int h1, h2, h3, h4; local
49 h2 = isc_sockaddr_hash(&addr, false);
50 assert_int_not_equal(h1, h2);
58 assert_int_equal(h2, h4);
/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-udp-bind.c33 uv_udp_t h1, h2; local
43 r = uv_udp_init(loop, &h2);
49 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, 0);
53 uv_close((uv_handle_t*) &h2, NULL);
66 uv_udp_t h1, h2; local
76 r = uv_udp_init(loop, &h2);
82 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR);
86 uv_close((uv_handle_t*) &h2, NULL);
H A Dtest-udp-options.c117 uv_udp_t h2; local
140 ASSERT(0 == uv_udp_init_ex(loop, &h2, AF_INET | UV_UDP_RECVMMSG));
141 ASSERT(0 == uv_udp_set_multicast_ttl(&h2, 32));
142 ASSERT(0 == uv_udp_set_broadcast(&h2, 1));
146 ASSERT(UV_ENOTSUP == uv_udp_set_ttl(&h2, 1));
148 ASSERT(0 == uv_udp_set_ttl(&h2, 1));
151 ASSERT(0 == uv_udp_set_multicast_loop(&h2, 1));
152 ASSERT(0 == uv_udp_set_multicast_interface(&h2, "0.0.0.0"));
154 uv_close((uv_handle_t*) &h2, NULL);
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/
H A Dhash.h129 uint32_t h2 = seed; local
151 h1 = hash_rotl_32(h1, 19); h1 += h2;
154 k2 *= c2; k2 = hash_rotl_32(k2, 16); k2 *= c3; h2 ^= k2;
156 h2 = hash_rotl_32(h2, 17); h2 += h3;
157 h2 = h2*5 + 0x0bcaa747;
197 k2 *= c2; k2 = hash_rotl_32(k2, 16); k2 *= c3; h2 ^= k2;
209 h1 ^= len; h2
233 uint64_t h2 = seed; local
[all...]
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/
H A Dhash.h129 uint32_t h2 = seed; local
151 h1 = hash_rotl_32(h1, 19); h1 += h2;
154 k2 *= c2; k2 = hash_rotl_32(k2, 16); k2 *= c3; h2 ^= k2;
156 h2 = hash_rotl_32(h2, 17); h2 += h3;
157 h2 = h2*5 + 0x0bcaa747;
197 k2 *= c2; k2 = hash_rotl_32(k2, 16); k2 *= c3; h2 ^= k2;
209 h1 ^= len; h2
233 uint64_t h2 = seed; local
[all...]
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_onetimeauth/poly1305/donna/
H A Dpoly1305_donna32.h62 unsigned long h0, h1, h2, h3, h4; local
79 h2 = st->h[2];
87 h2 += (LOAD32_LE(m + 6) >> 4) & 0x3ffffff;
93 ((unsigned long long) h2 * s3) + ((unsigned long long) h3 * s2) +
96 ((unsigned long long) h2 * s4) + ((unsigned long long) h3 * s3) +
99 ((unsigned long long) h2 * r0) + ((unsigned long long) h3 * s4) +
102 ((unsigned long long) h2 * r1) + ((unsigned long long) h3 * r0) +
105 ((unsigned long long) h2 * r2) + ((unsigned long long) h3 * r1) +
116 h2 = (unsigned long) d2 & 0x3ffffff;
134 st->h[2] = h2;
142 unsigned long h0, h1, h2, h3, h4, c; local
[all...]
H A Dpoly1305_donna64.h69 unsigned long long h0, h1, h2; local
79 h2 = st->h[2];
93 h2 += (((t1 >> 24)) & 0x3ffffffffff) | hibit;
99 MUL(d, h2, s1);
104 MUL(d, h2, s2);
109 MUL(d, h2, r0);
120 h2 = LO(d2) & 0x3ffffffffff;
132 st->h[2] = h2;
138 unsigned long long h0, h1, h2, c; local
158 h2
[all...]
/netbsd-current/sys/external/isc/libsodium/dist/test/default/
H A Dmetamorphic.c12 unsigned char *h, *h2; local
32 h2 = (unsigned char *) sodium_malloc(hlen);
45 crypto_generichash(h2, hlen, m, mlen, k, klen);
47 assert(memcmp(h, h2, hlen) == 0);
49 sodium_free(h2);
60 unsigned char *h, *h2; local
72 h2 = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES);
85 crypto_onetimeauth(h2, m, mlen, k);
87 assert(memcmp(h, h2, crypto_onetimeauth_BYTES) == 0);
89 sodium_free(h2);
100 unsigned char *h, *h2; local
140 unsigned char *h, *h2; local
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/poly1305/asm/
H A Dpoly1305-s390x.pl80 my ($d0hi,$d0lo,$d1hi,$d1lo,$t0,$h0,$t1,$h1,$h2) = map("%r$_",(6..14));
102 lg $h2,16($ctx)
125 alcgr $h2,$padbit
128 lgr $d1lo,$h2
135 msgr $d1lo,$s1 # h2*s1
136 msgr $h2,$r0 # h2*r0
142 alcgr $h2,$t1
145 ngr $h0,$h2
146 srlg $t0,$h2,
[all...]
H A Dpoly1305-ppc.pl92 my ($h0,$h1,$h2,$d0,$d1,$d2, $r0,$r1,$s1, $t0,$t1) = map("r$_",(7..12,27..31));
160 ld $h2,16($ctx)
194 adde $h2,$h2,$padbit
211 mulld $t0,$h2,$s1 # h2*5*r1
212 mulld $t1,$h2,$r0 # h2*r0
217 and $h2,$d2,$mask
222 addze $h2,
[all...]
H A Dpoly1305-armv8.pl51 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
127 ldr $h2,[$ctx,#16]
143 adc $h2,$h2,$padbit
160 mul $t0,$h2,$s1 // h2*5*r1
162 mul $t1,$h2,$r0 // h2*r0
168 and $h2,$d2,#3
172 adc $h2,
[all...]
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dpoly1305.c35 uint32_t h0,h1,h2,h3,h4; local
67 h2 = 0;
84 h2 += ((((uint64_t)t2 << 32) | t1) >> 20) & 0x3ffffff;
90 t[0] = mul32x32_64(h0,r0) + mul32x32_64(h1,s4) + mul32x32_64(h2,s3) + mul32x32_64(h3,s2) + mul32x32_64(h4,s1);
91 t[1] = mul32x32_64(h0,r1) + mul32x32_64(h1,r0) + mul32x32_64(h2,s4) + mul32x32_64(h3,s3) + mul32x32_64(h4,s2);
92 t[2] = mul32x32_64(h0,r2) + mul32x32_64(h1,r1) + mul32x32_64(h2,r0) + mul32x32_64(h3,s4) + mul32x32_64(h4,s3);
93 t[3] = mul32x32_64(h0,r3) + mul32x32_64(h1,r2) + mul32x32_64(h2,r1) + mul32x32_64(h3,r0) + mul32x32_64(h4,s4);
94 t[4] = mul32x32_64(h0,r4) + mul32x32_64(h1,r3) + mul32x32_64(h2,r2) + mul32x32_64(h3,r1) + mul32x32_64(h4,r0);
98 t[2] += b; h2 = (uint32_t)t[2] & 0x3ffffff; b = (uint32_t)(t[2] >> 26);
121 h2
[all...]
/netbsd-current/external/mit/isl/dist/include/isl/
H A Dhash.h26 #define isl_hash_hash(h,h2) \
28 isl_hash_byte(h, (h2) & 0xFF); \
29 isl_hash_byte(h, ((h2) >> 8) & 0xFF); \
30 isl_hash_byte(h, ((h2) >> 16) & 0xFF); \
31 isl_hash_byte(h, ((h2) >> 24) & 0xFF); \
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/poly1305/
H A Dpoly1305_base2_44.c87 u64 h0, h1, h2, c; local
100 h2 = st->h[2];
111 h2 += (m1 >> 24) + pad;
114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1);
115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2);
116 d2 = ((u128)h0 * r2) + ((u128)h1 * r1) + ((u128)h2 * r0);
121 h2 = (u64)(d2 += (u64)(d1 >> 44)) & 0x03ffffffffff; /* last 42 bits */
132 st->h[2] = h2;
138 u64 h0, h1, h2; local
145 h2
[all...]
H A Dpoly1305.c155 u64 h0, h1, h2, c; local
165 h2 = st->h[2];
175 h2 += (u64)(d1 >> 64) + padbit;
182 (h2 * s1);
183 h2 = (h2 * r0);
186 /* a) h2:h0 = h2<<128 + d1<<64 + d0 */
189 h2 += (u64)(d1 >> 64);
190 /* b) (h2
219 u64 h0, h1, h2; local
297 u32 h0, h1, h2, h3, h4, c; local
385 u32 h0, h1, h2, h3, h4; local
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/poly1305/
H A Dpoly1305_base2_44.c87 u64 h0, h1, h2, c; local
100 h2 = st->h[2];
111 h2 += (m1 >> 24) + pad;
114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1);
115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2);
116 d2 = ((u128)h0 * r2) + ((u128)h1 * r1) + ((u128)h2 * r0);
121 h2 = (u64)(d2 += (u64)(d1 >> 44)) & 0x03ffffffffff; /* last 42 bits */
132 st->h[2] = h2;
138 u64 h0, h1, h2; local
145 h2
[all...]
H A Dpoly1305.c153 u64 h0, h1, h2, c; local
163 h2 = st->h[2];
173 h2 += (u64)(d1 >> 64) + padbit;
180 (h2 * s1);
181 h2 = (h2 * r0);
184 /* a) h2:h0 = h2<<128 + d1<<64 + d0 */
187 h2 += (u64)(d1 >> 64);
188 /* b) (h2
217 u64 h0, h1, h2; local
295 u32 h0, h1, h2, h3, h4, c; local
383 u32 h0, h1, h2, h3, h4; local
[all...]
/netbsd-current/external/mpl/bind/dist/lib/isc/netmgr/
H A Dhttp.c387 uri = sock->h2.session->handle->sock->h2.connect.uri;
388 post = sock->h2.session->handle->sock->h2.connect.post;
450 ISC_LIST_PREPEND(sock->h2.session->cstreams, stream, link);
473 if (stream == stream->httpsock->h2.connect.cstream) {
474 stream->httpsock->h2.connect.cstream = NULL;
477 ISC_LIST_UNLINK(stream->httpsock->h2.session->cstreams, stream,
554 isc_nmsocket_h2_t *h2 = ISC_LIST_HEAD(session->sstreams); local
555 while (h2 !
[all...]
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c35 uint64_t h2 = load_3(s + 7) << 5; local
55 carry1 = h1 >> 25; h2 += carry1; h1 &= 0x1FFFFFF;
61 carry2 = h2 >> 26; h3 += carry2; h2 &= 0x3FFFFFF;
68 h[2] = h2;
/netbsd-current/libexec/httpd/
H A Dprintenv.lua44 httpd.print('<h2>Server Environment</h2>')
50 httpd.print('<h2>Request Headers</h2>')
56 httpd.print('<h2>Query Variables</h2>')
62 httpd.print('<h2>Form Test</h2>')
83 httpd.print('<h2>Form Variables</h2>')
[all...]
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h10 int64_t h2 = load_3(s + 7) << 5; local
34 h2 += carry1;
49 carry2 = (h2 + (int64_t)(1L << 25)) >> 26;
51 h2 -= carry2 * ((uint64_t) 1L << 26);
64 h[2] = (int32_t) h2;
104 int32_t h2 = f[2]; local
119 q = (h2 + q) >> 26;
136 h2 += carry1;
138 carry2 = h2 >> 26;
140 h2
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/poly1305/asm/
H A Dpoly1305-armv8.pl55 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
127 ldr $h2,[$ctx,#16]
143 adc $h2,$h2,$padbit
160 mul $t0,$h2,$s1 // h2*5*r1
162 mul $t1,$h2,$r0 // h2*r0
168 and $h2,$d2,#3
172 adc $h2,
[all...]
/netbsd-current/external/gpl2/dtc/dist/tests/
H A Dreferences.c69 uint32_t h1, h2, h4, h5, h6, hn; local
94 h2 = fdt_get_phandle(fdt, n2);
102 if (h2 != 0x1)
104 h2, 0x1);
113 if ((h5 == h4) || (h5 == h2) || (h5 == h1))
124 check_ref(fdt, n1, h2);
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/aarch64/
H A Dfloat-fp16.s7 fccmp h1, h2, #0, le
12 fccmpe h1, h2, #0, le
17 fcmp h1, h2
22 fcmpe h1, h2
56 \op h0, h1, h2
68 \op h0, h1, h2, h3

Completed in 187 milliseconds

1234567891011>>