Searched refs:read_val (Results 1 – 2 of 2) sorted by relevance
| /tools/testing/selftests/arm64/abi/ |
| A D | ptrace.c | 34 uint64_t read_val[MAX_TPIDRS]; in test_tpidr() local 40 read_iov.iov_base = read_val; in test_tpidr() 50 write_val[0] = read_val[0] + 1; in test_tpidr() 60 read_iov.iov_len = sizeof(read_val); in test_tpidr() 81 write_val[i] = read_val[i] + 1; in test_tpidr() 96 memcmp(read_val, write_val, in test_tpidr() 97 sizeof(read_val)) == 0, in test_tpidr() 104 read_val[1] == 0, in test_tpidr() 110 memcpy(write_val, read_val, sizeof(read_val)); in test_tpidr() 122 memcmp(read_val, write_val, in test_tpidr() [all …]
|
| /tools/testing/selftests/alsa/ |
| A D | mixer-test.c | 481 snd_ctl_elem_value_t *read_val) in show_values() argument 523 snd_ctl_elem_value_t *read_val, in show_mismatch() argument 551 read_int = snd_ctl_elem_value_get_integer64(read_val, in show_mismatch() 593 snd_ctl_elem_value_t *initial_val, *read_val, *w_val; in write_and_verify() local 595 snd_ctl_elem_value_alloca(&read_val); in write_and_verify() 639 snd_ctl_elem_value_set_id(read_val, ctl->id); in write_and_verify() 641 err = snd_ctl_elem_read(ctl->card->handle, read_val); in write_and_verify() 654 if (!ctl_value_valid(ctl, read_val)) { in write_and_verify() 675 show_values(ctl, initial_val, read_val); in write_and_verify() 682 show_values(ctl, initial_val, read_val); in write_and_verify() [all …]
|
Completed in 6 milliseconds