/third_party/gettext/gettext-tools/src/ |
D | write-java.c | 179 unsigned int hashsize; in compute_hashsize() local 194 for (hashsize = n; hashsize <= XXN * n; hashsize++) in compute_hashsize() 202 if (hashsize >= best_score) in compute_hashsize() 205 bitmap = XNMALLOC (hashsize, char); in compute_hashsize() 206 memset (bitmap, 0, hashsize); in compute_hashsize() 211 unsigned int idx = hashcodes[j] % hashsize; in compute_hashsize() 216 if ((hashsize % 2) == 0) in compute_hashsize() 222 unsigned int incr = 1 + (hashcodes[j] % (hashsize - 2)); in compute_hashsize() 228 if (idx >= hashsize) in compute_hashsize() 229 idx -= hashsize; in compute_hashsize() [all …]
|
/third_party/openssl/test/ |
D | tls13secretstest.c | 226 size_t hashsize; in test_secret() local 233 if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashsize)) { in test_secret() 238 if (!tls13_hkdf_expand(s, md, prk, label, labellen, hash, hashsize, in test_secret() 239 gensecret, hashsize, 1)) { in test_secret() 244 if (!TEST_mem_eq(gensecret, hashsize, ref_secret, hashsize)) in test_secret() 271 size_t hashsize; in test_handshake_secrets() local 309 hashsize = EVP_MD_size(ssl_handshake_md(s)); in test_handshake_secrets() 310 if (!TEST_size_t_eq(sizeof(client_hts), hashsize)) in test_handshake_secrets() 325 if (!TEST_size_t_eq(sizeof(server_hts), hashsize)) in test_handshake_secrets() 347 s->handshake_secret, hashsize, in test_handshake_secrets() [all …]
|
/third_party/openssl/ssl/ |
D | tls13_enc.c | 794 unsigned int hashsize, datalen; in tls13_export_keying_material() local 805 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material() 810 data, datalen, exportsecret, hashsize, 0) in tls13_export_keying_material() 812 sizeof(exporterlabel) - 1, hash, hashsize, in tls13_export_keying_material() 836 unsigned int hashsize, datalen; in tls13_export_keying_material_early() local 868 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material_early() 873 data, datalen, exportsecret, hashsize, 0) in tls13_export_keying_material_early() 875 sizeof(exporterlabel) - 1, hash, hashsize, in tls13_export_keying_material_early()
|
/third_party/openssl/ssl/statem/ |
D | extensions.c | 1487 size_t bindersize, labelsize, hashsize; in tls_psk_do_binder() local 1498 hashsize = (size_t)hashsizei; in tls_psk_do_binder() 1548 hashsize, binderkey, hashsize, 1)) { in tls_psk_do_binder() 1554 if (!tls13_derive_finishedkey(s, md, binderkey, finishedkey, hashsize)) { in tls_psk_do_binder() 1618 hashsize); in tls_psk_do_binder() 1628 bindersize = hashsize; in tls_psk_do_binder() 1630 || EVP_DigestSignUpdate(mctx, hash, hashsize) <= 0 in tls_psk_do_binder() 1632 || bindersize != hashsize) { in tls_psk_do_binder() 1642 ret = (CRYPTO_memcmp(binderin, binderout, hashsize) == 0); in tls_psk_do_binder()
|
D | extensions_srvr.c | 1053 size_t binderoffset, hashsize; in tls_parse_ctos_psk() local 1254 hashsize = EVP_MD_size(md); in tls_parse_ctos_psk() 1270 if (PACKET_remaining(&binder) != hashsize) { in tls_parse_ctos_psk()
|
/third_party/curl/lib/ |
D | multiif.h | 44 struct Curl_multi *Curl_multi_handle(int hashsize, int chashsize);
|
D | multi.c | 335 static int sh_init(struct Curl_hash *hash, int hashsize) in sh_init() argument 337 return Curl_hash_init(hash, hashsize, hash_fd, fd_key_compare, in sh_init() 355 struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */ in Curl_multi_handle() argument 368 if(sh_init(&multi->sockhash, hashsize)) in Curl_multi_handle()
|
/third_party/libnl/lib/ |
D | hash.c | 54 #define hashsize(n) ((uint32_t)1<<(n)) macro 55 #define hashmask(n) (hashsize(n)-1)
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctputil.c | 7301 long hashsize; local 7314 for (hashsize = 1; hashsize <= elements; hashsize <<= 1) 7316 hashsize >>= 1; 7318 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type, M_WAITOK); 7320 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type, M_NOWAIT); 7333 for (i = 0; i < hashsize; i++) 7335 *hashmask = hashsize - 1; 7352 long hashsize; local 7364 for (hashsize = 1; hashsize <= elements; hashsize <<= 1) 7366 hashsize >>= 1; [all …]
|