Lines Matching refs:map
10 struct map { struct
16 int map_create(struct map *map); argument
17 void map_destroy(struct map *map);
18 void map_clear(struct map *map, void (*release)(struct map_item *));
20 int map_put(struct map *map, unsigned int key, struct map_item *v);
21 int map_reput(struct map *map, unsigned int key, struct map_item *v,
23 int map_contains(const struct map *map, unsigned int key);
24 struct map_item *map_get(const struct map *map, unsigned int key);
25 int map_remove(struct map *map, unsigned int key);
26 unsigned int map_length(struct map *map);
28 struct map_entry *map_iter_first(const struct map *map);
29 struct map_entry *map_iter_next(const struct map *map, struct map_entry *iter);
32 #define map_for_each(map, iter) \ argument
33 for (iter = map_iter_first(map); iter; iter = map_iter_next(map, iter))