Home
last modified time | relevance | path

Searched refs:ids2 (Results 1 – 4 of 4) sorted by relevance

/linux/tools/perf/tests/
A Dexpr.c12 struct hashmap *ids1, *ids2; in test_ids_union() local
17 ids2 = ids__new(); in test_ids_union()
18 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union()
20 ids1 = ids__union(ids1, ids2); in test_ids_union()
24 ids2 = ids__new(); in test_ids_union()
25 TEST_ASSERT_VAL("ids__new", ids2); in test_ids_union()
30 ids1 = ids__union(ids1, ids2); in test_ids_union()
34 ids2 = ids__new(); in test_ids_union()
38 ids1 = ids__union(ids1, ids2); in test_ids_union()
42 ids2 = ids__new(); in test_ids_union()
[all …]
/linux/tools/perf/util/
A Dexpr.c108 struct hashmap *ids__union(struct hashmap *ids1, struct hashmap *ids2) in ids__union() argument
117 return ids2; in ids__union()
119 if (!ids2) in ids__union()
122 if (hashmap__size(ids1) < hashmap__size(ids2)) { in ids__union()
125 ids1 = ids2; in ids__union()
126 ids2 = tmp; in ids__union()
128 hashmap__for_each_entry(ids2, cur, bkt) { in ids__union()
136 hashmap__free(ids2); in ids__union()
140 hashmap__free(ids2); in ids__union()
A Dexpr.y77 static struct ids union_expr(struct ids ids1, struct ids ids2)
81 .ids = ids__union(ids1.ids, ids2.ids),
A Dexpr.h34 struct hashmap *ids__union(struct hashmap *ids1, struct hashmap *ids2);

Completed in 6 milliseconds