Lines Matching defs:tab
53 dumpbucket(register Hash_table_t* tab, int flags)
62 sx = tab->table + tab->size;
63 for (sp = tab->table; sp < sx; sp++)
67 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value))
71 sfprintf(sfstderr, "%5d %2d :", sp - tab->table, n);
73 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value))
75 if (n = tab->root->namesize)
91 if (tab->flags & HASH_VALUE) sfprintf(sfstderr, "=0x%08lx", (long)b->value);
104 dumptable(register Hash_table_t* tab, register int flags)
109 sfprintf(sfstderr, " name: %s", tab->name ? tab->name : "*no name*");
110 if (scope = tab->scope)
114 sfprintf(sfstderr, " level %d scope on 0x%08lx", level, (unsigned long)tab->scope);
117 sfprintf(sfstderr, " address: 0x%08lx\n", (unsigned long)tab);
119 if (tab->frozen) sfprintf(sfstderr, "frozen=%d ", tab->frozen);
120 dumpflags(tab->flags);
122 sfprintf(sfstderr, " size: %d\n", tab->size);
123 sfprintf(sfstderr, " buckets: %d\n", tab->buckets);
124 sfprintf(sfstderr, " bucketsize: %d\n", tab->bucketsize * sizeof(char*));
126 if ((flags | tab->flags) & HASH_BUCKET) dumpbucket(tab, flags);
136 register Hash_table_t* tab;
153 for (tab = root->references; tab; tab = tab->next)
154 dumptable(tab, flags);
159 * if tab is 0 then dump all tables in hash_info.list
164 hashdump(register Hash_table_t* tab, int flags)
169 if (tab) dumproot(tab->root, flags);