| /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 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 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 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 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 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 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/arch/arm/at91/ |
| at91emac.c | 758 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local 790 hashes[0] = 0xffffffffUL; 791 hashes[1] = 0xffffffffUL; 810 hashes[ h / 32 ] |= (1 << (h % 32)); 860 EMAC_WRITE(ETH_HSH, hashes[0]); 861 EMAC_WRITE(ETH_HSL, hashes[1]);
|
| at91emac.c | 758 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local 790 hashes[0] = 0xffffffffUL; 791 hashes[1] = 0xffffffffUL; 810 hashes[ h / 32 ] |= (1 << (h % 32)); 860 EMAC_WRITE(ETH_HSH, hashes[0]); 861 EMAC_WRITE(ETH_HSL, hashes[1]);
|
| /src/sys/arch/arm/ep93xx/ |
| epe.c | 695 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local 722 hashes[0] = 0xffffffffUL; 723 hashes[1] = 0xffffffffUL; 742 hashes[ h / 32 ] |= (1 << (h % 32)); 763 if (hashes[0] != 0 && hashes[1] != 0) { 765 EPE_WRITE(HashTbl, hashes[0]); 766 EPE_WRITE(HashTbl + 4, hashes[1]);
|
| epe.c | 695 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local 722 hashes[0] = 0xffffffffUL; 723 hashes[1] = 0xffffffffUL; 742 hashes[ h / 32 ] |= (1 << (h % 32)); 763 if (hashes[0] != 0 && hashes[1] != 0) { 765 EPE_WRITE(HashTbl, hashes[0]); 766 EPE_WRITE(HashTbl + 4, hashes[1]);
|
| /src/sys/dev/usb/ |
| 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));
|
| 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));
|
| /src/usr.bin/cksum/ |
| 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 ;
|
| 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 ;
|
| /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 163 for (hash = hashes; hash->hashname != NULL; hash++)
|
| veriexecgen.c | 101 static hash_t hashes[] = { variable 163 for (hash = hashes; hash->hashname != NULL; hash++)
|
| /src/lib/libc/cdb/ |
| 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[2] 429 uint32_t hashes[3]; local [all...] |
| 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[2] 429 uint32_t hashes[3]; local [all...] |
| /src/sys/dev/cadence/ |
| if_cemac.c | 1089 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local 1123 hashes[0] = 0xffffffffUL; 1124 hashes[1] = 0xffffffffUL; 1143 hashes[h / 32] |= (1 << (h % 32)); 1145 hashes[0] = 0xffffffffUL; 1146 hashes[1] = 0xffffffffUL; 1197 CEMAC_GEM_WRITE(HSH, hashes[0]); 1198 CEMAC_GEM_WRITE(HSL, hashes[1]);
|
| if_cemac.c | 1089 uint32_t h, nma = 0, hashes[2] = { 0, 0 }; local 1123 hashes[0] = 0xffffffffUL; 1124 hashes[1] = 0xffffffffUL; 1143 hashes[h / 32] |= (1 << (h % 32)); 1145 hashes[0] = 0xffffffffUL; 1146 hashes[1] = 0xffffffffUL; 1197 CEMAC_GEM_WRITE(HSH, hashes[0]); 1198 CEMAC_GEM_WRITE(HSL, hashes[1]);
|
| /src/sys/dev/ic/ |
| lan9118.c | 873 uint32_t mac_cr, h, hashes[2] = { 0, 0 }; local 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 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 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]);
|