hashsize
uint_t hashsize;
swd->hashsize = hashsz;
if (swd->hashcur >= swd->hashsize)
while (swd->hashcur < swd->hashsize) {
swd->hashcur >= swd->hashsize)
mdb_free(sd->hashloc, sd->hashsize * sizeof (rctl_t *));
static const int hashsize[] = {
for (ndx = 0; ndx < (sizeof (hashsize) / sizeof (int)); ndx++) {
if (crle->c_hashstrnum > hashsize[ndx])
hashbkts = hashsize[ndx];
static long hashsize = HASHSIZE;
h %= hashsize;
pow2[i+1] = (pow2[i]<<LOCHWIDTH) % hashsize;
pow2[i+2] = (pow2[i+1]<<HICHWIDTH) % hashsize;
db_table_desc_p *new_tab, unsigned long hashsize)
hp = &new_tab[np->hashval % hashsize];
db_index_entry::relocate(db_index_entry_p *new_tab, unsigned long hashsize)
hp = &new_tab[np->hashval % hashsize];
#define DAPL_DOHASH(key, hashsize) ((uint64_t)((key) % (hashsize)))
size_t hashsize, maxper, min, chunksize = dstate->dtds_chunksize;
hashsize = size / (dstate->dtds_chunksize + sizeof (dtrace_dynhash_t));
if (hashsize != 1 && (hashsize & 1))
hashsize--;
dstate->dtds_hashsize = hashsize;
for (i = 0; i < hashsize; i++)
((uintptr_t)base + hashsize * sizeof (dtrace_dynhash_t));
uintptr_t hashsize = (buf->dtb_size >> 3) / sizeof (uintptr_t);
if ((uintptr_t)agb - hashsize * sizeof (dtrace_aggkey_t *) <
(uintptr_t)tomax || hashsize == 0) {
if (hashsize > (DTRACE_AGGHASHSIZE_SLEW << 3))
hashsize -= DTRACE_AGGHASHSIZE_SLEW;
agb->dtagb_hashsize = hashsize;
uint32_t size, uint32_t hashsize,
table->dbt_len = hashsize;
checksum.length=hashsize;
ciphertext.data=output->data+hashsize;
output->length = plaintext.length+hashsize;
size_t blocksize, hashsize;
size_t keybytes, hashsize;
hashsize = hash->hashsize;
if (input->length < hashsize + CONFOUNDERLENGTH)
if (output->length < input->length - hashsize - CONFOUNDERLENGTH)
hashsize = hash->hashsize;
*length = hashsize + krb5_roundup(8 + inputlen, blocksize);
ciphertext.length=input->length-hashsize;
ciphertext.data=input->data+hashsize;
checksum.length=hashsize;
if (bcmp(checksum.data, d1.data, hashsize) != 0) {
size_t keybytes, blocksize, hashsize;
hashsize = hash->hashsize;
*length = krb5_cksumtypes_list[i].keyhash->hashsize;
*length = krb5_cksumtypes_list[i].hash->hashsize;
hashsize = hash->hashsize;
hmacsize = hashsize;
else if (hmacsize > hashsize)
if ((cksum = (unsigned char *) MALLOC(hashsize)) == NULL) {
d1.length = hashsize;
(void) memset(cksum, 0, hashsize);
FREE(cksum, hashsize);
size_t hashsize, blocksize, enclen, plainlen;
size_t blocksize, hashsize;
hashsize = 96 / 8;
*length = blocksize+inputlen + hashsize;
size_t hashsize;
hashsize = hash->hashsize;
if (hashsize < output->length)
tmphash.length = hashsize;
size_t blocksize, hashsize;
hashsize = hash->hashsize;
*length = krb5_roundup(blocksize+inputlen, blocksize) + hashsize;
size_t hashsize, blocksize;
hashsize = hash->hashsize;
if (output->length < hashsize)
if ((ihash = (unsigned char *) MALLOC(hashsize)) == NULL) {
FREE(ihash, hashsize);
hashout.length = hashsize;
output->length = hashsize;
(void) memset(ihash, 0, hashsize);
FREE(ihash, hashsize);
cksumlen = krb5_cksumtypes_list[i].keyhash->hashsize;
cksumlen = krb5_cksumtypes_list[i].hash->hashsize;
(void) memcpy(orig_cksum, output.data+blocksize, hashsize);
(void) memset(output.data+blocksize, 0, hashsize);
cksum.length = hashsize;
(void) memcpy(arg_output->data, output.data+blocksize+hashsize,
(void) memmove(arg_output->data, arg_output->data+blocksize+hashsize,
(void) memset(new_cksum, 0, hashsize);
size_t blocksize, hashsize, plainsize;
hashsize = hash->hashsize;
if (input->length < blocksize + hashsize || input->length % blocksize != 0)
plainsize = input->length - blocksize - hashsize;
size_t blocksize, hashsize;
hashsize = hash->hashsize;
*length = krb5_roundup(blocksize+hashsize+inputlen, blocksize);
size_t blocksize, hashsize, enclen;
hashsize = hash->hashsize;
(void) memcpy(output->data+blocksize+hashsize, input->data, input->length);
datain.length = hashsize;
size_t hashsize;
if ((ret = krb5_c_checksum_length(context, cksum->checksum_type, &hashsize)))
if (cksum->length != hashsize)
computed.length = hashsize;
*valid = (memcmp(computed.contents, cksum->contents, hashsize) == 0);
size_t hashsize, blocksize;
size_t hashsize;
#define hashmask(n) (hashsize(n)-1)
#define hashmask(n) (hashsize(n)-1)
mp->hashsize = kobj_gethashsize(mp->nsyms);
(mp->hashsize + mp->nsyms) * sizeof (symid_t) + strsize;
mp->chains = (symid_t *)(mp->buckets + mp->hashsize);
mp->hashsize = kobj_gethashsize(mp->nsyms);
(mp->hashsize + mp->nsyms) * sizeof (symid_t) + mp->strhdr->sh_size;
mp->chains = mp->buckets + mp->hashsize;
for (ip = &mp->buckets[kobj_hash_name(name) % mp->hashsize]; *ip;
for (ip = &mp->buckets[kobj_hash_name(name) % mp->hashsize]; *ip;
for (ip = &mp->buckets[kobj_hash_name(name) % mp->hashsize]; *ip;
mp->hashsize = *(uint_t *)dyn->d_un.d_ptr;
mp->buckets = kobj_zalloc(mp->hashsize * sizeof (symid_t), KM_WAIT);
mp->hashsize = kobj_gethashsize(mp->nsyms);
(mp->hashsize + mp->nsyms) * sizeof (symid_t);
mp->buckets = kobj_zalloc(mp->hashsize * sizeof (symid_t), KM_WAIT);
#define call_hash(xid, hashsize) \
(xid % hashsize);
unsigned int hashsize;