| /linux/tools/testing/selftests/hid/tests/ |
| A D | test_keyboard.py | 270 expected = [syn_event] 278 expected = [syn_event] 291 expected = [syn_event] 300 expected = [syn_event] 310 expected = [syn_event] 318 expected = [syn_event] 328 expected = [syn_event] 382 expected = [syn_event] 398 expected = [syn_event] 432 expected = [syn_event] [all …]
|
| A D | test_apple_keyboard.py | 171 expected = [syn_event] 180 expected = [syn_event] 195 expected = [syn_event] 204 expected = [syn_event] 213 expected = [syn_event] 227 expected = [syn_event] 236 expected = [syn_event] 243 expected = [syn_event] 258 expected = [syn_event] 267 expected = [syn_event] [all …]
|
| A D | test_mouse.py | 704 expected = [syn_event] 713 expected = [syn_event] 722 expected = [syn_event] 757 expected = [syn_event] 769 expected.append( 838 expected.append( 847 expected.append( 857 expected.append( 927 expected.append( 936 expected.append( [all …]
|
| /linux/drivers/iio/test/ |
| A D | iio-test-rescale.c | 28 const char *expected; member 42 .expected = "5210.918114143", 59 .expected = "260.545905707", 68 .expected = "-260.545905707", 77 .expected = "0.049528301", 86 .expected = "-0.049528301", 113 .expected = "1240.84789", 122 .expected = "-1240.84789", 269 .expected = "2.500617", 278 .expected = "-2.500617", [all …]
|
| /linux/drivers/firewire/ |
| A D | ohci-serdes-test.c | 15 const u32 expected = 0x803d0594; in test_self_id_count_register_deserialization() local 17 bool is_error = ohci1394_self_id_count_is_error(expected); in test_self_id_count_register_deserialization() 19 u32 size = ohci1394_self_id_count_get_size(expected); in test_self_id_count_register_deserialization() 45 static const __le32 expected[] = { in test_at_data_serdes() local 52 unsigned int speed = ohci1394_at_data_get_speed(expected); in test_at_data_serdes() 54 unsigned int retry = ohci1394_at_data_get_retry(expected); in test_at_data_serdes() 73 KUNIT_EXPECT_MEMEQ(test, quadlets, expected, sizeof(expected)); in test_at_data_serdes() 78 static const __le32 expected[] = { in test_it_data_serdes() local 84 unsigned int tag = ohci1394_it_data_get_tag(expected); in test_it_data_serdes() 87 unsigned int sync = ohci1394_it_data_get_sync(expected); in test_it_data_serdes() [all …]
|
| A D | packet-serdes-test.c | 310 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_write_quadlet_request() 350 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_write_block_request() 385 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected) - sizeof(expected[0])); in test_async_header_write_response() 420 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_quadlet_request() 459 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_quadlet_response() 499 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_block_request() 539 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_block_response() 579 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_lock_request() 619 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_lock_response() 698 KUNIT_EXPECT_MEMEQ(test, quadlets, expected, sizeof(expected)); in test_phy_packet_self_id_zero_case0() [all …]
|
| /linux/tools/testing/selftests/clone3/ |
| A D | clone3.c | 168 int expected; member 178 .expected = 0, 185 .expected = 0, 193 .expected = 0, 207 .expected = 0, 242 .expected = 0, 249 .expected = -E2BIG, 256 .expected = -E2BIG, 270 .expected = 0, 285 .expected = 0, [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| A D | drm_format_helper_test.c | 266 .expected = { 275 .expected = { 284 .expected = { 299 .expected = { 308 .expected = { 317 .expected = { 326 .expected = { 335 .expected = { 344 .expected = { 353 .expected = { [all …]
|
| A D | drm_dp_mst_helper_test.c | 19 const int expected; member 27 .expected = 689 33 .expected = 1047 39 .expected = 1063 45 .expected = 1191 51 .expected = 1161 60 params->expected); in drm_test_dp_mst_calc_pbn_mode() 74 fixed20_12 expected; member 180 .expected = fp_init(5, 0), 190 .expected = fp_init(6, 0), [all …]
|
| /linux/fs/ext4/ |
| A D | inode-test.c | 77 struct timespec64 expected; member 89 .expected = {.tv_sec = -0x80000000LL, .tv_nsec = 0L}, 97 .expected = {.tv_sec = -1LL, .tv_nsec = 0L}, 105 .expected = {0LL, 0L}, 113 .expected = {.tv_sec = 0x7fffffffLL, .tv_nsec = 0L}, 121 .expected = {.tv_sec = 0x80000000LL, .tv_nsec = 0L}, 129 .expected = {.tv_sec = 0xffffffffLL, .tv_nsec = 0L}, 137 .expected = {.tv_sec = 0x100000000LL, .tv_nsec = 0L}, 193 .expected = {.tv_sec = 0x300000000LL, 253 test_param->expected.tv_sec, in inode_test_xtimestamp_decoding() [all …]
|
| /linux/tools/testing/selftests/net/mptcp/ |
| A D | diag.sh | 50 local expected=$2 58 if [ "$nr" != "$expected" ]; then 88 local expected=$1 98 local expected=$1 109 [ $nr == $expected ] && break; 120 elif [ $nr != $expected ]; then 143 local expected=$2 168 local expected=$1 177 expected=$((expected + listen_nr)) 192 local expected=$1 [all …]
|
| /linux/tools/perf/tests/shell/ |
| A D | record+probe_libc_inet_pton.sh | 36 expected=`mktemp -u /tmp/expected.XXX` 38 echo "ping[][0-9 \.:]+$event_name: \([[:xdigit:]]+\)" > $expected 39 echo ".*inet_pton\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" >> $expected 43 echo "(__GI_)?getaddrinfo\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" >> $expected 44 echo "main\+0x[[:xdigit:]]+[[:space:]]\(.*/bin/ping.*\)$" >> $expected 50 echo "gaih_inet.*\+0x[[:xdigit:]]+[[:space:]]\($libc\)$" >> $expected 52 echo "getaddrinfo\+0x[[:xdigit:]]+[[:space:]]\($libc\)$" >> $expected 53 echo ".*(\+0x[[:xdigit:]]+|\[unknown\])[[:space:]]\(.*/bin/ping.*\)$" >> $expected 57 echo ".*(\+0x[[:xdigit:]]+|\[unknown\])[[:space:]]\(.*/bin/ping.*\)$" >> $expected 80 exec 4<$expected [all …]
|
| /linux/scripts/kconfig/tests/ |
| A D | conftest.py | 238 def _contains(self, attr, expected): argument 241 expected) 243 def _matches(self, attr, expected): argument 245 expected) 247 def config_contains(self, expected): argument 255 def config_matches(self, expected): argument 261 return self._matches('config', expected) 263 def stdout_contains(self, expected): argument 271 def stdout_matches(self, expected): argument 279 def stderr_contains(self, expected): argument [all …]
|
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| A D | reg_access_test.c | 18 uint64_t val, expected; in reg_access() local 22 expected = 0x8000000100000000ull; in reg_access() 23 mtspr(SPRN_BESCR, expected); in reg_access() 26 FAIL_IF(val != expected); in reg_access() 28 expected = 0x0000000001000000ull; in reg_access() 29 mtspr(SPRN_EBBHR, expected); in reg_access() 32 FAIL_IF(val != expected); in reg_access()
|
| /linux/tools/testing/selftests/bpf/ |
| A D | test_progs.h | 241 #define ASSERT_EQ(actual, expected, name) ({ \ argument 244 typeof(expected) ___exp = (expected); \ 255 typeof(expected) ___exp = (expected); \ 263 #define ASSERT_LT(actual, expected, name) ({ \ argument 266 typeof(expected) ___exp = (expected); \ 274 #define ASSERT_LE(actual, expected, name) ({ \ argument 277 typeof(expected) ___exp = (expected); \ 288 typeof(expected) ___exp = (expected); \ 299 typeof(expected) ___exp = (expected); \ 310 const char *___exp = expected; \ [all …]
|
| /linux/tools/testing/selftests/ |
| A D | kselftest_harness.h | 512 __EXPECT(expected, #expected, seen, #seen, ==, 1) 523 __EXPECT(expected, #expected, seen, #seen, !=, 1) 534 __EXPECT(expected, #expected, seen, #seen, <, 1) 545 __EXPECT(expected, #expected, seen, #seen, <=, 1) 556 __EXPECT(expected, #expected, seen, #seen, >, 1) 567 __EXPECT(expected, #expected, seen, #seen, >=, 1) 630 __EXPECT(expected, #expected, seen, #seen, ==, 0) 641 __EXPECT(expected, #expected, seen, #seen, !=, 0) 652 __EXPECT(expected, #expected, seen, #seen, <, 0) 663 __EXPECT(expected, #expected, seen, #seen, <=, 0) [all …]
|
| /linux/drivers/hid/ |
| A D | hid-uclogic-rdesc-test.c | 20 const __u8 *expected; member 107 .expected = template_empty, 115 .expected = template_small, 123 .expected = template_no_ph, 131 .expected = template_pen_ph_end, 139 .expected = template_btn_ph_end, 147 .expected = expected_pen_all_params, 155 .expected = expected_frame_all_params, 163 .expected = expected_pen_some_params, 171 .expected = expected_pen_some_params, [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | setget_sockopt.c | 28 int expected; member 39 { .opt = SO_SNDBUF, .new = 8123, .expected = 8123 * 2, }, 40 { .opt = SO_RCVBUF, .new = 8123, .expected = 8123 * 2, }, 42 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, }, 44 { .opt = SO_RCVLOWAT, .new = 8123, .expected = 8123, }, 45 { .opt = SO_MARK, .new = 0xeb9f, .expected = 0xeb9f, }, 63 .expected = BPF_SOCK_OPS_ALL_CB_FLAGS, }, 114 int old, tmp, new, expected, opt; in bpf_test_sockopt_int() local 119 expected = t->tcp_expected; in bpf_test_sockopt_int() 121 expected = t->expected; in bpf_test_sockopt_int() [all …]
|
| /linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
| A D | func_set_ftrace_file.tc | 126 DIFF=`diff $TMPDIR/actual $TMPDIR/expected` 131 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected 136 grep -v 'try.*lock$' $TMPDIR/expected > $TMPDIR/expected2 137 mv $TMPDIR/expected2 $TMPDIR/expected 142 grep -v '^m.*lock$' $TMPDIR/expected > $TMPDIR/expected2 143 mv $TMPDIR/expected2 $TMPDIR/expected 148 grep -v '^c.*unlock' $TMPDIR/expected > $TMPDIR/expected2 149 mv $TMPDIR/expected2 $TMPDIR/expected 154 > $TMPDIR/expected 158 rm $TMPDIR/expected
|
| /linux/tools/testing/selftests/riscv/vector/ |
| A D | vstate_prctl.c | 51 int test_and_compare_child(long provided, long expected, int inherit) in test_and_compare_child() argument 62 if (rc != expected) { in test_and_compare_child() 64 expected); in test_and_compare_child() 76 long flag, expected; in main() local 136 expected = flag | PR_RISCV_V_VSTATE_CTRL_ON; in main() 137 if (test_and_compare_child(flag, expected, 0)) in main() 140 if (test_and_compare_child(flag, expected, 1)) in main() 146 expected = flag | PR_RISCV_V_VSTATE_CTRL_OFF; in main() 147 if (test_and_compare_child(flag, expected, 0)) in main() 150 if (test_and_compare_child(flag, expected, 1)) in main()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | select_reuseport.c | 246 expected.len = MIN_TCPHDR_LEN; in check_data() 247 expected.ip_protocol = IPPROTO_TCP; in check_data() 249 expected.len = UDPHDR_LEN; in check_data() 283 expected.eth_protocol, expected.ip_protocol, in check_data() 284 expected.bind_inany); in check_data() 365 enum result expected) in send_data() argument 381 family, err, errno, expected); in send_data() 387 enum result expected) in do_test() argument 395 expected); in do_test() 403 nev, expected, type, family, in do_test() [all …]
|
| /linux/mm/damon/tests/ |
| A D | vaddr-kunit.h | 132 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions() argument 148 KUNIT_EXPECT_EQ(test, r->ar.start, expected[i * 2]); in damon_do_test_apply_three_regions() 149 KUNIT_EXPECT_EQ(test, r->ar.end, expected[i * 2 + 1]); in damon_do_test_apply_three_regions() 172 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local 176 new_three_regions, expected, ARRAY_SIZE(expected)); in damon_test_apply_three_regions1() 194 unsigned long expected[] = {5, 20, 20, 27, 56, 57, in damon_test_apply_three_regions2() local 198 new_three_regions, expected, ARRAY_SIZE(expected)); in damon_test_apply_three_regions2() 218 unsigned long expected[] = {5, 20, 20, 27, 61, 63, in damon_test_apply_three_regions3() local 222 new_three_regions, expected, ARRAY_SIZE(expected)); in damon_test_apply_three_regions3() 243 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; in damon_test_apply_three_regions4() local [all …]
|
| /linux/tools/testing/selftests/damon/ |
| A D | _debugfs_common.sh | 9 expected=$5 12 if [ $? -ne "$expected" ] 14 echo "writing $content to $file doesn't return $expected" 32 expected=$3 36 if [ "$content" != "$expected" ] 38 echo "reading $file expected $expected but $content"
|
| /linux/drivers/gpu/drm/xe/tests/ |
| A D | xe_migrate.c | 76 u64 retval, expected = 0; in test_copy() local 131 check(retval, expected, in test_copy() 134 check(retval, expected, in test_copy() 148 check(retval, expected, in test_copy() 151 check(retval, expected, in test_copy() 190 u64 retval, expected; in xe_migrate_sanity_test() local 267 expected = 0; in xe_migrate_sanity_test() 282 expected = 0; in xe_migrate_sanity_test() 304 expected = 0; in xe_migrate_sanity_test() 498 u64 expected, retval; in test_migrate() local [all …]
|
| /linux/tools/perf/tests/ |
| A D | hists_cumulate.c | 224 !strcmp(COMM(he), expected[i].comm) && in do_test() 225 !strcmp(DSO(he), expected[i].dso) && in do_test() 226 !strcmp(SYM(he), expected[i].sym)); in do_test() 282 struct result expected[] = { in test1() local 305 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test1() 380 struct result expected[] = { in test2() local 452 err = do_test(hists, expected, ARRAY_SIZE(expected), in test2() 484 struct result expected[] = { in test3() local 510 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test3() 604 struct result expected[] = { in test4() local [all …]
|