Lines Matching full:map
46 const struct sys_hashmap *map; member
55 /** Number of entries in the map */
89 * Construct an iterator, @p it, for @p map.
91 * @param map Hashmap to iterate over.
94 typedef void (*sys_hashmap_iterator_t)(const struct sys_hashmap *map,
113 * @param map Hashmap to clear
117 typedef void (*sys_hashmap_clear_t)(struct sys_hashmap *map, sys_hashmap_callback_t cb,
123 * Insert a new @p key - @p value pair into @p map.
125 * @param map Hashmap to insert into
134 typedef int (*sys_hashmap_insert_t)(struct sys_hashmap *map, uint64_t key, uint64_t value,
142 * @param map Hashmap to remove from
143 * @param key Key to remove from @p map
146 * @retval true if @p map was modified as a result of this operation.
147 * @retval false if @p map does not contain a value associated with @p key.
149 typedef bool (*sys_hashmap_remove_t)(struct sys_hashmap *map, uint64_t key, uint64_t *value);
156 * @param map Hashmap to search through
157 * @param key Key with which to search @p map
160 * @retval true if @p map contains a value associated with @p key.
161 * @retval false if @p map does not contain a value associated with @p key.
163 typedef bool (*sys_hashmap_get_t)(const struct sys_hashmap *map, uint64_t key, uint64_t *value);