Searched refs:expected_result (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/samples/kfifo/ |
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()
|
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()
|
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-v6.1/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 86 } expected_result; member 655 if (ret < 0 && test->expected_result != LOAD_REJECT) { in load_insns() 686 if (test->expected_result != LOAD_REJECT) in load_path() 1325 if (test->expected_result == LOAD_REJECT && progfd < 0) in run_test_case() 1327 else if (test->expected_result == LOAD_REJECT || progfd < 0) in run_test_case() 1332 if (test->expected_result == ATTACH_REJECT && err) { in run_test_case() 1335 } else if (test->expected_result == ATTACH_REJECT || err) { in run_test_case() 1337 } else if (test->expected_result == ATTACH_OKAY) { in run_test_case() 1363 if (test->expected_result == SYSCALL_EPERM && err == EPERM) { in run_test_case() 1368 if (test->expected_result == SYSCALL_ENOTSUPP && err == ENOTSUPP) { in run_test_case() [all …]
|
/Linux-v6.1/tools/testing/selftests/x86/ |
D | amx.c | 347 enum expected_result { FAIL_EXPECTED, SUCCESS_EXPECTED }; enum 359 static void validate_req_xcomp_perm(enum expected_result exp) in validate_req_xcomp_perm() 396 static void validate_xcomp_perm(enum expected_result exp) in validate_xcomp_perm() 434 static void setup_altstack(void *addr, unsigned long size, enum expected_result exp) in setup_altstack()
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_i2c_hw.c | 448 enum i2c_channel_operation_result expected_result) in dce_i2c_hw_engine_wait_on_operation_result() argument 461 if (result != expected_result) in dce_i2c_hw_engine_wait_on_operation_result()
|
/Linux-v6.1/drivers/of/ |
D | unittest.c | 3017 .expected_result = expected, \ 3024 int expected_result; member 3097 {.dtb_begin = NULL, .dtb_end = NULL, .expected_result = 0, .name = NULL} 3149 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base() 3220 if (ret != info->expected_result) in overlay_data_apply() 3222 info->expected_result, ret, overlay_name); in overlay_data_apply() 3224 return (ret == info->expected_result); in overlay_data_apply()
|
/Linux-v6.1/drivers/platform/chrome/ |
D | cros_ec_proto_test.c | 2539 int expected_result; in cros_ec_proto_test_get_sensor_count_legacy() member 2569 KUNIT_EXPECT_EQ(test, ret, test_data[i].expected_result); in cros_ec_proto_test_get_sensor_count_legacy()
|