Home
last modified time | relevance | path

Searched refs:HASH_HIDES (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashview.c66 b->name = (p->hash & HASH_HIDES) ? p->name : (char*)b; in hashview()
67 b->hash |= HASH_HIDES; in hashview()
79 if (b->hash & HASH_HIDES) in hashview()
81 b->hash &= ~HASH_HIDES; in hashview()
H A Dhashscan.c110 …>flags & HASH_VALUE) || b->value) && (!pos->flags || !(b->hash & (HASH_HIDDEN|HASH_HIDES)))) break; in hashnext()
111 if (b->hash & HASH_HIDES) in hashnext()
H A Dhashfree.c87 else if (p->hash & HASH_HIDES) in hashfree()
89 p->hash &= ~HASH_HIDES; in hashfree()
H A Dhashlook.c267 name = (b->hash & HASH_HIDES) ? b->name : (char*)b; in hashlook()
268 i |= HASH_HIDES; in hashlook()
H A Dhashdump.c86 if (b->hash & HASH_HIDES) sfprintf(sfstderr, "hides|"); in dumpbucket()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dhash.h60 #define HASH_HIDES (1L<<(8*sizeof(int)-4)) /* hides lower scope */ macro
66 #define HASH_FLAGS (HASH_DELETED|HASH_FREENAME|HASH_HIDDEN|HASH_HIDES|HASH_KEEP|HASH_OPAQUED)
88 #define hashcover(b) (((b)->hash&HASH_HIDES)?(Hash_bucket_t*)((b)->name):(Hash_bucket_t*)0)
93 #define hashname(b) ((((b)->hash&HASH_HIDES)?((Hash_bucket_t*)((b)->name)):(b))->name)