Lines Matching refs:table
28 * The fraction of filled hash buckets until an insert will cause the table
60 * An entry in the hash table
83 * The hash table structure.
121 * Name of the hash table.
135 struct lh_entry *table;
159 #define lh_foreach(table, entry) \
160 for(entry = table->head; entry; entry = entry->next)
165 #define lh_foreach_safe(table, entry, tmp) \
166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
171 * Create a new linkhash table.
172 * @param size initial table size. The table is automatically resized
174 * @param name the table name.
185 * @return a pointer onto the linkhash table.
194 * table with char keys.
195 * @param size initial table size.
196 * @param name table name.
198 * @return a pointer onto the linkhash table.
206 * table with ptr keys.
207 * @param size initial table size.
208 * @param name table name.
210 * @return a pointer onto the linkhash table.
217 * Free a linkhash table.
219 * entries in the table.
220 * @param t table to free.
226 * Insert a record into the table.
227 * @param t the table to insert into.
235 * Lookup a record into the table.
236 * @param t the table to lookup
243 * Lookup a record into the table
244 * @param t the table to lookup
252 * Lookup a record in the table
253 * @param t the table to lookup
261 * Delete a record from the table.
264 * @param t the table to delete from.
273 * Delete a record from the table.
276 * @param t the table to delete from.