Lines Matching refs:client
179 ThriftTransport *client = NULL; in thrift_socket_server_open() local
187 client = thrift_server_transport_accept (transport, NULL); in thrift_socket_server_open()
188 g_assert (client != NULL); in thrift_socket_server_open()
189 thrift_socket_close (client, NULL); in thrift_socket_server_open()
190 g_object_unref (client); in thrift_socket_server_open()
200 ThriftTransport *client = NULL; in thrift_server() local
211 client = g_object_new (THRIFT_TYPE_BUFFERED_TRANSPORT, "transport", in thrift_server()
214 g_assert (client != NULL); in thrift_server()
217 bytes = thrift_buffered_transport_read (client, buf, 10, NULL); in thrift_server()
222 bytes = thrift_buffered_transport_read (client, buf, 1, NULL); in thrift_server()
224 bytes = thrift_buffered_transport_read (client, buf, 6, NULL); in thrift_server()
225 bytes = thrift_buffered_transport_read (client, buf, 2, NULL); in thrift_server()
226 bytes = thrift_buffered_transport_read (client, buf, 1, NULL); in thrift_server()
228 thrift_buffered_transport_read_end (client, NULL); in thrift_server()
229 thrift_buffered_transport_close (client, NULL); in thrift_server()
230 g_object_unref (client); in thrift_server()
254 ThriftTransport *client = NULL; in test_write_fail() local
263 client = g_object_new (THRIFT_TYPE_BUFFERED_TRANSPORT, "transport", in test_write_fail()
266 g_assert (client != NULL); in test_write_fail()
269 thrift_buffered_transport_close (client, NULL); in test_write_fail()
270 g_object_unref (client); in test_write_fail()