/src/tests/lib/libc/stdlib/ |
t_mi_vector_hash.c | 50 uint32_t hashes[3]; member in struct:testvector 75 uint32_t hashes[3]; local in function:ATF_TC_BODY 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]);
|
t_mi_vector_hash.c | 50 uint32_t hashes[3]; member in struct:testvector 75 uint32_t hashes[3]; local in function:ATF_TC_BODY 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]);
|
/src/usr.bin/nbperf/ |
graph2.c | 179 uint32_t hashes[NBPERF_MAX_HASH_SIZE]; local in function:SIZED2 196 nbperf->keys[i], nbperf->keylens[i], hashes); 199 e->vertices[j] = hashes[j] % graph->v;
|
graph2.c | 179 uint32_t hashes[NBPERF_MAX_HASH_SIZE]; local in function:SIZED2 196 nbperf->keys[i], nbperf->keylens[i], hashes); 199 e->vertices[j] = hashes[j] % graph->v;
|
/src/common/lib/libc/cdb/ |
cdbr.c | 279 uint32_t hashes[3], idx; local in function:cdbr_find 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[1], cdbr->index_size) [all...] |
cdbr.c | 279 uint32_t hashes[3], idx; local in function:cdbr_find 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[1], cdbr->index_size) [all...] |
/src/sys/dev/usb/ |
if_udav.c | 565 uint8_t hashes[8]; local in function:udav_uno_mcast 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));
|
if_udav.c | 565 uint8_t hashes[8]; local in function:udav_uno_mcast 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));
|
/src/usr.bin/cksum/ |
cksum.c | 120 } hashes[] = { variable in typeref:typename:const 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 ;
|
cksum.c | 120 } hashes[] = { variable in typeref:typename:const 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 ;
|
/src/usr.sbin/syslogd/ |
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
|
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
|
/src/usr.sbin/veriexecgen/ |
veriexecgen.c | 101 static hash_t hashes[] = { variable in typeref:typename:hash_t[] 163 for (hash = hashes; hash->hashname != NULL; hash++)
|
veriexecgen.c | 101 static hash_t hashes[] = { variable in typeref:typename:hash_t[] 163 for (hash = hashes; hash->hashname != NULL; hash++)
|
/src/sys/arch/arm/at91/ |
at91emac.c | 766 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:emac_setaddr 798 hashes[0] = 0xffffffffUL; 799 hashes[1] = 0xffffffffUL; 818 hashes[ h / 32 ] |= (1 << (h % 32)); 868 EMAC_WRITE(ETH_HSH, hashes[0]); 869 EMAC_WRITE(ETH_HSL, hashes[1]);
|
at91emac.c | 766 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:emac_setaddr 798 hashes[0] = 0xffffffffUL; 799 hashes[1] = 0xffffffffUL; 818 hashes[ h / 32 ] |= (1 << (h % 32)); 868 EMAC_WRITE(ETH_HSH, hashes[0]); 869 EMAC_WRITE(ETH_HSL, hashes[1]);
|
/src/sys/arch/arm/ep93xx/ |
epe.c | 701 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:epe_setaddr 728 hashes[0] = 0xffffffffUL; 729 hashes[1] = 0xffffffffUL; 748 hashes[ h / 32 ] |= (1 << (h % 32)); 769 if (hashes[0] != 0 && hashes[1] != 0) { 771 EPE_WRITE(HashTbl, hashes[0]); 772 EPE_WRITE(HashTbl + 4, hashes[1]);
|
epe.c | 701 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:epe_setaddr 728 hashes[0] = 0xffffffffUL; 729 hashes[1] = 0xffffffffUL; 748 hashes[ h / 32 ] |= (1 << (h % 32)); 769 if (hashes[0] != 0 && hashes[1] != 0) { 771 EPE_WRITE(HashTbl, hashes[0]); 772 EPE_WRITE(HashTbl + 4, hashes[1]);
|
/src/sys/dev/ic/ |
lan9118.c | 873 uint32_t mac_cr, h, hashes[2] = { 0, 0 }; local in function:lan9118_set_filter 911 hashes[h >> 5] |= 1 << (h & 0x1f); 918 lan9118_mac_writereg(sc, LAN9118_HASHH, hashes[1]); 919 lan9118_mac_writereg(sc, LAN9118_HASHL, hashes[0]);
|
rtl81x9.c | 528 uint32_t hashes[2] = { 0, 0 }; local in function:rtk_setmulti 563 hashes[0] |= __BIT(h); 565 hashes[1] |= __BIT(h - 32); 587 CSR_WRITE_4(sc, RTK_MAR0, bswap32(hashes[1])); 588 CSR_WRITE_4(sc, RTK_MAR4, bswap32(hashes[0])); 590 CSR_WRITE_4(sc, RTK_MAR0, hashes[0]); 591 CSR_WRITE_4(sc, RTK_MAR4, hashes[1]);
|
lan9118.c | 873 uint32_t mac_cr, h, hashes[2] = { 0, 0 }; local in function:lan9118_set_filter 911 hashes[h >> 5] |= 1 << (h & 0x1f); 918 lan9118_mac_writereg(sc, LAN9118_HASHH, hashes[1]); 919 lan9118_mac_writereg(sc, LAN9118_HASHL, hashes[0]);
|
rtl81x9.c | 528 uint32_t hashes[2] = { 0, 0 }; local in function:rtk_setmulti 563 hashes[0] |= __BIT(h); 565 hashes[1] |= __BIT(h - 32); 587 CSR_WRITE_4(sc, RTK_MAR0, bswap32(hashes[1])); 588 CSR_WRITE_4(sc, RTK_MAR4, bswap32(hashes[0])); 590 CSR_WRITE_4(sc, RTK_MAR0, hashes[0]); 591 CSR_WRITE_4(sc, RTK_MAR4, hashes[1]);
|
/src/lib/libc/cdb/ |
cdbw.c | 131 uint32_t hashes[3]; member in struct:key_hash 247 uint32_t hashes[3]; local in function:cdbw_put_key 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[2] 429 uint32_t hashes[3]; local in function:build_graph [all...] |
cdbw.c | 131 uint32_t hashes[3]; member in struct:key_hash 247 uint32_t hashes[3]; local in function:cdbw_put_key 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[2] 429 uint32_t hashes[3]; local in function:build_graph [all...] |
/src/sys/dev/cadence/ |
if_cemac.c | 1097 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local in function:cemac_setaddr 1131 hashes[0] = 0xffffffffUL; 1132 hashes[1] = 0xffffffffUL; 1151 hashes[h / 32] |= (1 << (h % 32)); 1153 hashes[0] = 0xffffffffUL; 1154 hashes[1] = 0xffffffffUL; 1205 CEMAC_GEM_WRITE(HSH, hashes[0]); 1206 CEMAC_GEM_WRITE(HSL, hashes[1]);
|