Lines Matching refs:transport

44   ThriftTransport *transport = NULL;  in test_create_and_destroy()  local
54 g_object_get (G_OBJECT (object), "transport", &transport, in test_create_and_destroy()
67 ThriftTransport *transport = NULL; in test_open_and_close() local
89 transport = g_object_new (THRIFT_TYPE_ZLIB_TRANSPORT, in test_open_and_close()
93 g_assert (thrift_zlib_transport_open (transport, NULL) == TRUE); in test_open_and_close()
94 g_assert (thrift_zlib_transport_is_open (transport) == TRUE); in test_open_and_close()
95 g_assert (thrift_zlib_transport_close (transport, NULL) == TRUE); in test_open_and_close()
96 g_object_unref (transport); in test_open_and_close()
104 transport = g_object_new (THRIFT_TYPE_ZLIB_TRANSPORT, in test_open_and_close()
107 g_assert (thrift_zlib_transport_open (transport, &err) == FALSE); in test_open_and_close()
108 g_object_unref (transport); in test_open_and_close()
124 ThriftTransport *transport = NULL; in test_read_and_write() local
142 transport = g_object_new (THRIFT_TYPE_ZLIB_TRANSPORT, in test_read_and_write()
145 g_assert (thrift_zlib_transport_open (transport, NULL) == TRUE); in test_read_and_write()
146 g_assert (thrift_zlib_transport_is_open (transport)); in test_read_and_write()
148 thrift_zlib_transport_write (transport, buf, 36, NULL); in test_read_and_write()
149 thrift_zlib_transport_flush (transport, NULL); in test_read_and_write()
150 thrift_zlib_transport_write_end (transport, NULL); in test_read_and_write()
152 g_object_unref (transport); in test_read_and_write()
163 ThriftServerTransport *transport = NULL; in thrift_socket_server_open() local
170 transport = THRIFT_SERVER_TRANSPORT (tsocket); in thrift_socket_server_open()
171 thrift_server_transport_listen (transport, NULL); in thrift_socket_server_open()
173 client = thrift_server_transport_accept (transport, NULL); in thrift_socket_server_open()
186 ThriftServerTransport *transport = NULL; in thrift_server() local
194 transport = THRIFT_SERVER_TRANSPORT (tsocket); in thrift_server()
195 thrift_server_transport_listen (transport, NULL); in thrift_server()
199 thrift_server_transport_accept (transport, NULL), in thrift_server()