Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 23 of 23) sorted by relevance

/tools/testing/selftests/alsa/
A Dalsa-local.h19 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2);
20 int conf_get_count(snd_config_t *root, const char *key1, const char *key2);
21 const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def…
22 long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def);
23 int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def);
24 void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2,
A Dconf.c349 static int conf_get_by_keys(snd_config_t *root, const char *key1, in conf_get_by_keys() argument
354 if (key1) { in conf_get_by_keys()
355 ret = snd_config_search(root, key1, &root); in conf_get_by_keys()
372 ret = conf_get_by_keys(root, key1, key2, &root); in conf_get_subtree()
388 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_count()
409 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_string()
415 ksft_exit_fail_msg("key '%s'.'%s' is not a string\n", key1, key2); in conf_get_string()
427 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_long()
444 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_bool()
451 ksft_exit_fail_msg("key '%s'.'%s' is not an bool\n", key1, key2); in conf_get_bool()
[all …]
/tools/testing/selftests/bpf/prog_tests/
A Dtimer_mim.c10 int err, prog_fd, key1 = 1; in timer_mim() local
38 err = bpf_map__delete_elem(timer_skel->maps.outer_arr, &key1, sizeof(key1), 0); in timer_mim()
A Dkprobe_multi_test.c430 static bool symbol_equal(long key1, long key2, void *ctx __maybe_unused) in symbol_equal() argument
432 return strcmp((const char *) key1, (const char *) key2) == 0; in symbol_equal()
/tools/perf/util/
A Dfncache.c18 static bool fncache__equal(long key1, long key2, void *ctx __maybe_unused) in fncache__equal() argument
20 return strcmp((const char *)key1, (const char *)key2) == 0; in fncache__equal()
A Dthreads.c18 static bool key_equal(long key1, long key2, void *ctx __maybe_unused) in key_equal() argument
20 return key1 == key2; in key_equal()
A Dexpr.c61 static bool key_equal(long key1, long key2, void *ctx __maybe_unused) in key_equal() argument
63 return !strcmp((const char *)key1, (const char *)key2); in key_equal()
A Dhashmap.h44 typedef bool (*hashmap_equal_fn)(long key1, long key2, void *ctx);
A Dbpf-trace-summary.c136 static bool sc_node_equal(long key1, long key2, void *ctx __maybe_unused) in sc_node_equal() argument
138 return key1 == key2; in sc_node_equal()
A Dstat.c298 uint64_t *key1 = (uint64_t *) __key1; in pkg_id_equal() local
301 return *key1 == *key2; in pkg_id_equal()
A Dhwmon_pmu.c143 static bool hwmon_pmu__event_hashmap_equal(long key1, long key2, void *ctx __maybe_unused) in hwmon_pmu__event_hashmap_equal() argument
145 return ((union hwmon_pmu_event_key)key1).type_and_num == in hwmon_pmu__event_hashmap_equal()
A Dbpf_lock_contention.c32 static bool slab_cache_equal(long key1, long key2, void *ctx __maybe_unused) in slab_cache_equal() argument
34 return key1 == key2; in slab_cache_equal()
A Dpmu.c1163 static bool aliases__equal(long key1, long key2, void *ctx __maybe_unused) in aliases__equal() argument
1165 return strcasecmp((const char *)key1, (const char *)key2) == 0; in aliases__equal()
A Dannotate.c98 static bool sym_hist_equal(long key1, long key2, void *ctx __maybe_unused) in sym_hist_equal() argument
100 return key1 == key2; in sym_hist_equal()
/tools/testing/selftests/hid/tests/
A Dtest_gamepad.py72 key1 = libevdev.evbit(uhdev.buttons_map[b1])
78 expected_event0 = libevdev.InputEvent(key1, 1)
85 assert evdev.value[key1] == 1
90 expected_event = libevdev.InputEvent(key1, 0)
94 assert evdev.value[key1] == 0
103 assert evdev.value[key1] == 0
/tools/bootconfig/samples/
A Dbad-manywords.bconf1 key1.is2.too3.long4.5.6.7.8.9.10.11.12.13.14.15.16.17
A Descaped.bconf1 key1 = "A\B\C"
/tools/testing/selftests/bpf/progs/
A Drbtree_search.c14 int key1; member
48 return node_a->key1 < node_b->key1; in less1()
68 m->key1 = i; in rbtree_search()
/tools/lib/bpf/
A Dstrset.c30 static bool strset_equal_fn(long key1, long key2, void *ctx) in strset_equal_fn() argument
33 const char *str1 = s->strs_data + key1; in strset_equal_fn()
A Dhashmap.h44 typedef bool (*hashmap_equal_fn)(long key1, long key2, void *ctx);
A Dusdt.c897 static bool specs_equal_fn(long key1, long key2, void *ctx) in specs_equal_fn() argument
899 return strcmp((char *)key1, (char *)key2) == 0; in specs_equal_fn()
/tools/testing/selftests/wireguard/
A Dnetns.sh82 key1="$(pp wg genkey)"
86 pub1="$(pp wg pubkey <<<"$key1")"
91 [[ -n $key1 && -n $key2 && -n $psk ]]
101 private-key <(echo "$key1") \
245 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips 192…
258 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips fd0…
524 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" endpoint 10.0.0.1:1 persistent-keepalive 1
539 n1 wg set wg0 private-key <(echo "$key1")
646 n0 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk")
647 [[ $(n0 wg show wg0 private-key) == "$key1" ]]
[all …]
/tools/perf/
A Dbuiltin-trace.c1560 static bool syscall_id_equal(long key1, long key2, void *ctx __maybe_unused) in syscall_id_equal() argument
1562 return key1 == key2; in syscall_id_equal()

Completed in 51 milliseconds