Lines Matching refs:datum
45 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() argument
69 newnode->datum = datum; in hashtab_insert()
109 destroy(cur->key, cur->datum, args); in hashtab_remove()
115 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, in hashtab_replace() argument
135 destroy(cur->key, cur->datum, args); in hashtab_replace()
137 cur->datum = datum; in hashtab_replace()
144 newnode->datum = datum; in hashtab_replace()
174 return cur->datum; in hashtab_search()
214 ret = apply(cur->key, cur->datum, args); in hashtab_map()
242 ret = apply(cur->key, cur->datum, args); in hashtab_map_remove_on_error()
253 destroy(temp->key, temp->datum, args); in hashtab_map_remove_on_error()