Lines Matching refs:table
1 /* simple hash table
13 hash->table = calloc(size, sizeof(hash_entry_t *));
14 if (!hash || !hash->table){
32 for (curr = hash->table[i]; curr != NULL; curr = curr->next)
44 for (curr = hash->table[i]; curr != NULL; ) {
49 free(hash->table);
60 curr = hash->table[bucket];
76 new_entry->next = hash->table[bucket];
77 hash->table[bucket] = new_entry;
86 curr = hash->table[bucket];
109 curr = hash->table[bucket];
126 if (curr == hash->table[bucket])
127 hash->table[bucket] = curr->next;
142 entry1 = hash->table[bucket];
157 entry2 = hash->table[bucket];