Home
last modified time | relevance | path

Searched refs:unix_fd (Results 1 – 25 of 121) sorted by relevance

12345

/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/pcp_con/
H A Dpcp_child.c76 static int pcp_do_accept(int unix_fd, int inet_fd);
101 pcp_main(int unix_fd, int inet_fd) in pcp_main() argument
110 pcp_unix_fd = unix_fd; in pcp_main()
160 port = pcp_do_accept(unix_fd, inet_fd); in pcp_main()
169 pcp_do_accept(int unix_fd, int inet_fd) in pcp_do_accept() argument
182 FD_SET(unix_fd, &readmask); in pcp_do_accept()
186 fds = select(Max(unix_fd, inet_fd) + 1, &readmask, NULL, NULL, NULL); in pcp_do_accept()
195 if (FD_ISSET(unix_fd, &readmask)) in pcp_do_accept()
197 fd = unix_fd; in pcp_do_accept()
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/pcp_con/
H A Dpcp_child.c81 static int pcp_do_accept(int unix_fd, int inet_fd);
106 pcp_main(int unix_fd, int inet_fd) in pcp_main() argument
115 pcp_unix_fd = unix_fd; in pcp_main()
165 port = pcp_do_accept(unix_fd, inet_fd); in pcp_main()
174 pcp_do_accept(int unix_fd, int inet_fd) in pcp_do_accept() argument
187 FD_SET(unix_fd, &readmask); in pcp_do_accept()
191 fds = select(Max(unix_fd, inet_fd) + 1, &readmask, NULL, NULL, NULL); in pcp_do_accept()
200 if (FD_ISSET(unix_fd, &readmask)) in pcp_do_accept()
202 fd = unix_fd; in pcp_do_accept()
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/pcp_con/
H A Dpcp_child.c76 static int pcp_do_accept(int unix_fd, int inet_fd);
101 pcp_main(int unix_fd, int inet_fd) in pcp_main() argument
110 pcp_unix_fd = unix_fd; in pcp_main()
157 port = pcp_do_accept(unix_fd, inet_fd); in pcp_main()
166 pcp_do_accept(int unix_fd, int inet_fd) in pcp_do_accept() argument
179 FD_SET(unix_fd, &readmask); in pcp_do_accept()
183 fds = select(Max(unix_fd, inet_fd) + 1, &readmask, NULL, NULL, NULL); in pcp_do_accept()
192 if (FD_ISSET(unix_fd, &readmask)) in pcp_do_accept()
194 fd = unix_fd; in pcp_do_accept()
/dports/graphics/weston/weston-1.9.0/xwayland/
H A Dlauncher.c60 char display[8], s[8], abstract_fd[8], unix_fd[8], wm_fd[8]; in weston_xserver_handle_event() local
107 fd = dup(wxs->unix_fd); in weston_xserver_handle_event()
110 snprintf(unix_fd, sizeof unix_fd, "%d", fd); in weston_xserver_handle_event()
135 "-listen", unix_fd, in weston_xserver_handle_event()
143 abstract_fd, unix_fd, wm_fd, in weston_xserver_handle_event()
185 close(wxs->unix_fd); in weston_xserver_shutdown()
209 wl_event_loop_add_fd(wxs->loop, wxs->unix_fd, in weston_xserver_cleanup()
421 wxs->unix_fd = bind_to_unix_socket(wxs->display); in module_init()
422 if (wxs->unix_fd < 0) { in module_init()
439 wl_event_loop_add_fd(wxs->loop, wxs->unix_fd, in module_init()
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/pcp_con/
H A Dpcp_child.c75 static int pcp_do_accept(int unix_fd, int inet_fd);
99 void pcp_main(int unix_fd, int inet_fd) in pcp_main() argument
108 pcp_unix_fd = unix_fd; in pcp_main()
153 port = pcp_do_accept(unix_fd, inet_fd); in pcp_main()
162 pcp_do_accept(int unix_fd, int inet_fd) in pcp_do_accept() argument
175 FD_SET(unix_fd, &readmask); in pcp_do_accept()
179 fds = select(Max(unix_fd, inet_fd)+1, &readmask, NULL, NULL, NULL); in pcp_do_accept()
188 if (FD_ISSET(unix_fd, &readmask)) in pcp_do_accept()
190 fd = unix_fd; in pcp_do_accept()
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/pcp_con/
H A Dpcp_child.c75 static int pcp_do_accept(int unix_fd, int inet_fd);
99 void pcp_main(int unix_fd, int inet_fd) in pcp_main() argument
108 pcp_unix_fd = unix_fd; in pcp_main()
153 port = pcp_do_accept(unix_fd, inet_fd); in pcp_main()
162 pcp_do_accept(int unix_fd, int inet_fd) in pcp_do_accept() argument
175 FD_SET(unix_fd, &readmask); in pcp_do_accept()
179 fds = select(Max(unix_fd, inet_fd)+1, &readmask, NULL, NULL, NULL); in pcp_do_accept()
188 if (FD_ISSET(unix_fd, &readmask)) in pcp_do_accept()
190 fd = unix_fd; in pcp_do_accept()
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/pcp_con/
H A Dpcp_child.c84 static int pcp_do_accept(int unix_fd, int inet_fd);
109 pcp_main(int unix_fd, int inet_fd) in pcp_main() argument
118 pcp_unix_fd = unix_fd; in pcp_main()
171 port = pcp_do_accept(unix_fd, inet_fd); in pcp_main()
180 pcp_do_accept(int unix_fd, int inet_fd) in pcp_do_accept() argument
193 FD_SET(unix_fd, &readmask); in pcp_do_accept()
197 fds = select(Max(unix_fd, inet_fd) + 1, &readmask, NULL, NULL, NULL); in pcp_do_accept()
206 if (FD_ISSET(unix_fd, &readmask)) in pcp_do_accept()
208 fd = unix_fd; in pcp_do_accept()
/dports/security/tinc-devel/tinc-1.1pre18/src/
H A Dcontrol.c191 int unix_fd = socket(AF_UNIX, SOCK_STREAM, 0); in init_control() local
193 if(unix_fd < 0) { in init_control()
206 if(connect(unix_fd, (struct sockaddr *)&sa_un, sizeof(sa_un)) >= 0) { in init_control()
214 int result = bind(unix_fd, (struct sockaddr *)&sa_un, sizeof(sa_un)); in init_control()
222 if(listen(unix_fd, 3) < 0) { in init_control()
227 io_add(&unix_socket, handle_new_unix_connection, &unix_socket, unix_fd, IO_READ); in init_control()
/dports/games/abuse_sdl/abuse-0.8/src/net/
H A Dtcpip.h132 class unix_fd : public net_socket
137 unix_fd(int fd) : fd(fd) { }; in unix_fd() function
152 …virtual ~unix_fd() { read_unselectable(); write_unselectable(); close(… in ~unix_fd()
162 class tcp_socket : public unix_fd
166 tcp_socket(int fd) : unix_fd(fd) { listening=0; }; in tcp_socket()
206 class udp_socket : public unix_fd
209 udp_socket(int fd) : unix_fd(fd) { }; in udp_socket()
/dports/net/scamper/scamper-cvs-20211026/utils/sc_remoted/
H A Dsc_remoted.c240 sc_fd_t *unix_fd; member
278 sc_fd_t *unix_fd; member
1161 if(ms->unix_fd != NULL) in sc_master_unix_free()
1164 ms->unix_fd = NULL; in sc_master_unix_free()
2014 if(cn->unix_fd == NULL) in sc_channel_unix_write_do()
2052 sc_fd_free(cn->unix_fd); cn->unix_fd = NULL; in sc_channel_unix_write_do()
2103 sc_fd_free(cn->unix_fd); cn->unix_fd = NULL; in sc_channel_unix_read_do()
2125 if(cn->unix_fd != NULL) sc_fd_free(cn->unix_fd); in sc_channel_free()
2755 if(ms->unix_fd->fd > nfds) nfds = ms->unix_fd->fd; in select_loop()
2764 if(cn->unix_fd == NULL) in select_loop()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/xwayland/
H A Dlauncher.c52 wxs->pid = wxs->spawn_func(wxs->user_data, display, wxs->abstract_fd, wxs->unix_fd); in weston_xserver_handle_event()
79 close(wxs->unix_fd); in weston_xserver_shutdown()
283 wxs->unix_fd = bind_to_unix_socket(wxs->display); in weston_xwayland_listen()
284 if (wxs->unix_fd < 0) { in weston_xwayland_listen()
301 wl_event_loop_add_fd(wxs->loop, wxs->unix_fd, in weston_xwayland_listen()
331 wl_event_loop_add_fd(wxs->loop, wxs->unix_fd, in weston_xwayland_xserver_exited()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/xwayland/
H A Dlauncher.c52 wxs->pid = wxs->spawn_func(wxs->user_data, display, wxs->abstract_fd, wxs->unix_fd); in weston_xserver_handle_event()
79 close(wxs->unix_fd); in weston_xserver_shutdown()
283 wxs->unix_fd = bind_to_unix_socket(wxs->display); in weston_xwayland_listen()
284 if (wxs->unix_fd < 0) { in weston_xwayland_listen()
301 wl_event_loop_add_fd(wxs->loop, wxs->unix_fd, in weston_xwayland_listen()
331 wl_event_loop_add_fd(wxs->loop, wxs->unix_fd, in weston_xwayland_xserver_exited()
/dports/ftp/pftpd/pftpd-1.0.3/src/
H A Drpad.c280 static int unix_fd = -1; variable
299 while ((fd = s_accept(unix_fd, (struct sockaddr *) &usb, &len)) >= 0) in unix_thread()
372 unix_fd = socket(PF_UNIX, SOCK_STREAM, 0); in start_unix_server()
373 if (unix_fd < 0) in start_unix_server()
379 if (s_bind(unix_fd, (struct sockaddr *) &usb, sizeof(usb)+strlen(usb.sun_path)) < 0) in start_unix_server()
385 if (listen(unix_fd, 1) < 0) in start_unix_server()
/dports/devel/libspice-server/spice-0.15.0/server/
H A Devent-loop.c248 gpointer unix_fd; member
257 return g_source_query_unix_fd(&watch->source, watch->unix_fd) != 0; in spice_watch_check()
267 GIOCondition condition = g_source_query_unix_fd(&watch->source, watch->unix_fd); in spice_watch_dispatch()
285 g_source_modify_unix_fd(&watch->source, watch->unix_fd, condition); in watch_update_mask()
306 watch->unix_fd = g_source_add_unix_fd(&watch->source, watch->fd, condition); in watch_add()
315 g_source_remove_unix_fd(&watch->source, watch->unix_fd); in watch_remove()
/dports/irc/ezbounce/ezbounce-1.99.15/tools/
H A Dmdidentd.cc118 int unix_fd; member
322 out->unix_fd = -1; in parse_cmdline()
565 close(options.unix_fd); in reply()
609 options.unix_fd = listen_unix(MDIDENTD_SOCK_PATH); in start_server()
610 if (options.unix_fd < 0) { in start_server()
616 sockets[options.unix_fd] = connection_t(UNIX_LISTEN, 0); in start_server()
/dports/x11-wm/mutter/mutter-41.1/src/wayland/
H A Dmeta-xwayland.c726 int abstract_fd, unix_fd; in open_display_sockets() local
732 unix_fd = bind_to_unix_socket (display_index, error); in open_display_sockets()
733 if (unix_fd < 0) in open_display_sockets()
740 *unix_fd_out = unix_fd; in open_display_sockets()
771 &connection->unix_fd, in choose_xdisplay()
997 steal_fd (&manager->public_connection.unix_fd), 5); in meta_xwayland_start_xserver()
1180 &manager->public_connection.unix_fd, in meta_xwayland_init()
1187 &manager->private_connection.unix_fd, in meta_xwayland_init()
1205 g_unix_fd_add (manager->public_connection.unix_fd, G_IO_IN, in meta_xwayland_init()
/dports/shells/viewglob/viewglob-2.0.4/vgd/
H A Dvgd.c70 gint unix_fd; member
144 if ( (s.unix_fd = unix_listen(&s)) == -1) in main()
445 if (nready && FD_ISSET(s->unix_fd, &rset)) { in poll_loop()
446 new_client(s, s->unix_fd); in poll_loop()
905 FD_SET(s->unix_fd, set); in setup_polling()
906 max_fd = MAX(s->port_fd, s->unix_fd); in setup_polling()
1010 s->unix_fd = -1; in state_init()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/compositor/
H A Dxwayland.c64 spawn_xserver(void *user_data, const char *display, int abstract_fd, int unix_fd) in spawn_xserver() argument
99 fd = dup(unix_fd); in spawn_xserver()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/compositor/
H A Dxwayland.c64 spawn_xserver(void *user_data, const char *display, int abstract_fd, int unix_fd) in spawn_xserver() argument
99 fd = dup(unix_fd); in spawn_xserver()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/dbus-0.9.5/src/channel/
H A Dnativechannel.rs30 unix_fd: bool, field
82 let unix_fd = do_auth(&mut r, &mut w).await?; in get_private_async() localVariable
87 unix_fd, in get_private_async()
/dports/devel/glib20/glib-2.70.4/gio/gdbus-2.0/codegen/
H A Dcodegen.py2519 if m.unix_fd:
2557 if m.unix_fd:
2566 if m.unix_fd:
2583 if m.unix_fd:
2600 if m.unix_fd:
2624 if m.unix_fd:
2633 if m.unix_fd:
2669 if m.unix_fd:
2678 if m.unix_fd:
2708 if m.unix_fd:
[all …]
/dports/lang/mono/mono-5.10.1.57/support/
H A Dserial.c90 int close_serial (int unix_fd);
114 close_serial (int unix_fd) in close_serial() argument
117 return close (unix_fd); in close_serial()
/dports/devel/efl/efl-1.25.1/src/bindings/mono/eldbus_mono/
H A Deldbus_common.cs270 public static implicit operator Int32(UnixFd unix_fd) => ToInt32(unix_fd); field
277 public static Int32 ToInt32(UnixFd unix_fd) => unix_fd.value; field
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/include/libweston/
H A Dxwayland-api.h45 void *user_data, const char *display, int abstract_fd, int unix_fd);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/include/libweston/
H A Dxwayland-api.h45 void *user_data, const char *display, int abstract_fd, int unix_fd);

12345