Lines Matching full:ids
76 void ids__free(struct hashmap *ids) in ids__free() argument
81 if (ids == NULL) in ids__free()
84 hashmap__for_each_entry(ids, cur, bkt) { in ids__free()
89 hashmap__free(ids); in ids__free()
92 int ids__insert(struct hashmap *ids, const char *id) in ids__insert() argument
98 ret = hashmap__set(ids, id, data_ptr, &old_key, &old_data); in ids__insert()
144 return ids__insert(ctx->ids, id); in expr__add_id()
168 ret = hashmap__set(ctx->ids, id, data_ptr, &old_key, &old_data); in expr__add_id_val_source_count()
207 ret = hashmap__set(ctx->ids, name, data_ptr, &old_key, &old_data); in expr__add_ref()
224 return hashmap__find(ctx->ids, id, 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, &old_key, &old_val); in expr__del_id()
298 ctx->ids = hashmap__new(key_hash, key_equal, NULL); in expr__ctx_new()
299 if (IS_ERR(ctx->ids)) { in expr__ctx_new()
312 hashmap__for_each_entry(ctx->ids, cur, bkt) { in expr__ctx_clear()
316 hashmap__clear(ctx->ids); in expr__ctx_clear()
328 hashmap__for_each_entry(ctx->ids, cur, bkt) { in expr__ctx_free()
332 hashmap__free(ctx->ids); in expr__ctx_free()
420 /* Does the event 'id' parse? Determine via ctx->ids if possible. */
426 if (hashmap__find(ctx->ids, id, /*value=*/NULL)) in expr__has_event()