• Home
  • Raw
  • Download

Lines Matching refs:iter

70 util_hash_table_item(struct util_hash_iter iter)  in util_hash_table_item()  argument
72 return (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_item()
101 struct util_hash_iter iter; in util_hash_table_find_iter() local
104 iter = util_hash_find(ht->head, key_hash); in util_hash_table_find_iter()
105 while (!util_hash_iter_is_null(iter)) { in util_hash_table_find_iter()
106 item = (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_find_iter()
109 iter = util_hash_iter_next(iter); in util_hash_table_find_iter()
112 return iter; in util_hash_table_find_iter()
119 struct util_hash_iter iter; in util_hash_table_find_item() local
122 iter = util_hash_find(ht->head, key_hash); in util_hash_table_find_item()
123 while (!util_hash_iter_is_null(iter)) { in util_hash_table_find_item()
124 item = (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_find_item()
127 iter = util_hash_iter_next(iter); in util_hash_table_find_item()
138 struct util_hash_iter iter; in util_hash_table_set() local
160 iter = util_hash_insert(ht->head, key_hash, item); in util_hash_table_set()
161 if(util_hash_iter_is_null(iter)) { in util_hash_table_set()
188 struct util_hash_iter iter; in util_hash_table_remove() local
197 iter = util_hash_table_find_iter(ht, key, key_hash); in util_hash_table_remove()
198 if(util_hash_iter_is_null(iter)) in util_hash_table_remove()
201 item = util_hash_table_item(iter); in util_hash_table_remove()
205 util_hash_erase(ht->head, iter); in util_hash_table_remove()
210 struct util_hash_iter iter; in util_hash_table_clear() local
217 iter = util_hash_first_node(ht->head); in util_hash_table_clear()
218 while (!util_hash_iter_is_null(iter)) { in util_hash_table_clear()
219 item = (struct util_hash_table_item *)util_hash_take(ht->head, util_hash_iter_key(iter)); in util_hash_table_clear()
221 iter = util_hash_first_node(ht->head); in util_hash_table_clear()
229 struct util_hash_iter iter; in util_hash_table_foreach() local
236 iter = util_hash_first_node(ht->head); in util_hash_table_foreach()
237 while (!util_hash_iter_is_null(iter)) { in util_hash_table_foreach()
238 item = (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_foreach()
240 iter = util_hash_iter_next(iter); in util_hash_table_foreach()
246 struct util_hash_iter iter; in util_hash_table_destroy() local
253 iter = util_hash_first_node(ht->head); in util_hash_table_destroy()
254 while (!util_hash_iter_is_null(iter)) { in util_hash_table_destroy()
255 item = (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_destroy()
257 iter = util_hash_iter_next(iter); in util_hash_table_destroy()