Lines Matching refs:ids
78 void ids__free(struct hashmap *ids) in ids__free() argument
83 if (ids == NULL) in ids__free()
86 hashmap__for_each_entry(ids, cur, bkt) { in ids__free()
91 hashmap__free(ids); in ids__free()
94 int ids__insert(struct hashmap *ids, const char *id) in ids__insert() argument
100 ret = hashmap__set(ids, id, data_ptr, in ids__insert()
148 return ids__insert(ctx->ids, id); in expr__add_id()
172 ret = hashmap__set(ctx->ids, id, data_ptr, in expr__add_id_val_source_count()
208 ret = hashmap__set(ctx->ids, name, data_ptr, in expr__add_ref()
224 return hashmap__find(ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id()
234 hashmap__for_each_entry(needles->ids, cur, bkt) { in expr__subset_of_ids()
285 hashmap__delete(ctx->ids, id, in expr__del_id()
299 ctx->ids = hashmap__new(key_hash, key_equal, NULL); in expr__ctx_new()
300 if (IS_ERR(ctx->ids)) { in expr__ctx_new()
316 hashmap__for_each_entry(ctx->ids, cur, bkt) { in expr__ctx_clear()
320 hashmap__clear(ctx->ids); in expr__ctx_clear()
332 hashmap__for_each_entry(ctx->ids, cur, bkt) { in expr__ctx_free()
336 hashmap__free(ctx->ids); in expr__ctx_free()