Lines Matching refs:i
44 int i; in map_clear() local
46 for (i = 0; i < map->size; ++i){ in map_clear()
47 if (!map->data[i].item) in map_clear()
49 if (map->data[i].item != &deleted) in map_clear()
50 (* release)(map->data[i].item); in map_clear()
51 map->data[i].item = NULL; in map_clear()
67 int idx, i; in map_hash() local
74 for (i = 0; i < map->size; ++i) { in map_hash()
122 int o_size, i; in map_rehash() local
136 for (i = 0; i < o_size; ++i){ in map_rehash()
137 if (!oldt[i].item || oldt[i].item == &deleted) in map_rehash()
139 rc = map_put(map, oldt[i].item->key, oldt[i].item); in map_rehash()
152 int idx, i; in map_find() local
159 for (i = 0; i < map->size; ++i) { in map_find()
207 unsigned int i = start; in map_iter_from() local
209 for (; i < map->size; ++i) { in map_iter_from()
210 if (map->data[i].item && map->data[i].item != &deleted) in map_iter_from()
211 return &map->data[i]; in map_iter_from()