Home
last modified time | relevance | path

Searched refs:G_IO_HUP (Results 1 – 25 of 36) sorted by relevance

12

/third_party/glib/gio/
Dgdatagrambased.c415 g_return_val_if_fail ((out & (G_IO_OUT | G_IO_HUP)) != (G_IO_OUT | G_IO_HUP), in g_datagram_based_condition_check()
417 g_return_val_if_fail ((out & (G_IO_IN | G_IO_HUP)) != (G_IO_IN | G_IO_HUP), in g_datagram_based_condition_check()
419 g_return_val_if_fail ((out & ~(condition | G_IO_ERR | G_IO_HUP)) == 0, in g_datagram_based_condition_check()
420 out & (condition | G_IO_ERR | G_IO_HUP)); in g_datagram_based_condition_check()
Dgtestdbus.c165 fds[0].events = G_IO_HUP | G_IO_IN; in watch_parent()
182 if (fds[0].revents & G_IO_HUP) in watch_parent()
Dgsocket.c3898 condition |= G_IO_HUP; in update_condition_unlocked()
3904 condition |= G_IO_HUP; in update_condition_unlocked()
3908 if ((condition & G_IO_HUP) == 0 && in update_condition_unlocked()
3921 condition |= (G_IO_HUP | G_IO_ERR); in update_condition_unlocked()
4114 condition |= G_IO_HUP | G_IO_ERR | G_IO_NVAL; in socket_source_new()
4232 condition |= G_IO_ERR | G_IO_HUP; in g_socket_condition_check()
4356 condition |= G_IO_ERR | G_IO_HUP; in g_socket_condition_timed_wait()
Dgdbusprivate.c196 G_IO_IN | G_IO_HUP | G_IO_ERR, in _g_socket_read_with_control_messages()
701 G_IO_IN | G_IO_OUT | G_IO_HUP), in _g_dbus_worker_do_read_cb()
1054 G_IO_OUT | G_IO_HUP | G_IO_ERR, in write_message_continue_writing()
/third_party/glib/tests/
Dgio-test.c118 (cond & G_IO_HUP) ? " HUP" : "", in recv_message()
122 if (cond & (G_IO_ERR | G_IO_HUP)) in recv_message()
321 G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP, 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()
Dtimeloop.c157 g_io_add_watch (out_channels[0], G_IO_IN | G_IO_HUP, in create_child()
/third_party/libwebsockets/lib/event-libs/glib/
Dglib.c129 if (cond & G_IO_HUP) in lws_glib_dispatch()
366 cond &= (unsigned int)~(G_IO_IN | G_IO_HUP); in elops_io_glib()
368 cond |= G_IO_IN | G_IO_HUP; in elops_io_glib()
/third_party/gstreamer/gstplugins_base/gst/tcp/
Dgsttcpclientsrc.c248 G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP, src->cancellable, &err)) in gst_tcp_client_src_create()
253 G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP); in gst_tcp_client_src_create()
261 } else if ((condition & G_IO_HUP)) { in gst_tcp_client_src_create()
Dgsttcpserversrc.c249 G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP, src->cancellable, &err)) in gst_tcp_server_src_create()
254 G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP); in gst_tcp_server_src_create()
262 } else if ((condition & G_IO_HUP)) { in gst_tcp_server_src_create()
Dgstmultisocketsink.c1024 G_IO_IN | G_IO_OUT | G_IO_PRI | G_IO_ERR | G_IO_HUP); in gst_multi_socket_sink_hash_adding()
1041 ensure_condition (sink, client, G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP); in gst_multi_socket_sink_stop_sending()
1084 } else if ((condition & G_IO_HUP)) { in gst_multi_socket_sink_socket_condition()
Dgsttcpserversink.c356 G_IO_IN | G_IO_OUT | G_IO_PRI | G_IO_ERR | G_IO_HUP, in gst_tcp_server_sink_init_send()
/third_party/glib/glib/tests/
Dspawn-singlethread.c99 if (condition & G_IO_HUP) 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()
Dspawn-multithreaded.c188 source = g_io_create_watch (channel, G_IO_IN | G_IO_HUP); in test_spawn_async_multithreaded_instance()
Dgpoll.c105 fds[i].revents |= (G_IO_HUP | G_IO_ERR); in check_fds()
108 fds[i].revents |= G_IO_HUP; in check_fds()
/third_party/glib/tests/gobject/
Dtimeloop-closure.c154 source = g_io_create_watch (out_channels[0], G_IO_IN | G_IO_HUP); in create_child()
/third_party/pulseaudio/src/pulse/
Dglib-mainloop.c199 (flags & PA_IO_EVENT_HANGUP ? G_IO_HUP : 0)); in map_flags_to_glib()
207 (flags & G_IO_HUP ? PA_IO_EVENT_HANGUP : 0); in map_flags_from_glib()
Dohos_glib-mainloop.c200 (flags & PA_IO_EVENT_HANGUP ? G_IO_HUP : 0)); in map_flags_to_glib()
208 (flags & G_IO_HUP ? PA_IO_EVENT_HANGUP : 0); in map_flags_from_glib()
/third_party/glib/gobject/
Dgsourceclosure.c44 { G_IO_HUP, "G_IO_HUP", "hup" }, in G_DEFINE_BOXED_TYPE()
/third_party/glib/glib/
Dgtester.c250 if (first_read_eof || (condition & (G_IO_ERR | G_IO_HUP))) in child_report_cb()
417 …dd_watch_full (ioc_report, G_PRIORITY_DEFAULT - 1, G_IO_IN | G_IO_ERR | G_IO_HUP, child_report_cb,… in launch_test_binary()
Dgiowin32.c379 channel->revents |= G_IO_HUP; in read_thread()
924 watch->pollfd.revents |= (G_IO_HUP | G_IO_ERR); in g_io_win32_check()
927 watch->pollfd.revents |= G_IO_HUP; in g_io_win32_check()
935 if (!(watch->pollfd.revents & G_IO_HUP) && in g_io_win32_check()
Dgmain.h37 G_IO_HUP GLIB_SYSDEF_POLLHUP, enumerator
Dgspawn-win32.c995 G_IO_IN | G_IO_ERR | G_IO_HUP, in g_spawn_sync()
1008 G_IO_IN | G_IO_ERR | G_IO_HUP, in g_spawn_sync()
Dgspawn.c447 { outpipe, G_IO_IN | G_IO_HUP | G_IO_ERR, 0 }, in g_spawn_sync()
448 { errpipe, G_IO_IN | G_IO_HUP | G_IO_ERR, 0 }, in g_spawn_sync()
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dgst-ptp-helper.c576 g_io_create_watch (stdin_channel, G_IO_IN | G_IO_PRI | G_IO_HUP); in setup_stdio_channels()

12