/netbsd-current/tests/lib/libc/stdlib/ |
H A D | t_mi_vector_hash.c | 50 uint32_t hashes[3]; member in struct:testvector 75 uint32_t hashes[3]; local 82 mi_vector_hash(buf + j, len, 0, hashes); 83 ATF_CHECK_EQ(hashes[0], testv[i].hashes[0]); 84 ATF_CHECK_EQ(hashes[1], testv[i].hashes[1]); 85 ATF_CHECK_EQ(hashes[2], testv[i].hashes[2]);
|
/netbsd-current/external/bsd/jemalloc/dist/test/unit/ |
H A D | hash.c | 64 VARIABLE_ARRAY(uint8_t, hashes, hashes_size); 70 memset(hashes, 0, hashes_size); 83 memcpy(&hashes[i*hashbytes], &out, hashbytes); 88 memcpy(&hashes[i*hashbytes], out, hashbytes); 93 memcpy(&hashes[i*hashbytes], out, hashbytes); 102 uint32_t out = hash_x86_32(hashes, hashes_size, 0); 107 hash_x86_128(hashes, hashes_size, 0, out); 112 hash_x64_128(hashes, hashes_size, 0, out);
|
/netbsd-current/common/lib/libc/cdb/ |
H A D | cdbr.c | 279 uint32_t hashes[3], idx; local 286 mi_vector_hash(key, key_len, cdbr->seed, hashes); 288 hashes[0] = fast_remainder32(hashes[0], cdbr->entries_index, 291 hashes[1] = fast_remainder32(hashes[1], cdbr->entries_index, 294 hashes[2] = fast_remainder32(hashes[2], cdbr->entries_index, 298 idx = get_uintX(cdbr->hash_base, hashes[0], cdbr->index_size); 299 idx += get_uintX(cdbr->hash_base, hashes[ [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/x509/ |
H A D | by_dir.c | 33 STACK_OF(BY_DIR_HASH) *hashes; 139 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); 195 ent->hashes = sk_BY_DIR_HASH_new(by_dir_hash_cmp); 197 if (ent->dir == NULL || ent->hashes == NULL) { 262 if (type == X509_LU_CRL && ent->hashes) { 265 idx = sk_BY_DIR_HASH_find(ent->hashes, &htmp); 267 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 349 idx = sk_BY_DIR_HASH_find(ent->hashes, &htmp); 350 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 362 if (!sk_BY_DIR_HASH_push(ent->hashes, hen [all...] |
/netbsd-current/lib/libc/cdb/ |
H A D | cdbw.c | 131 uint32_t hashes[3]; local 247 uint32_t hashes[3]; local 256 mi_vector_hash(key, keylen, 0, hashes); 258 head = cdbw->hash + (hashes[0] & (cdbw->hash_size - 1)); 262 if (key_hash->hashes[0] != hashes[0]) 264 if (key_hash->hashes[1] != hashes[1]) 266 if (key_hash->hashes[2] != hashes[ 429 uint32_t hashes[3]; local [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | tree-streamer.h | 53 /* The node hashes (if available). */ 54 vec<hashval_t> hashes; member in struct:streamer_tree_cache_d 104 return cache->hashes[ix];
|
H A D | tree-streamer.cc | 117 if (cache->hashes.exists ()) 119 if (cache->hashes.length () == ix) 120 cache->hashes.safe_push (hash); 122 cache->hashes[ix] = hash; 197 if (cache->hashes.exists ()) 411 cache->hashes.create (165); 433 c->hashes.release ();
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/ |
H A D | tree-streamer.c | 117 if (cache->hashes.exists ()) 119 if (cache->hashes.length () == ix) 120 cache->hashes.safe_push (hash); 122 cache->hashes[ix] = hash; 197 if (cache->hashes.exists ()) 410 cache->hashes.create (165); 432 c->hashes.release ();
|
H A D | tree-streamer.h | 53 /* The node hashes (if available). */ 54 vec<hashval_t> hashes; member in struct:streamer_tree_cache_d 106 return cache->hashes[ix];
|
/netbsd-current/external/bsd/jemalloc/dist/src/ |
H A D | ckh.c | 19 * fewest that can work, and supporting multiple hashes is an implementation 25 * #hashes | 1 | 2 | 4 | 8 | 82 size_t hashes[2], bucket, cell; local 86 ckh->hash(key, hashes); 89 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); 96 bucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); 138 size_t hashes[2], bucket, tbucket; local 150 * were an item for which both hashes indicated the same 168 ckh->hash(key, hashes); 169 tbucket = hashes[ 206 size_t hashes[2], bucket; local [all...] |
/netbsd-current/common/lib/libc/stdlib/ |
H A D | mi_vector_hash.c | 85 uint32_t hashes[3]) 179 hashes[0] = a; 180 hashes[1] = b; 181 hashes[2] = c;
|
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/x509/ |
H A D | by_dir.c | 42 STACK_OF(BY_DIR_HASH) *hashes; 154 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); 210 ent->hashes = sk_BY_DIR_HASH_new(by_dir_hash_cmp); 212 if (ent->dir == NULL || ent->hashes == NULL) { 278 if (type == X509_LU_CRL && ent->hashes) { 282 idx = sk_BY_DIR_HASH_find(ent->hashes, &htmp); 284 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 372 idx = sk_BY_DIR_HASH_find(ent->hashes, &htmp); 373 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 385 if (!sk_BY_DIR_HASH_push(ent->hashes, hen [all...] |
/netbsd-current/usr.bin/cksum/ |
H A D | cksum.c | 120 } hashes[] = { variable in typeref:struct:hash 177 for (hash = hashes; hash->hashname != NULL; hash++) 201 while (hashes[i].hashname != NULL) { 202 if (!strcasecmp(hashes[i].hashname, optarg)) { 203 hash = &hashes[i]; 347 for (nhash = hashes ;
|
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-cris/ |
H A D | tls-ok-30.d | 8 # supposedly depending on symbol hashes.
|
H A D | tls-ok-34.d | 9 # supposedly depending on symbol hashes.
|
/netbsd-current/sys/dev/usb/ |
H A D | if_udav.c | 565 uint8_t hashes[8]; local 588 memset(hashes, 0x00, sizeof(hashes)); 589 hashes[7] |= 0x80; /* broadcast address */ 590 udav_csr_write(un, UDAV_MAR, hashes, sizeof(hashes)); 606 hashes[h>>3] |= 1 << (h & 0x7); 616 udav_csr_write(un, UDAV_MAR, hashes, sizeof(hashes));
|
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
H A D | hash.h | 313 uint64_t hashes[2]; local 314 hash_x86_128(key, (int)len, seed, hashes); 315 r_hash[0] = (size_t)hashes[0]; 316 r_hash[1] = (size_t)hashes[1];
|
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/ |
H A D | hash.h | 313 uint64_t hashes[2]; local 314 hash_x86_128(key, (int)len, seed, hashes); 315 r_hash[0] = (size_t)hashes[0]; 316 r_hash[1] = (size_t)hashes[1];
|
/netbsd-current/usr.sbin/syslogd/ |
H A D | sign.h | 77 * the hashes in every SB are grouped into n divisions: 78 * * the 1st hashcount/n hashes are sent for the 1st time 79 * * the 2nd hashcount/n hashes are sent for the 2nd time 81 * * the n-th hashcount/n hashes are sent for the n-th time 104 /* the maximum number of hashes pec signature block */ 106 /* number of hashes in one signature block */ 134 /* queue of C-Strings (here used for hashes) */ 154 struct string_queue_head hashes; member in struct:signature_group_t
|
H A D | sign.c | 304 * signature group get hashes and need memory for them 321 STAILQ_INIT(&(x)->hashes); \ 467 if (!STAILQ_EMPTY(&sg->hashes)) { 469 * for the last few message hashes */ 523 && STAILQ_EMPTY(&sg->hashes))) 617 * if force==true then simply send all available hashes, e.g. on shutdown 619 * sliding window checks implicitly assume that new hashes are appended 631 size_t sg_num_hashes = 0; /* hashes in SG queue */ 632 size_t hashes_in_sb = 0; /* number of hashes in current SB */ 633 size_t hashes_sent = 0; /* count of hashes sen [all...] |
/netbsd-current/usr.bin/nbperf/ |
H A D | graph2.c | 179 uint32_t hashes[NBPERF_MAX_HASH_SIZE]; local 196 nbperf->keys[i], nbperf->keylens[i], hashes); 199 e->vertices[j] = hashes[j] % graph->v;
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/ |
H A D | passwd.c | 64 char **hashes, idNul; local 267 hashes = default_passwd_hash; 270 hashes = (char **)defhash; 274 for ( i=0; hashes[i]; i++ ) { 275 slap_passwd_hash_type( &qpw->rs_new, &hash, hashes[i], &rs->sr_text ); 293 if ( hashes[i] ) {
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | GlobalTypeTableBuilder.h | 68 ArrayRef<GloballyHashedType> hashes() const;
|
/netbsd-current/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | packet-parse.c | 1425 for (n = 0, hp = stream->hashes; n < stream->hashc; n++, hp++) { 2176 /* XXX: this could be improved by sharing all hashes that are the */ 2184 hash = realloc(stream->hashes, 2185 (stream->hashc + 1) * sizeof(*stream->hashes)); 2191 stream->hashes = hash; 2193 hash = &stream->hashes[stream->hashc++]; 2278 stream->hashes[n].hash.add(&stream->hashes[n].hash, data, (unsigned)length); 2483 pgp_hash_t hashes[(PGP_MAX_KEY_SIZE + PGP_MIN_HASH_SIZE - 1) / PGP_MIN_HASH_SIZE]; local 2543 pgp_hash_any(&hashes[ [all...] |
/netbsd-current/crypto/external/cpl/tpm-tools/dist/dist/ |
H A D | tpm-tools-nopkcs11.spec | 19 software state using cryptographic hashes and more.
|