Searched refs:hashes (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dfnv1a.c70 fnv1a_32x4(apr_uint32_t hashes[SCALING], const void *input, apr_size_t len) argument
72 /* calculate SCALING interleaved FNV-1a hashes while the input
78 hashes[0] ^= data[0];
79 hashes[0] *= FNV1_PRIME_32;
80 hashes[1] ^= data[1];
81 hashes[1] *= FNV1_PRIME_32;
82 hashes[2] ^= data[2];
83 hashes[2] *= FNV1_PRIME_32;
84 hashes[3] ^= data[3];
85 hashes[
95 finalize_fnv1a_32x4(apr_uint32_t hashes[SCALING], const void *input, apr_size_t len) argument
126 apr_uint32_t hashes[SCALING] local
136 svn__fnv1a_32x4_raw(apr_uint32_t hashes[4], const void *input, apr_size_t len) argument
185 apr_uint32_t hashes[SCALING]; member in struct:svn_fnv1a_32x4__context_t
[all...]
H A Dfnv1a.h83 svn__fnv1a_32x4_raw(apr_uint32_t hashes[4],
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_mi_vector_hash.c50 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]);
/freebsd-10-stable/crypto/openssl/crypto/x509/
H A Dby_dir.c83 STACK_OF(BY_DIR_HASH) *hashes;
181 if (ent->hashes)
182 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free);
237 ent->hashes = sk_BY_DIR_HASH_new(by_dir_hash_cmp);
239 if (!ent->dir || !ent->hashes) {
312 if (type == X509_LU_CRL && ent->hashes) {
315 idx = sk_BY_DIR_HASH_find(ent->hashes, &htmp);
317 hent = sk_BY_DIR_HASH_value(ent->hashes, idx);
398 idx = sk_BY_DIR_HASH_find(ent->hashes, &htmp);
400 hent = sk_BY_DIR_HASH_value(ent->hashes, id
[all...]
/freebsd-10-stable/contrib/jemalloc/src/
H A Dckh.c19 * fewest that can work, and supporting multiple hashes is an implementation
25 * #hashes | 1 | 2 | 4 | 8 |
73 size_t hashes[2], bucket, cell; local
77 ckh->hash(key, hashes);
80 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1);
86 bucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1);
129 size_t hashes[2], bucket, tbucket; local
141 * were an item for which both hashes indicated the same
158 ckh->hash(key, hashes);
159 tbucket = hashes[
196 size_t hashes[2], bucket; local
[all...]
/freebsd-10-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dhash.h322 uint64_t hashes[2];
323 hash_x86_128(key, len, seed, hashes);
324 r_hash[0] = (size_t)hashes[0];
325 r_hash[1] = (size_t)hashes[1];
/freebsd-10-stable/contrib/tcsh/
H A Dsh.hist.c431 generateHashes(int nChars, unsigned nWords, unsigned samples, unsigned *hashes, argument
485 hashes[hash2tableIndex(hash, length)]++;
512 unsigned hashes[4]; /* dummy place to put hashes */ local
519 generateHashes(length, words, 0, hashes, 4);
527 unsigned *hashes = xmalloc(length*sizeof(unsigned)); local
528 memset(hashes, 0, length*sizeof(unsigned));
529 /* Compute collision statistics for half full hashes modulo "length". */
530 generateHashes(4, 1, length/2, hashes, length);
538 unsigned hits = hashes[
[all...]
/freebsd-10-stable/sys/arm/allwinner/
H A Dif_emac.c198 uint32_t h, hashes[2]; local
211 hashes[0] = 0;
212 hashes[1] = 0;
214 hashes[0] = 0xffffffff;
215 hashes[1] = 0xffffffff;
223 hashes[h >> 5] |= 1 << (h & 0x1f);
229 EMAC_WRITE_REG(sc, EMAC_RX_HASH0, hashes[0]);
230 EMAC_WRITE_REG(sc, EMAC_RX_HASH1, hashes[1]);
/freebsd-10-stable/contrib/subversion/subversion/libsvn_fs_fs/
H A Drep-cache-db.sql25 /* A table mapping representation hashes to locations in a rev file. */
/freebsd-10-stable/contrib/subversion/subversion/libsvn_fs_x/
H A Drep-cache-db.sql27 /* A table mapping representation hashes to locations in a rev file. */
/freebsd-10-stable/sys/dev/rl/
H A Dif_rl.c517 uint32_t hashes[2] = { 0, 0 }; local
535 hashes[0] = 0xFFFFFFFF;
536 hashes[1] = 0xFFFFFFFF;
546 hashes[0] |= (1 << h);
548 hashes[1] |= (1 << (h - 32));
551 if (hashes[0] != 0 || hashes[1] != 0)
555 CSR_WRITE_4(sc, RL_MAR0, hashes[0]);
556 CSR_WRITE_4(sc, RL_MAR4, hashes[1]);
/freebsd-10-stable/sys/dev/usb/net/
H A Dif_rue.c473 uint32_t hashes[2] = { 0, 0 }; local
503 hashes[0] |= (1 << h);
505 hashes[1] |= (1 << (h - 32));
518 rue_csr_write_4(sc, RUE_MAR0, hashes[0]);
519 rue_csr_write_4(sc, RUE_MAR4, hashes[1]);
/freebsd-10-stable/sys/dev/sge/
H A Dif_sge.c448 uint32_t crc, hashes[2]; local
463 hashes[0] = 0xFFFFFFFF;
464 hashes[1] = 0xFFFFFFFF;
467 hashes[0] = hashes[1] = 0;
475 hashes[crc >> 31] |= 1 << ((crc >> 26) & 0x1f);
480 CSR_WRITE_4(sc, RxHashTable, hashes[0]);
481 CSR_WRITE_4(sc, RxHashTable2, hashes[1]);
/freebsd-10-stable/sys/dev/vge/
H A Dif_vge.c539 uint32_t h, hashes[2]; local
546 hashes[0] = 0;
547 hashes[1] = 0;
565 hashes[0] = 0xFFFFFFFF;
566 hashes[1] = 0xFFFFFFFF;
593 hashes[0] |= (1 << h);
595 hashes[1] |= (1 << (h - 32));
601 if (hashes[0] != 0 || hashes[1] != 0)
603 CSR_WRITE_4(sc, VGE_MAR0, hashes[
[all...]
/freebsd-10-stable/sys/dev/sk/
H A Dif_sk.c723 u_int32_t hashes[2] = { 0, 0 }, mode; local
744 hashes[0] = 0xFFFFFFFF;
745 hashes[1] = 0xFFFFFFFF;
767 hashes[0] |= (1 << h);
769 hashes[1] |= (1 << (h - 32));
776 SK_XM_WRITE_4(sc_if, XM_MAR0, hashes[0]);
777 SK_XM_WRITE_4(sc_if, XM_MAR2, hashes[1]);
785 u_int32_t crc, hashes[2] = { 0, 0 }, mode; local
796 hashes[0] = 0xFFFFFFFF;
797 hashes[
[all...]
/freebsd-10-stable/sys/dev/tl/
H A Dif_tl.c861 u_int32_t hashes[2] = { 0, 0 }; local
875 hashes[0] = 0xFFFFFFFF;
876 hashes[1] = 0xFFFFFFFF;
898 hashes[0] |= (1 << h);
900 hashes[1] |= (1 << (h - 32));
905 tl_dio_write32(sc, TL_HASH1, hashes[0]);
906 tl_dio_write32(sc, TL_HASH2, hashes[1]);
/freebsd-10-stable/sys/dev/lge/
H A Dif_lge.c373 u_int32_t h = 0, hashes[2] = { 0, 0 }; local
399 hashes[0] |= (1 << h);
401 hashes[1] |= (1 << (h - 32));
405 CSR_WRITE_4(sc, LGE_MAR0, hashes[0]);
406 CSR_WRITE_4(sc, LGE_MAR1, hashes[1]);
/freebsd-10-stable/sys/dev/wb/
H A Dif_wb.c417 u_int32_t hashes[2] = { 0, 0 }; local
446 hashes[0] |= (1 << h);
448 hashes[1] |= (1 << (h - 32));
458 CSR_WRITE_4(sc, WB_MAR0, hashes[0]);
459 CSR_WRITE_4(sc, WB_MAR1, hashes[1]);
/freebsd-10-stable/sys/dev/re/
H A Dif_re.c650 uint32_t hashes[2] = { 0, 0 }; local
672 hashes[0] = hashes[1] = 0xffffffff;
683 hashes[0] |= (1 << h);
685 hashes[1] |= (1 << (h - 32));
689 if (hashes[0] != 0 || hashes[1] != 0) {
698 h = bswap32(hashes[0]);
699 hashes[0] = bswap32(hashes[
[all...]
/freebsd-10-stable/usr.sbin/freebsd-update/
H A Dfreebsd-update.sh1545 # files which differ; generate $3 containing these paths and the old hashes.
1547 # Pull out the paths and hashes of the files matching ${MERGECHANGES}.
1577 # which correspond to lines in $2 with hashes not matching $1 or $3, unless
1786 sort > ${X}.hashes
1790 cut -f 2 -d '|' < $3.hashes |
1799 comm -12 $1.hashes $2.hashes |
1825 done < $2.hashes
1828 sort -k 1,1 -t '|' $3.hashes |
1833 rm unmodified.files $1.hashes
[all...]
/freebsd-10-stable/sys/dev/my/
H A Dif_my.c311 u_int32_t hashes[2] = {0, 0}; local
342 hashes[0] |= (1 << h);
344 hashes[1] |= (1 << (h - 32));
353 CSR_WRITE_4(sc, MY_MAR0, hashes[0]);
354 CSR_WRITE_4(sc, MY_MAR1, hashes[1]);
/freebsd-10-stable/sys/dev/ste/
H A Dif_ste.c410 uint32_t hashes[2] = { 0, 0 }; local
440 hashes[0] |= (1 << h);
442 hashes[1] |= (1 << (h - 32));
447 CSR_WRITE_2(sc, STE_MAR0, hashes[0] & 0xFFFF);
448 CSR_WRITE_2(sc, STE_MAR1, (hashes[0] >> 16) & 0xFFFF);
449 CSR_WRITE_2(sc, STE_MAR2, hashes[1] & 0xFFFF);
450 CSR_WRITE_2(sc, STE_MAR3, (hashes[1] >> 16) & 0xFFFF);
/freebsd-10-stable/sys/dev/dc/
H A Dif_dc.c1046 uint32_t hashes[2] = { 0, 0 }; local
1090 hashes[0] |= (1 << h);
1092 hashes[1] |= (1 << (h - 32));
1096 CSR_WRITE_4(sc, DC_AL_MAR0, hashes[0]);
1097 CSR_WRITE_4(sc, DC_AL_MAR1, hashes[1]);
1107 uint32_t hashes[2] = { 0, 0 }; local
1158 hashes[0] |= (1 << h);
1160 hashes[1] |= (1 << (h - 32));
1165 CSR_WRITE_4(sc, DC_AX_FILTDATA, hashes[0]);
1167 CSR_WRITE_4(sc, DC_AX_FILTDATA, hashes[
[all...]
/freebsd-10-stable/sys/dev/sis/
H A Dif_sis.c771 uint16_t hashes[16]; local
796 hashes[i] = ~0;
799 hashes[i] = 0;
807 hashes[h >> 4] |= 1 << (h & 0xf);
814 hashes[i] = ~0;
820 CSR_WRITE_4(sc, SIS_RXFILT_DATA, hashes[i]);
/freebsd-10-stable/sys/dev/pcn/
H A Dif_pcn.c352 u_int16_t hashes[4] = { 0, 0, 0, 0 }; local
376 hashes[h >> 4] |= 1 << (h & 0xF);
381 pcn_csr_write(sc, PCN_CSR_MAR0 + i, hashes[i]);

Completed in 265 milliseconds

12