Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 25) 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.c350 const char *key2, snd_config_t **result) in conf_get_by_keys() argument
359 if (key2) in conf_get_by_keys()
360 ret = snd_config_search(root, key2, &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/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.c299 uint64_t *key2 = (uint64_t *) __key2; 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
146 ((union hwmon_pmu_event_key)key2).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.py74 key2 = libevdev.evbit(uhdev.buttons_map[b2])
79 expected_event1 = libevdev.InputEvent(key2, 1)
86 assert evdev.value[key2] == 1
95 assert evdev.value[key2] == 1
99 expected_event = libevdev.InputEvent(key2, 0)
104 assert evdev.value[key2] == 0
/tools/bootconfig/samples/
A Descaped.bconf2 key2 = '\'\''
A Dgood-single.bconf3 key2 = 2
/tools/lib/bpf/
A Dstrset.c30 static bool strset_equal_fn(long key1, long key2, void *ctx) in strset_equal_fn() argument
34 const char *str2 = s->strs_data + key2; 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/perf/Documentation/
A Dperf-kmem.txt45 -s <key[,key2...]>::
46 --sort=<key[,key2...]>::
A Dperf-sched.txt113 --sort <key[,key2...]>::
/tools/testing/selftests/wireguard/
A Dnetns.sh83 key2="$(pp wg genkey)"
87 pub2="$(pp wg pubkey <<<"$key2")"
91 [[ -n $key1 && -n $key2 && -n $psk ]]
107 private-key <(echo "$key2") \
246 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
259 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
653 n0 wg set wg0 private-key <(echo "$key2")
/tools/testing/selftests/bpf/progs/
A Dverifier_array_access.c566 __u32 __attribute__((aligned(8))) key2 = 0; in multiple_array_with_a_constant_no_nullness() local
572 val2 = bpf_map_lookup_elem(&map_array, &key2); in multiple_array_with_a_constant_no_nullness()
/tools/testing/selftests/net/tcp_ao/lib/
A Daolib.h417 struct tcp_ao_getsockopt key2 = {}; in test_verify_socket_key() local
420 err = test_get_one_ao(sk, &key2, &key->addr, sizeof(key->addr), in test_verify_socket_key()
425 return test_cmp_getsockopt_setsockopt(key, &key2); in test_verify_socket_key()
/tools/testing/selftests/bpf/prog_tests/
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/
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 54 milliseconds