Home
last modified time | relevance | path

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

/Linux-v4.19/samples/kfifo/
Drecord-example.c58 static const char *expected_result[] = { variable
108 if (strcmp(buf, expected_result[i++])) { in testfunc()
113 if (i != ARRAY_SIZE(expected_result)) { in testfunc()
Dinttype-example.c47 static const int expected_result[FIFO_SIZE] = { variable
94 if (i != expected_result[j++]) { in testfunc()
99 if (j != ARRAY_SIZE(expected_result)) { in testfunc()
Dbytestream-example.c47 static const unsigned char expected_result[FIFO_SIZE] = { variable
101 if (i != expected_result[j++]) { in testfunc()
106 if (j != ARRAY_SIZE(expected_result)) { in testfunc()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/i2caux/
Di2c_hw_engine.h41 enum i2c_channel_operation_result expected_result);
66 enum i2c_channel_operation_result expected_result);
Di2c_hw_engine.c208 enum i2c_channel_operation_result expected_result) in dal_i2c_hw_engine_wait_on_operation_result() argument
220 if (result != expected_result) in dal_i2c_hw_engine_wait_on_operation_result()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_sock_addr.c81 } expected_result; member
533 if (ret < 0 && test->expected_result != LOAD_REJECT) { in load_insns()
699 if (test->expected_result != LOAD_REJECT) in load_path()
1290 if (test->expected_result == LOAD_REJECT && progfd < 0) in run_test_case()
1292 else if (test->expected_result == LOAD_REJECT || progfd < 0) in run_test_case()
1297 if (test->expected_result == ATTACH_REJECT && err) { in run_test_case()
1300 } else if (test->expected_result == ATTACH_REJECT || err) { in run_test_case()
1321 if (test->expected_result == SYSCALL_EPERM && err == EPERM) { in run_test_case()
1326 if (test->expected_result == SYSCALL_ENOTSUPP && err == ENOTSUPP) { in run_test_case()
1331 if (err || test->expected_result != SUCCESS) in run_test_case()
/Linux-v4.19/drivers/of/
Dunittest.c2131 .expected_result = expected, \
2138 int expected_result; member
2217 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base()
2289 if (ret != info->expected_result) in overlay_data_apply()
2291 info->expected_result, ret, overlay_name); in overlay_data_apply()
2293 return (ret == info->expected_result); in overlay_data_apply()