Searched refs:expected_result (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/samples/kfifo/ |
| H 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()
|
| H 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()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_sock_addr.c | 83 } expected_result; member 655 if (ret < 0 && test->expected_result != LOAD_REJECT) { in load_insns() 860 if (test->expected_result != LOAD_REJECT) in load_path() 1550 if (test->expected_result == LOAD_REJECT && progfd < 0) in run_test_case() 1552 else if (test->expected_result == LOAD_REJECT || progfd < 0) in run_test_case() 1557 if (test->expected_result == ATTACH_REJECT && err) { in run_test_case() 1560 } else if (test->expected_result == ATTACH_REJECT || err) { in run_test_case() 1562 } else if (test->expected_result == ATTACH_OKAY) { in run_test_case() 1588 if (test->expected_result == SYSCALL_EPERM && err == EPERM) { in run_test_case() 1593 if (test->expected_result == SYSCALL_ENOTSUPP && err == ENOTSUPP) { in run_test_case() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_i2c_hw.c | 424 enum i2c_channel_operation_result expected_result) in dce_i2c_hw_engine_wait_on_operation_result() argument 437 if (result != expected_result) in dce_i2c_hw_engine_wait_on_operation_result()
|
| /OK3568_Linux_fs/kernel/drivers/of/ |
| H A D | unittest.c | 2829 .expected_result = expected, \ 2836 int expected_result; member 2899 {.dtb_begin = NULL, .dtb_end = NULL, .expected_result = 0, .name = NULL} 2951 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base() 3022 if (ret != info->expected_result) in overlay_data_apply() 3024 info->expected_result, ret, overlay_name); in overlay_data_apply() 3026 return (ret == info->expected_result); in overlay_data_apply()
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | fips140-selftests.c | 146 fips_check_result(u8 *result, const u8 *expected_result, size_t result_size, in fips_check_result() argument 150 if (memcmp(result, expected_result, result_size) != 0) { in fips_check_result()
|