Searched refs:HASH_VALUE (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | hash.h | 52 #define HASH_VALUE (1L<<15) /* value bucket field used */ macro 64 #define HASH_RESET (HASH_RESIZE|HASH_SCOPE|HASH_STATIC|HASH_VALUE) 90 #define hashget(t,n) hashlook(t, (char*)(n), HASH_LOOKUP|HASH_VALUE, (char*)0) 94 #define hashput(t,n,v) hashlook(t, (char*)(n), HASH_CREATE|HASH_VALUE, (char*)(v)) 95 #define hashref(t,n) hashlook(t, (char*)(n), HASH_LOOKUP|HASH_INTERNAL|HASH_VALUE, (char*)0)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/ |
H A D | hashlook.c | 68 if (!c) return((flags & HASH_VALUE) ? b->value : (char*)b); in hashlook() 177 else if (tab->flags & HASH_VALUE) in hashlook() 288 if (flags & HASH_VALUE) in hashlook() 290 tab->flags |= HASH_VALUE; in hashlook() 355 switch (flags & (HASH_CREATE|HASH_VALUE)) in hashlook() 357 case HASH_CREATE|HASH_VALUE: in hashlook() 362 case HASH_VALUE: in hashlook()
|
H A D | hashdump.c | 45 if (flags & HASH_VALUE) sfprintf(sfstderr, "value "); in dumpflags() 67 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value)) in dumpbucket() 73 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value)) in dumpbucket() 91 if (tab->flags & HASH_VALUE) sfprintf(sfstderr, "=0x%08lx", (long)b->value); in dumpbucket()
|
H A D | hashwalk.c | 47 if ((v = (*walker)(hashname(b), (tab->flags & HASH_VALUE) ? b->value : (char*)b, handle)) < 0) in hashwalk()
|
H A D | hashscan.c | 110 …if (!(b->hash & HASH_DELETED) && (!(pos->tab->flags & HASH_VALUE) || b->value) && (!pos->flags || … in hashnext()
|