Home
last modified time | relevance | path

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

/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_test.c32 const struct xdr_netobj *expected_result; member
55 derivedkey.data = kunit_kzalloc(test, param->expected_result->len, in kdf_case()
58 derivedkey.len = param->expected_result->len; in kdf_case()
67 memcmp(param->expected_result->data, in kdf_case()
115 memcmp(param->expected_result->data, in checksum_case()
236 .expected_result = &nfold_test1_expected_result,
242 .expected_result = &nfold_test2_expected_result,
248 .expected_result = &nfold_test3_expected_result,
254 .expected_result = &nfold_test4_expected_result,
260 .expected_result = &nfold_test5_expected_result,
[all …]
/linux/lib/math/
H A Dtest_mul_u64_u64_div_u64.c76 u64 expected_result = test_values[i].result; in test_init() local
79 if (result != expected_result) { in test_init()
81 pr_err("ERROR: expected result: %016llx\n", expected_result); in test_init()
/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/x86/
H A Damx.c318 enum expected_result { FAIL_EXPECTED, SUCCESS_EXPECTED }; enum
331 static void validate_req_xcomp_perm(enum expected_result exp) in validate_req_xcomp_perm()
368 static void validate_xcomp_perm(enum expected_result exp) in validate_xcomp_perm()
406 static void setup_altstack(void *addr, unsigned long size, enum expected_result exp) in setup_altstack()
/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/gpu/drm/amd/display/dc/dce/
H A Ddce_i2c_hw.c445 enum i2c_channel_operation_result expected_result) in dce_i2c_hw_engine_wait_on_operation_result() argument
458 if (result != expected_result) in dce_i2c_hw_engine_wait_on_operation_result()
/linux/drivers/gpu/drm/tests/
H A Ddrm_connector_test.c1101 int expected_result; member
1108 .expected_result = _result, \
1153 KUNIT_EXPECT_EQ(test, ret, params->expected_result); in drm_test_connector_hdmi_init_formats_yuv420_allowed()
/linux/drivers/of/
H A Dunittest.c3599 .expected_result = expected, \
3607 int expected_result; member
3731 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base()
3804 if (ret != info->expected_result) { in overlay_data_apply()
3806 info->expected_result, ret, overlay_name); in overlay_data_apply()
/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()