| /tools/testing/selftests/alsa/ |
| A D | alsa-local.h | 19 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 D | conf.c | 349 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 D | timer_mim.c | 10 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 D | kprobe_multi_test.c | 430 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 D | fncache.c | 18 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 D | threads.c | 18 static bool key_equal(long key1, long key2, void *ctx __maybe_unused) in key_equal() argument 20 return key1 == key2; in key_equal()
|
| A D | expr.c | 61 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 D | hashmap.h | 44 typedef bool (*hashmap_equal_fn)(long key1, long key2, void *ctx);
|
| A D | bpf-trace-summary.c | 136 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 D | stat.c | 298 uint64_t *key1 = (uint64_t *) __key1; in pkg_id_equal() local 301 return *key1 == *key2; in pkg_id_equal()
|
| A D | hwmon_pmu.c | 143 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 D | bpf_lock_contention.c | 32 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 D | pmu.c | 1163 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 D | annotate.c | 98 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 D | test_gamepad.py | 72 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 D | bad-manywords.bconf | 1 key1.is2.too3.long4.5.6.7.8.9.10.11.12.13.14.15.16.17
|
| A D | escaped.bconf | 1 key1 = "A\B\C"
|
| /tools/testing/selftests/bpf/progs/ |
| A D | rbtree_search.c | 14 int key1; member 48 return node_a->key1 < node_b->key1; in less1() 68 m->key1 = i; in rbtree_search()
|
| /tools/lib/bpf/ |
| A D | strset.c | 30 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 D | hashmap.h | 44 typedef bool (*hashmap_equal_fn)(long key1, long key2, void *ctx);
|
| A D | usdt.c | 897 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 D | netns.sh | 82 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 D | builtin-trace.c | 1560 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()
|