Lines Matching refs:flags
33 * dump HASH_* flags
37 dumpflags(register int flags)
39 if (flags & HASH_ALLOCATE) sfprintf(sfstderr, "allocate ");
40 if (flags & HASH_BUCKET) sfprintf(sfstderr, "bucket ");
41 if (flags & HASH_FIXED) sfprintf(sfstderr, "fixed ");
42 if (flags & HASH_HASHED) sfprintf(sfstderr, "hashed ");
43 if (flags & HASH_RESIZE) sfprintf(sfstderr, "resize ");
44 if (flags & HASH_STATIC) sfprintf(sfstderr, "static ");
45 if (flags & HASH_VALUE) sfprintf(sfstderr, "value ");
53 dumpbucket(register Hash_table_t* tab, int flags)
61 NoP(flags);
67 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value))
73 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value))
91 if (tab->flags & HASH_VALUE) sfprintf(sfstderr, "=0x%08lx", (long)b->value);
104 dumptable(register Hash_table_t* tab, register int flags)
118 sfprintf(sfstderr, " flags: ");
120 dumpflags(tab->flags);
126 if ((flags | tab->flags) & HASH_BUCKET) dumpbucket(tab, flags);
134 dumproot(register Hash_root_t* root, register int flags)
140 sfprintf(sfstderr, " flags: ");
141 dumpflags(root->flags);
154 dumptable(tab, flags);
160 * flags are HASH_* flags that specifiy optional dump info
164 hashdump(register Hash_table_t* tab, int flags)
169 if (tab) dumproot(tab->root, flags);
171 dumproot(root, flags);