Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-io-channel-socket.c416 int *fdrecv = NULL; in test_io_channel_unix_fd_pass() local
461 &fdrecv, in test_io_channel_unix_fd_pass()
469 g_assert_cmpint(fdrecv[i], !=, testfd); in test_io_channel_unix_fd_pass()
472 g_assert_cmpint(fdrecv[0], !=, fdrecv[1]); in test_io_channel_unix_fd_pass()
473 g_assert_cmpint(fdrecv[0], !=, fdrecv[2]); in test_io_channel_unix_fd_pass()
474 g_assert_cmpint(fdrecv[1], !=, fdrecv[2]); in test_io_channel_unix_fd_pass()
480 g_assert(write(fdrecv[0], bufsend, G_N_ELEMENTS(bufsend)) == in test_io_channel_unix_fd_pass()
499 close(fdrecv[i]); in test_io_channel_unix_fd_pass()
501 g_free(fdrecv); in test_io_channel_unix_fd_pass()