Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 – 7 of 7) sorted by relevance

/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_test.c
/linux/samples/kfifo/
H A Dinttype-example.c45 static const int expected_result[FIFO_SIZE] = { variable
92 if (i != expected_result[j++]) { in testfunc()
97 if (j != ARRAY_SIZE(expected_result)) { in testfunc()
H A Drecord-example.c56 static const char *expected_result[] = { variable
106 if (strcmp(buf, expected_result[i++])) { in testfunc()
111 if (i != ARRAY_SIZE(expected_result)) { in testfunc()
H A Dbytestream-example.c45 static const unsigned char expected_result[FIFO_SIZE] = { variable
99 if (i != expected_result[j++]) { in testfunc()
104 if (j != ARRAY_SIZE(expected_result)) { in testfunc()
/linux/lib/math/tests/
H A Dint_pow_kunit.c9 u64 expected_result; member
36 KUNIT_EXPECT_EQ(test, tc->expected_result, int_pow(tc->base, tc->exponent)); in int_pow_test()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_addr.c373 } expected_result; member
2613 test->expected_result == LOAD_REJECT || in test_sock_addr()
2614 test->expected_result == ATTACH_REJECT); in test_sock_addr()
2645 if (test->expected_result == SYSCALL_EPERM) in test_sock_addr()
2647 else if (test->expected_result == SYSCALL_ENOTSUPP) in test_sock_addr()
2649 else if (test->expected_result == SUCCESS) in test_sock_addr()
/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test.c2528 int expected_result; in cros_ec_proto_test_get_sensor_count_legacy() member
2558 KUNIT_EXPECT_EQ(test, ret, test_data[i].expected_result); in cros_ec_proto_test_get_sensor_count_legacy()