Home
last modified time | relevance | path

Searched refs:T_HashTable (Results 1 – 3 of 3) sorted by relevance

/external/mtools/
Dhtable.h20 typedef struct hashtable T_HashTable; typedef
27 T_HashTable **H);
28 int hash_add(T_HashTable *H, T_HashTableEl *E, size_t *hint);
29 int hash_remove(T_HashTable *H, T_HashTableEl *E, size_t hint);
30 int hash_lookup(T_HashTable *H, T_HashTableEl *E, T_HashTableEl **E2,
32 int free_ht(T_HashTable *H, T_HashFunc entry_free);
Dhash.c42 static int alloc_ht(T_HashTable *H, size_t size) in alloc_ht()
77 T_HashTable **H) in make_ht()
79 *H = New(T_HashTable); in make_ht()
93 int free_ht(T_HashTable *H, T_HashFunc entry_free) in free_ht()
107 static int _hash_add(T_HashTable *H,T_HashTableEl *E, size_t *hint) in _hash_add()
132 static int rehash(T_HashTable *H) in rehash()
151 int hash_add(T_HashTable *H, T_HashTableEl *E, size_t *hint) in hash_add()
162 static int _hash_lookup(T_HashTable *H,T_HashTableEl *E, T_HashTableEl **E2, in _hash_lookup()
197 int hash_lookup(T_HashTable *H,T_HashTableEl *E, T_HashTableEl **E2, in hash_lookup()
204 int hash_remove(T_HashTable *H,T_HashTableEl *E, size_t hint) in hash_remove()
Dfile.c57 static T_HashTable *filehash;