/openbmc/linux/tools/testing/selftests/net/ |
H A D | tls.c | 233 char const *test_str = "test_read"; in TEST_F() local 237 ASSERT_EQ(strlen(test_str) + 1, send_len); in TEST_F() 239 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F() 241 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 414 char const *test_str = "test_send"; in TEST_F() local 415 int to_send = strlen(test_str) + 1; in TEST_F() 424 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F() 426 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F() 505 char const *test_str = "test_read"; in TEST_F() local 509 send_len = strlen(test_str) + 1; in TEST_F() [all …]
|
/openbmc/obmc-console/test/ |
H A D | test-config-parse-bytesize.c | 14 const char *test_str; member 51 rc = config_parse_bytesize(test_data[i].test_str, &size); in test_config_parse_bytesize() 55 test_data[i].test_str, test_data[i].expected_rc, in test_config_parse_bytesize() 59 i, test_data[i].test_str, in test_config_parse_bytesize()
|
/openbmc/qemu/tests/qtest/ |
H A D | adm1266-test.c | 49 const char *test_str) in compare_string() argument 55 g_assert_cmpstr(i2c_str, ==, test_str); in compare_string() 59 const char *test_str, uint8_t len) in write_and_compare_string() argument 63 strncpy(buf + 1, test_str, len); in write_and_compare_string() 65 compare_string(i2cdev, reg, test_str); in write_and_compare_string()
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | guest_print_test.c | 144 char test_str[UCALL_BUFFER_LEN + 10]; in guest_code_limits() local 146 memset(test_str, 'a', sizeof(test_str)); in guest_code_limits() 147 test_str[sizeof(test_str) - 1] = 0; in guest_code_limits() 149 GUEST_PRINTF("%s", test_str); in guest_code_limits()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 76 char *test_str, in do_insert_test() argument 86 if (strcmp(test_str, test->name) == 0) { in do_insert_test() 87 free(test_str); in do_insert_test() 99 test->name = test_str; in do_insert_test()
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.c | 597 static const unsigned char test_str[] = "fm10k"; variable 644 test_str); in fm10k_tlv_msg_test_generate_data() 736 if (!err && memcmp(test_str, result_str, sizeof(test_str))) in fm10k_tlv_msg_test()
|
/openbmc/linux/lib/ |
H A D | test_kmod.c | 721 const char *test_str) in trigger_config_run_type() argument 732 copied = config_copy_test_driver_name(config, test_str, in trigger_config_run_type() 733 strlen(test_str)); in trigger_config_run_type() 738 copied = config_copy_test_fs(config, test_str, in trigger_config_run_type() 739 strlen(test_str)); in trigger_config_run_type() 750 if (copied <= 0 || copied != strlen(test_str)) { in trigger_config_run_type()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cls_redirect.c | 205 static int test_str(void *buf, size_t len, const struct test_cfg *test, in test_str() function 407 test_str(tmp, sizeof(tmp), test, tuple->family); in test_cls_redirect_common()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 213 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in ef4_fill_test() local 226 snprintf(test_str, sizeof(test_str), test_format, test_id); in ef4_fill_test() 229 "%-6s %-24s", unit_str, test_str); in ef4_fill_test()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 262 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test() local 275 snprintf(test_str, sizeof(test_str), test_format, test_id); in efx_fill_test() 278 "%-6s %-24s", unit_str, test_str); in efx_fill_test()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 213 char unit_str[ETH_GSTRING_LEN], test_str[ETH_GSTRING_LEN]; in efx_fill_test() local 226 snprintf(test_str, sizeof(test_str), test_format, test_id); in efx_fill_test() 229 "%-6s %-24s", unit_str, test_str); in efx_fill_test()
|