/dports/x11/workrave/workrave-1.10.44/backend/src/ |
H A D | GNetSocketDriver.cc | 37 iochannel(NULL), in GNetSocketServer() 48 if (iochannel != NULL) in ~GNetSocketServer() 51 g_io_channel_unref(iochannel); in ~GNetSocketServer() 118 return con->async_io(iochannel, condition); in static_async_io() 126 (void) iochannel; in async_io() 232 iochannel(NULL), in GNetSocket() 267 if (iochannel == NULL) in read() 288 if (iochannel == NULL) in write() 310 if (iochannel != NULL) in close() 313 g_io_channel_unref(iochannel); in close() [all …]
|
H A D | GNetSocketDriver.hh | 51 GIOChannel *iochannel; member in GNetSocketServer 78 bool async_io(GIOChannel* iochannel, GIOCondition condition); 80 static gboolean static_async_io(GIOChannel* iochannel, GIOCondition condition, gpointer data); 88 GIOChannel *iochannel; member in GNetSocket
|
/dports/net/gnet2/gnet-2.0.8/src/ |
H A D | socks-private.c | 346 GIOChannel* iochannel; in _gnet_socks_tcp_socket_server_accept() local 357 iochannel = gnet_tcp_socket_get_io_channel(socket); in _gnet_socks_tcp_socket_server_accept() 358 error = gnet_io_channel_readn(iochannel, (gchar*) &s5h, 10, &len); in _gnet_socks_tcp_socket_server_accept() 388 s->iochannel = socket->iochannel; in _gnet_socks_tcp_socket_server_accept() 389 socket->iochannel = NULL; in _gnet_socks_tcp_socket_server_accept() 394 GIOChannel* iochannel; in _gnet_socks_tcp_socket_server_accept() local 397 iochannel = gnet_tcp_socket_get_io_channel (socket); in _gnet_socks_tcp_socket_server_accept() 400 socket->accept_watch = g_io_add_watch(iochannel, in _gnet_socks_tcp_socket_server_accept() 413 GIOChannel* iochannel; in _gnet_socks_tcp_socket_server_accept_async() local 424 iochannel = gnet_tcp_socket_get_io_channel (socket); in _gnet_socks_tcp_socket_server_accept_async() [all …]
|
H A D | tcp.c | 38 GIOChannel * iochannel; member 657 gnet_tcp_socket_new_async_cb (GIOChannel* iochannel, in gnet_tcp_socket_new_async_cb() argument 696 g_io_channel_unref (state->iochannel); in gnet_tcp_socket_new_async_cb() 730 if (state->iochannel) in gnet_tcp_socket_new_async_cancel() 731 g_io_channel_unref (state->iochannel); in gnet_tcp_socket_new_async_cancel() 784 if (socket->iochannel) in gnet_tcp_socket_unref_internal() 785 g_io_channel_unref (socket->iochannel); in gnet_tcp_socket_unref_internal() 837 if (socket->iochannel == NULL) in gnet_tcp_socket_get_io_channel() 840 return socket->iochannel; in gnet_tcp_socket_get_io_channel() 1353 GIOChannel* iochannel; in gnet_tcp_socket_server_accept_async() local [all …]
|
H A D | gnet-private.c | 144 GIOChannel* iochannel; in _gnet_io_channel_new() local 146 iochannel = GNET_SOCKET_IO_CHANNEL_NEW(sockfd); in _gnet_io_channel_new() 147 if (iochannel == NULL) in _gnet_io_channel_new() 150 g_io_channel_set_encoding (iochannel, NULL, NULL); in _gnet_io_channel_new() 151 g_io_channel_set_buffered (iochannel, FALSE); in _gnet_io_channel_new() 153 return iochannel; in _gnet_io_channel_new()
|
H A D | unix.c | 33 GIOChannel *iochannel; member 196 if (socket->iochannel) in gnet_unix_socket_unref() 197 g_io_channel_unref (socket->iochannel); in gnet_unix_socket_unref() 231 if (socket->iochannel == NULL) in gnet_unix_socket_get_io_channel() 232 socket->iochannel = _gnet_io_channel_new (socket->sockfd); in gnet_unix_socket_get_io_channel() 234 return socket->iochannel; in gnet_unix_socket_get_io_channel()
|
H A D | conn.c | 40 if ((C)->iochannel) { \ 44 G_PRIORITY_DEFAULT, (C)->iochannel, \ 51 if ((C)->iochannel) { \ 57 G_PRIORITY_DEFAULT, (C)->iochannel, \ 203 conn->iochannel = gnet_tcp_socket_get_io_channel (socket); in gnet_conn_new_socket() 409 conn->iochannel = gnet_tcp_socket_get_io_channel (socket); in conn_new_cb() 444 conn->iochannel = gnet_tcp_socket_get_io_channel (socket); in conn_connect_cb() 498 if (conn->iochannel) in gnet_conn_disconnect() 499 conn->iochannel = NULL; /* do not unref */ in gnet_conn_disconnect() 808 error = g_io_channel_read (conn->iochannel, buffer_start, in conn_read_async_cb() [all …]
|
H A D | udp.c | 171 if (socket->iochannel) in gnet_udp_socket_unref() 172 g_io_channel_unref (socket->iochannel); in gnet_udp_socket_unref() 212 if (socket->iochannel == NULL) in gnet_udp_socket_get_io_channel() 213 socket->iochannel = _gnet_io_channel_new (socket->sockfd); in gnet_udp_socket_get_io_channel() 215 return socket->iochannel; in gnet_udp_socket_get_io_channel()
|
H A D | makefile.mingw | 5 OFILES = gnet-private.o gnet.o ipv6.o inetaddr.o iochannel.o tcp.o udp.o mcast.o socks-private.o so… 12 $(CC) $(FLAGS) $(INCLUDE) -c iochannel.c
|
/dports/net/gnet2/gnet-2.0.8/examples/ |
H A D | echoclient.c | 35 GIOChannel* iochannel; in main() local 93 iochannel = gnet_tcp_socket_get_io_channel (socket); in main() 94 g_assert (iochannel != NULL); in main() 99 error = gnet_io_channel_writen (iochannel, buffer, n, &n); in main() 102 error = gnet_io_channel_readn (iochannel, buffer, n, &n); in main()
|
H A D | echoclient-unix.c | 83 GIOChannel* iochannel = NULL; in normal_echoclient() local 98 iochannel = gnet_unix_socket_get_io_channel(socket); in normal_echoclient() 99 g_assert (iochannel != NULL); in normal_echoclient() 103 e = gnet_io_channel_writen(iochannel, buffer, n, &n); in normal_echoclient() 106 e = gnet_io_channel_readn(iochannel, buffer, n, &n); in normal_echoclient()
|
H A D | echoserver-unix.c | 159 GIOChannel *iochannel = NULL; in async_echoserver() local 172 iochannel = gnet_unix_socket_get_io_channel(server); in async_echoserver() 173 g_io_add_watch(iochannel, in async_echoserver() 182 async_server_iofunc(GIOChannel *iochannel, GIOCondition c, gpointer data) in async_server_iofunc() argument 223 async_client_iofunc(GIOChannel *iochannel, GIOCondition c, in async_client_iofunc() argument 241 e = g_io_channel_read(iochannel, in async_client_iofunc() 258 g_io_add_watch(iochannel, in async_client_iofunc() 271 e = g_io_channel_write(iochannel, cs->buffer, cs->n, in async_client_iofunc()
|
H A D | hfetch.c | 113 GIOChannel* iochannel; in hfetch() local 130 iochannel = gnet_tcp_socket_get_io_channel(socket); in hfetch() 131 g_assert (iochannel != NULL); in hfetch() 135 error = gnet_io_channel_writen(iochannel, command, strlen(command), &n); in hfetch() 146 error = g_io_channel_read(iochannel, buffer, sizeof(buffer), &n); in hfetch()
|
H A D | echoclient-async.c | 32 static gboolean async_client_sin_iofunc (GIOChannel* iochannel, 36 static gboolean async_client_in_iofunc (GIOChannel* iochannel, 107 async_client_sin_iofunc (GIOChannel* iochannel, GIOCondition condition, in async_client_sin_iofunc() argument 129 error = g_io_channel_read (iochannel, buffer, in async_client_sin_iofunc() 172 async_client_in_iofunc (GIOChannel* iochannel, GIOCondition condition, in async_client_in_iofunc() argument 192 error = gnet_io_channel_readline (iochannel, buffer, in async_client_in_iofunc()
|
H A D | echoserver-async.c | 170 async_client_iofunc (GIOChannel* iochannel, GIOCondition condition, in async_client_iofunc() argument 193 error = g_io_channel_write(iochannel, client_state->buffer, in async_client_iofunc() 228 g_io_add_watch(iochannel, client_state->watch_flags, in async_client_iofunc() 243 g_io_channel_read (iochannel, in async_client_iofunc() 288 g_io_add_watch(iochannel, client_state->watch_flags, in async_client_iofunc()
|
H A D | echoclient-gconn.c | 28 static gboolean ob_in_iofunc (GIOChannel* iochannel, GIOCondition condition, 85 ob_in_iofunc (GIOChannel* iochannel, GIOCondition condition, in ob_in_iofunc() argument 105 error = gnet_io_channel_readline (iochannel, buffer, in ob_in_iofunc()
|
/dports/devel/cutter/cutter-1.2.6/sample/glib/ |
H A D | Makefile.am | 11 iochannel-test-infile 39 test_iochannel_la_SOURCES = iochannel.c
|
/dports/devel/pyl-gobject/pygobject-2.28.6/glib/ |
H A D | pygiochannel.c | 402 PyObject *iochannel; member 411 Py_DECREF(data->iochannel); in pyg_iowatch_data_free() 426 g_return_val_if_fail(((PyGIOChannel *) data->iochannel)->channel == source, in pyg_iowatch_marshal() 432 ret = PyObject_CallFunction(data->callback, "OiO", data->iochannel, in pyg_iowatch_marshal() 435 ret = PyObject_CallFunction(data->callback, "Oi", data->iochannel, in pyg_iowatch_marshal() 458 GIOChannel *iochannel = NULL; in py_io_channel_add_watch() local 468 iochannel = ((PyGIOChannel *) self)->channel; in py_io_channel_add_watch() 478 data->iochannel = self; Py_INCREF(self); in py_io_channel_add_watch()
|
H A D | glibmodule.c | 269 GIOChannel *iochannel; in pyglib_io_add_watch() local 302 iochannel = g_io_channel_unix_new(fd); in pyglib_io_add_watch() 303 handler_id = g_io_add_watch_full(iochannel, priority, condition, in pyglib_io_add_watch() 306 g_io_channel_unref(iochannel); in pyglib_io_add_watch()
|
/dports/devel/libgsf/libgsf-1.14.47/doc/ |
H A D | gsf.types | 17 #include <gsf/gsf-input-iochannel.h> 37 #include <gsf/gsf-output-iochannel.h>
|
/dports/devel/glib20/glib-2.70.4/tests/ |
H A D | meson.build | 79 'iochannel-test' : {}, 89 'iochannel-test-infile',
|
/dports/irc/ctrlproxy/ctrlproxy-3.0.8/lib/ |
H A D | transport.h | 55 struct irc_transport *irc_transport_new_iochannel(GIOChannel *iochannel);
|
/dports/devel/glibmm/glibmm-2.64.2/glib/src/ |
H A D | filelist.am | 27 iochannel.hg \
|
/dports/audio/jalv-select/jalv_select-1.3/ |
H A D | jalv.select.cpp | 1044 fc->iochannel->read_line(buf); in read_fifo() 1062 fc->iochannel->write("exit\n"); in read_fifo() 1063 fc->iochannel->flush(); in read_fifo() 1087 iochannel->write(buf); in write_fifo() 1088 iochannel->write("\n"); in write_fifo() 1089 iochannel->flush(); in write_fifo() 1108 iochannel = Glib::IOChannel::create_from_fd(read_fd); in open_fifo()
|
/dports/net/gnet2/gnet-2.0.8/ |
H A D | ChangeLog | 587 * doc/tmpl/iochannel.sgml: 2507 * src/iochannel.h: " GNetIOChannelReadAsyncFunc 2557 Return iochannel. 2700 * src/iochannel.c (write_async_timeout_cb): " 2760 * src/iochannel.h: Doc fixes. 2948 * src/iochannel.c (read_async_cb): Likewise. 3142 * src/iochannel.c (gnet_io_channel_readn): 3414 * src/iochannel.[ch] 3499 * src/iochannel.[hc]: 3617 * src/iochannel.c ({read,write}_async): Added [all …]
|