Searched refs:hashmap__find (Results 1 - 16 of 16) sorted by relevance

/linux-master/tools/perf/tests/
H A Dexpr.c139 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", &val_ptr));
140 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", &val_ptr));
141 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", &val_ptr));
149 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1,param=3@", &val_ptr));
150 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT2,param=3@", &val_ptr));
157 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event1", &val_ptr));
158 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event2", &val_ptr));
171 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids,
180 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids,
205 TEST_ASSERT_VAL("find ids", hashmap__find(ct
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c76 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find",
123 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find",
311 CHECK(!hashmap__find(map, "b", &value), "hashmap__find", "can't find value for 'b'\n");
312 CHECK_STR("hashmap__find", value, "blueberry");
429 if (CHECK(hashmap__find(map, k, NULL), "elem_find",
/linux-master/tools/perf/util/
H A Dthreads.c100 if (hashmap__find(&table->shard, tid, &res))
122 if (hashmap__find(&table->shard, tid, &res))
H A Dhashmap.h104 * hashmap__for_each_key_entry() iteration. If hashmap__find() is still
159 #define hashmap__find(map, key, value) \ macro
H A Dexpr.c225 return hashmap__find(ctx->ids, id, data) ? 0 : -1;
494 if (hashmap__find(ctx->ids, id, /*value=*/NULL))
H A Dannotate.h418 if (!hashmap__find(src->samples, key, &entry))
H A Dstat.c357 if (hashmap__find(mask, key, NULL)) {
H A Dmetricgroup.c317 if (hashmap__find(ids, metric_id, &val_ptr)) {
H A Dannotate.c1009 if (!hashmap__find(src->samples, hash_key, &entry)) {
/linux-master/tools/lib/bpf/
H A Dstrset.c130 if (hashmap__find(set->strs_hash, new_off, &old_off))
H A Dhashmap.h104 * hashmap__for_each_key_entry() iteration. If hashmap__find() is still
159 #define hashmap__find(map, key, value) \ macro
H A Dusdt.c909 if (hashmap__find(specs_hash, target->spec_str, &tmp)) {
H A Dbtf_dump.c1643 (void)hashmap__find(name_map, orig_name, &dup_cnt);
H A Dbtf.c1752 hashmap__find(p->str_off_map, *str_off, &mapped_off)) {
4753 if (!hashmap__find(names_map, t->name_off, &cand_id))
H A Dlibbpf.c5748 !hashmap__find(cand_cache, local_id, &cands)) {
/linux-master/tools/bpf/bpftool/
H A Dgen.c2342 !hashmap__find(cand_cache, relo->type_id, &cands)) {

Completed in 310 milliseconds