Home
last modified time | relevance | path

Searched refs:G_IO_IN (Results 1 – 25 of 71) sorted by relevance

123

/third_party/glib/glib/tests/
Dmainloop.c673 child = g_io_create_watch (io, G_IO_IN); in add_source_callback()
1198 b = g_unix_fd_add (fds[0], G_IO_IN, read_bytes, &to_read); in test_unix_fd()
1350 in_source = g_unix_fd_source_new (fds[0], G_IO_IN); in test_unix_fd_source()
1355 fds[0], G_IO_IN, G_IO_IN, in test_unix_fd_source()
1364 fds[0], G_IO_IN, G_IO_IN, in test_unix_fd_source()
1372 fds[0], G_IO_IN, G_IO_IN, in test_unix_fd_source()
1423 g_source_add_unix_fd (source_a, fds_a[0], G_IO_IN); in test_source_unix_fd_api()
1427 fds_a[0], G_IO_IN, 0, in test_source_unix_fd_api()
1435 fds_a[0], G_IO_IN, G_IO_IN, in test_source_unix_fd_api()
1442 tag1 = g_source_add_unix_fd (source_b, fds_b[0], G_IO_IN); in test_source_unix_fd_api()
[all …]
Dprotocol.c94 g_assert_cmpuint (condition, ==, G_IO_IN); in test_message_cb1()
184 io_source = g_io_add_watch (channel, G_IO_IN, test_message_cb1, tlb); in test_message()
189 test_message_cb1 (channel, G_IO_IN, tlb); in test_message()
302 io_source = g_io_add_watch (channel, G_IO_IN, test_message_cb1, tlb); in test_error()
307 test_message_cb1 (channel, G_IO_IN, tlb); in test_error()
Dspawn-singlethread.c90 if (condition & G_IO_IN) in on_child_stdout()
151 source = g_io_create_watch (channel, G_IO_IN | G_IO_HUP | G_IO_ERR); in test_spawn_async()
278 source = g_io_create_watch (channel, G_IO_IN | G_IO_HUP | G_IO_ERR); in test_spawn_async_with_fds()
/third_party/glib/glib/
Dgpoll.c205 msg_fd->revents |= G_IO_IN; in poll_rest()
327 if (f->fd == G_WIN32_MSG_HANDLE && (f->events & G_IO_IN)) in fill_poll_thread_data()
422 stop_event.events = G_IO_IN; in g_poll()
470 msg_fd->revents |= G_IO_IN; in g_poll()
522 if (f->events & G_IO_IN) in g_poll()
528 if (f->fd > maxfd && (f->events & (G_IO_IN|G_IO_OUT|G_IO_PRI))) in g_poll()
544 f->revents |= G_IO_IN; in g_poll()
Dgwakeup.c89 poll_fd->events = G_IO_IN; in g_wakeup_get_pollfd()
187 poll_fd->events = G_IO_IN; in g_wakeup_get_pollfd()
/third_party/glib/tests/
Dgio-test.c119 (cond & G_IO_IN) ? " IN" : "", in recv_message()
128 if (cond & G_IO_IN) in recv_message()
300 g_io_add_watch (windows_messages_channel, G_IO_IN, recv_windows_message, 0); in main()
321 G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP, in main()
345 g_io_channel_win32_make_pollfd (my_read_channel, G_IO_IN, &pollfd); in main()
Dmainloop-test.c160 adder_source = g_io_create_watch (channels[0], G_IO_IN | G_IO_HUP); in adder_thread()
292 g_io_add_watch (out_channels[0], G_IO_IN | G_IO_HUP, in create_adder_thread()
/third_party/gstreamer/gstplugins_base/tools/
Dgst-play-kb.c54 if (cond & G_IO_IN) { in gst_play_kb_io_cb()
121 io_watch_id = g_io_add_watch_full (ioc, G_PRIORITY_DEFAULT, G_IO_IN, in gst_play_kb_set_key_handler()
/third_party/glib/gio/
Dgdatagrambased.c417 g_return_val_if_fail ((out & (G_IO_IN | G_IO_HUP)) != (G_IO_IN | G_IO_HUP), in g_datagram_based_condition_check()
418 out & ~G_IO_IN); in g_datagram_based_condition_check()
Dgsocketinputstream.c136 return g_socket_condition_check (input_stream->priv->socket, G_IO_IN); in g_socket_input_stream_pollable_is_readable()
148 G_IO_IN, cancellable); in g_socket_input_stream_pollable_create_source()
Dgunixinputstream.c334 poll_fds[0].events = G_IO_IN; in g_unix_input_stream_read()
454 poll_fd.events = G_IO_IN; in g_unix_input_stream_pollable_is_readable()
473 inner_source = g_unix_fd_source_new (unix_stream->priv->fd, G_IO_IN); in g_unix_input_stream_pollable_create_source()
Dgasynchelper.c52 pollfd[0].events = G_IO_IN; in _g_win32_overlap_wait_result()
/third_party/glib/gio/tests/
Dsocket-server.c172 ensure_socket_condition (socket, G_IO_IN, cancellable); in main()
254 ensure_socket_condition (recv_socket, G_IO_IN, cancellable); in main()
261 ensure_connection_condition (connection, G_IO_IN, cancellable); in main()
Dsocket-common.c101 if (condition & G_IO_IN) in ensure_connection_condition()
Dsocket-client.c382 ensure_socket_condition (socket, G_IO_IN, cancellable); in main()
389 ensure_connection_condition (connection, G_IO_IN, cancellable); in main()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wayland/
Dwayland_event_source.c154 if (source->pfd.revents & G_IO_IN) { in wayland_event_source_check()
212 source->pfd.events = G_IO_IN | G_IO_ERR; in wayland_event_source_new()
/third_party/gstreamer/gstplugins_bad/ext/vulkan/wayland/
Dwayland_event_source.c144 if (source->pfd.revents & G_IO_IN) { in wayland_event_source_check()
201 source->pfd.events = G_IO_IN | G_IO_ERR; in wayland_event_source_new()
/third_party/cef/tests/shared/browser/
Dmain_message_loop_external_pump_linux.cc168 wakeup_gpollfd_->events = G_IO_IN; in MainMessageLoopExternalPumpLinux()
248 if (wakeup_gpollfd_->revents & G_IO_IN) { in HandleCheck()
/third_party/glib/gobject/tests/
Dclosure.c92 source = g_io_create_watch (chan, G_IO_IN); in test_closure_iochannel()
158 source = g_unix_fd_source_new (fd, G_IO_IN); in test_closure_fd()
/third_party/curl/docs/examples/
Dghiper.c185 ((condition & G_IO_IN) ? CURL_CSELECT_IN : 0) | in event_cb()
221 ((act & CURL_POLL_IN) ? G_IO_IN : 0) | in setsock()
422 g_io_add_watch(ch, G_IO_IN, fifo_cb, g); in main()
/third_party/libwebsockets/lib/event-libs/glib/
Dglib.c105 if (cond & G_IO_IN) in lws_glib_dispatch()
338 cond &= ~(G_IO_IN | G_IO_HUP); in elops_io_glib()
340 cond |= G_IO_IN | G_IO_HUP; in elops_io_glib()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/x11/
Dxcb_event_source.c101 source->pfd.events = G_IO_IN | G_IO_ERR; in xcb_event_source_new()
/third_party/glib/gio/inotify/
Dinotify-kernel.c347 g_source_modify_unix_fd (source, iks->fd_tag, G_IO_IN); in ik_source_dispatch()
399 iks->fd_tag = g_source_add_unix_fd (source, iks->fd, G_IO_IN); in ik_source_new()
/third_party/gstreamer/gstplugins_base/gst/tcp/
Dgsttcpserversink.c220 } else if ((condition & G_IO_IN) || (condition & G_IO_PRI)) { in gst_tcp_server_sink_socket_condition()
367 G_IO_IN | G_IO_OUT | G_IO_PRI | G_IO_ERR | G_IO_HUP, in gst_tcp_server_sink_init_send()
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dgst-ptp-helper.c494 g_socket_create_source (socket_event, G_IO_IN | G_IO_PRI, NULL); in setup_sockets()
500 g_socket_create_source (socket_general, G_IO_IN | G_IO_PRI, NULL); in setup_sockets()
578 g_io_create_watch (stdin_channel, G_IO_IN | G_IO_PRI | G_IO_HUP); in setup_stdio_channels()

123