Lines Matching full:ids
83 void ids__free(struct hashmap *ids) in ids__free() argument
88 if (ids == NULL) in ids__free()
91 hashmap__for_each_entry(ids, cur, bkt) { in ids__free()
96 hashmap__free(ids); in ids__free()
99 int ids__insert(struct hashmap *ids, const char *id) in ids__insert() argument
105 ret = hashmap__set(ids, id, data_ptr, &old_key, &old_data); in ids__insert()
151 return ids__insert(ctx->ids, id); in expr__add_id()
175 ret = hashmap__set(ctx->ids, id, data_ptr, &old_key, &old_data); in expr__add_id_val_source_count()
210 ret = hashmap__set(ctx->ids, name, data_ptr, &old_key, &old_data); in expr__add_ref()
225 return hashmap__find(ctx->ids, id, data) ? 0 : -1; in expr__get_id()
235 hashmap__for_each_entry(needles->ids, cur, bkt) { in expr__subset_of_ids()
286 hashmap__delete(ctx->ids, id, &old_key, &old_val); 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()
313 hashmap__for_each_entry(ctx->ids, cur, bkt) { in expr__ctx_clear()
317 hashmap__clear(ctx->ids); in expr__ctx_clear()
329 hashmap__for_each_entry(ctx->ids, cur, bkt) { in expr__ctx_free()
333 hashmap__free(ctx->ids); in expr__ctx_free()
485 /* Does the event 'id' parse? Determine via ctx->ids if possible. */
491 if (hashmap__find(ctx->ids, id, /*value=*/NULL)) in expr__has_event()