Searched refs:hfunc (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | nhash.c | 77 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 D | nhash.h | 58 int (*hfunc)(void *, int, int); member 67 int (*hfunc)(void *, int, int), int (*cfunc)(void *, void *, int));
|
/illumos-gate/usr/src/cmd/bhyve/amd64/ |
H A D | inout.c | 119 inout_func_t hfunc; in emulate_inout() local 131 hfunc = handler.handler; in emulate_inout() 134 if (hfunc == default_inout && in emulate_inout() 146 error = hfunc(ctx, in, inout->port, bytes, &inout->eax, harg); in emulate_inout()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | stab.c | 49 register int hfunc; local 60 hfunc = type; 62 hfunc = ((hfunc << 1) ^ (SM_LOWER(*p) & 0377)) % STABSIZE; 65 sm_dprintf("(hfunc=%d) ", hfunc); 67 ps = &SymTab[hfunc];
|
H A D | domain.c | 611 int hfunc; local 624 hfunc = seed; 631 hfunc = ((hfunc << 1) ^ c) % 2003; 634 hfunc &= 0xff; 635 hfunc++; 638 sm_dprintf(" = %d\n", hfunc); 639 return hfunc;
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioBuffer.cc | 194 AudioHdr(AudioBuffer::*hfunc)()const; in GetAddress() local 206 hfunc = (AudioHdr(AudioBuffer::*)() const)&AudioBuffer::GetHeader; in GetAddress() 207 hdr_local = (this->*hfunc)(); in GetAddress()
|