Lines Matching refs:dst
32 QIOChannel *dst) in test_io_channel_set_socket_bufs() argument
45 setsockopt(((QIOChannelSocket *)dst)->fd, in test_io_channel_set_socket_bufs()
56 QIOChannel **dst) in test_io_channel_setup_sync() argument
79 *dst = QIO_CHANNEL(qio_channel_socket_accept(lioc, &error_abort)); in test_io_channel_setup_sync()
80 g_assert(*dst); in test_io_channel_setup_sync()
82 test_io_channel_set_socket_bufs(*src, *dst); in test_io_channel_setup_sync()
107 QIOChannel **dst) in test_io_channel_setup_async() argument
147 *dst = QIO_CHANNEL(qio_channel_socket_accept(lioc, &error_abort)); in test_io_channel_setup_async()
148 g_assert(*dst); in test_io_channel_setup_async()
151 test_io_channel_set_socket_bufs(*src, *dst); in test_io_channel_setup_async()
176 QIOChannel *src, *dst, *srv; in test_io_channel() local
180 &srv, &src, &dst); in test_io_channel()
186 qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_FD_PASS)); in test_io_channel()
189 g_assert(qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_SHUTDOWN)); in test_io_channel()
194 qio_channel_test_run_threads(test, true, src, dst); in test_io_channel()
202 object_unref(OBJECT(dst)); in test_io_channel()
209 &srv, &src, &dst); in test_io_channel()
215 qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_FD_PASS)); in test_io_channel()
218 g_assert(qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_SHUTDOWN)); in test_io_channel()
221 qio_channel_test_run_threads(test, false, src, dst); in test_io_channel()
227 qio_channel_close(dst, &error_abort); in test_io_channel()
231 object_unref(OBJECT(dst)); in test_io_channel()
241 &srv, &src, &dst); in test_io_channel()
247 qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_FD_PASS)); in test_io_channel()
250 g_assert(qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_SHUTDOWN)); in test_io_channel()
255 qio_channel_test_run_threads(test, true, src, dst); in test_io_channel()
263 object_unref(OBJECT(dst)); in test_io_channel()
270 &srv, &src, &dst); in test_io_channel()
276 qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_FD_PASS)); in test_io_channel()
279 g_assert(qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_SHUTDOWN)); in test_io_channel()
282 qio_channel_test_run_threads(test, false, src, dst); in test_io_channel()
290 qio_channel_close(dst, &error_abort); in test_io_channel()
294 object_unref(OBJECT(dst)); in test_io_channel()
413 QIOChannel *src, *dst, *srv; in test_io_channel_unix_fd_pass() local
437 test_io_channel_setup_sync(listen_addr, connect_addr, &srv, &src, &dst); in test_io_channel_unix_fd_pass()
448 g_assert(qio_channel_has_feature(dst, QIO_CHANNEL_FEATURE_FD_PASS)); in test_io_channel_unix_fd_pass()
458 qio_channel_readv_full(dst, in test_io_channel_unix_fd_pass()
491 object_unref(OBJECT(dst)); in test_io_channel_unix_fd_pass()