Searched refs:expected_result (Results 1 – 11 of 11) sorted by relevance
| /linux/net/sunrpc/auth_gss/ |
| A D | gss_krb5_test.c | 32 const struct xdr_netobj *expected_result; member 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() 314 param->expected_result->len * 8, result); in rfc3961_nfold_case() 318 memcmp(param->expected_result->data, in rfc3961_nfold_case() 570 param->expected_result->len, buf.len, in rfc3962_encrypt_case() 573 memcmp(param->expected_result->data, in rfc3962_encrypt_case() 1198 memcmp(param->expected_result->data, in rfc6803_encrypt_case() 1691 memcmp(param->expected_result->data, in rfc8009_encrypt_case() [all …]
|
| /linux/lib/math/ |
| A D | test_mul_u64_u64_div_u64.c | 76 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/ |
| A D | inttype-example.c | 45 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()
|
| A D | record-example.c | 56 static const char *expected_result[] = { variable 106 if (strcmp(buf, expected_result[i++])) { in testfunc() 111 if (i != ARRAY_SIZE(expected_result)) { in testfunc()
|
| A D | bytestream-example.c | 45 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/ |
| A D | int_pow_kunit.c | 9 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/ |
| A D | amx.c | 318 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/ |
| A D | sock_addr.c | 377 } expected_result; member 2617 test->expected_result == LOAD_REJECT || in test_sock_addr() 2618 test->expected_result == ATTACH_REJECT); in test_sock_addr() 2649 if (test->expected_result == SYSCALL_EPERM) in test_sock_addr() 2651 else if (test->expected_result == SYSCALL_ENOTSUPP) in test_sock_addr() 2653 else if (test->expected_result == SUCCESS) in test_sock_addr()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| A D | dce_i2c_hw.c | 445 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/of/ |
| A D | unittest.c | 3538 .expected_result = expected, \ 3546 int expected_result; member 3676 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base() 3749 if (ret != info->expected_result) { in overlay_data_apply() 3751 info->expected_result, ret, overlay_name); in overlay_data_apply()
|
| /linux/drivers/platform/chrome/ |
| A D | cros_ec_proto_test.c | 2528 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()
|
Completed in 34 milliseconds