Lines Matching refs:HashTable

51  * for allocation of HashTable containers and nodes.
54 FreeList *hash_memory; /* HashTable free-list */
80 * Note that the HashTable typedef for this struct is contained in hash.h.
82 struct HashTable {
83 HashMemory *mem; /* HashTable free-list */
93 static HashNode *_del_HashNode(HashTable *hash, HashNode *node);
94 static HashNode *_new_HashNode(HashTable *hash, const char *name, int code,
96 static HashNode *_find_HashNode(HashTable *hash, HashBucket *bucket,
98 static HashBucket *_find_HashBucket(HashTable *hash, const char *name);
106 * list_count int The number of HashTable containers per free-list
108 * node_count int The number of HashTable nodes per free-list block.
134 mem->hash_memory = _new_FreeList(sizeof(HashTable), hash_count);
150 * Delete a HashTable free-list. An error will be displayed if the list is
186 * HashTable containers and nodes. See explanation
211 * return HashTable * The new hash table, or NULL on error.
213 HashTable *_new_HashTable(HashMemory *mem, int size, HashCase hcase,
216 HashTable *hash; /* The table to be returned */
237 hash = (HashTable *) _new_FreeListNode(mem->hash_memory);
283 * hash HashTable * The hash table to be deleted.
285 * return HashTable * The deleted hash table (always NULL).
287 HashTable *_del_HashTable(HashTable *hash)
311 hash = (HashTable *) _del_FreeListNode(hash->mem->hash_memory, hash);
321 * hash HashTable * The hash table to insert the symbol into.
340 Symbol *_new_HashSymbol(HashTable *hash, const char *name, int code,
390 * hash HashTable * The hash table to find the symbol in.
395 Symbol *_del_HashSymbol(HashTable *hash, const char *name)
430 * hash HashTable * The table to look up the string in.
436 Symbol *_find_HashSymbol(HashTable *hash, const char *name)
469 * hash HashTable * The table to allocate the node for.
478 static HashNode *_new_HashNode(HashTable *hash, const char *name, int code,
529 * hash HashTable * The table for which the node was originally
535 static HashNode *_del_HashNode(HashTable *hash, HashNode *node)
565 * hash HashTable * The table to look up the string in.
570 static HashBucket *_find_HashBucket(HashTable *hash, const char *name)
588 * hash HashTable * The hash-table being searched.
600 static HashNode *_find_HashNode(HashTable *hash, HashBucket *bucket,
670 * hash HashTable * The hash table to clear.
675 int _clear_HashTable(HashTable *hash)
711 * hash HashTable * The table to traverse.
721 int _scan_HashTable(HashTable *hash, HASH_SCAN_FN(*scan_fn), void *context)