Home
last modified time | relevance | path

Searched refs:hfunc (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/libpkg/common/
H A Dnhash.c77 int (*hfunc)(void *, int, int), int (*cfunc)(void *, void *, int)) in init_cache()
94 if (hfunc != (int (*)()) NULL) { in init_cache()
95 (*cp)->hfunc = hfunc; in init_cache()
97 (*cp)->hfunc = HASH; in init_cache()
121 bp = &cp->bp[(*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)]; in add_cache()
131 (*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)); in add_cache()
174 bp = &cp->bp[(*cp->hfunc)(datap, datalen, cp->hsz)]; in lookup_cache()
H A Dnhash.h58 int (*hfunc)(void *, int, int); member
67 int (*hfunc)(void *, int, int), int (*cfunc)(void *, void *, int));
/titanic_41/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_hash.c66 int (*hfunc)(void *, int, int), in init_cache()
91 if (hfunc != (int (*)()) NULL) in init_cache()
92 (*cp)->hfunc = hfunc; in init_cache()
94 (*cp)->hfunc = HASH; in init_cache()
129 bp = &cp->bp[(*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)]; in add_cache()
138 (*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)); in add_cache()
181 bp = &cp->bp[(*cp->hfunc)(datap, datalen, cp->hsz)]; in lookup_cache()
299 bidx = (*cp->hfunc)(datap, datalen, cp->hsz); in del_cache()
H A Dmed_hash.h59 int (*hfunc)(void *, int, int); member
70 int (*hfunc)(void *, int, int),
/titanic_41/usr/src/cmd/sendmail/src/
H A Dstab.c51 register int hfunc; local
62 hfunc = type;
64 hfunc = ((hfunc << 1) ^ (SM_LOWER(*p) & 0377)) % STABSIZE;
67 sm_dprintf("(hfunc=%d) ", hfunc);
69 ps = &SymTab[hfunc];
H A Ddomain.c613 int hfunc; local
626 hfunc = seed;
633 hfunc = ((hfunc << 1) ^ c) % 2003;
636 hfunc &= 0xff;
637 hfunc++;
640 sm_dprintf(" = %d\n", hfunc);
641 return hfunc;
/titanic_41/usr/src/cmd/audio/utilities/
H A DAudioBuffer.cc196 AudioHdr(AudioBuffer::*hfunc)()const; in GetAddress() local
208 hfunc = (AudioHdr(AudioBuffer::*)() const)&AudioBuffer::GetHeader; in GetAddress()
209 hdr_local = (this->*hfunc)(); in GetAddress()