/external/dbus/cmake/modules/ |
CheckForAbstractSockets.c | 9 int listen_fd; local 12 listen_fd = socket (PF_UNIX, SOCK_STREAM, 0); 14 if (listen_fd < 0) 25 if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
|
/external/dbus/dbus/ |
dbus-server-unix.c | 206 int listen_fd; local 237 listen_fd = _dbus_listen_unix_socket (path, abstract, error); 239 if (listen_fd < 0) 245 server = _dbus_server_new_for_socket (&listen_fd, 1, &address, 0); 259 _dbus_close_socket (listen_fd, NULL);
|
dbus-server-socket.c | 188 int listen_fd; local 190 listen_fd = dbus_watch_get_socket (watch); 193 client_fd = _dbus_accept_with_noncefile (listen_fd, socket_server->noncefile); 195 client_fd = _dbus_accept (listen_fd);
|
dbus-sysdeps-unix.c | 908 int listen_fd; local 923 listen_fd = android_get_control_socket (suffix); 924 if (listen_fd == -1) 941 if (!_dbus_open_unix_socket (&listen_fd, error)) 965 _dbus_close (listen_fd, NULL); 974 _dbus_close (listen_fd, NULL); 1002 _dbus_close (listen_fd, NULL); 1010 if (setsockopt (listen_fd, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, sizeof(reuseaddr))==-1) 1016 if (bind (listen_fd, (struct sockaddr*) &addr, _DBUS_STRUCT_OFFSET (struct sockaddr_un, sun_path) + path_len) < 0) 1021 _dbus_close (listen_fd, NULL) 1318 int nlisten_fd = 0, *listen_fd = NULL, res, i; local [all...] |
dbus-sysdeps-win.c | 1394 int nlisten_fd = 0, *listen_fd = NULL, res, i, port_num = -1; local [all...] |
/external/qemu/android/ |
console.c | 109 Socket listen_fd; member in struct:ControlGlobalRec_ 601 D(( "control_global_accept: just in (fd=%d)\n", global->listen_fd )); 604 fd = socket_accept( global->listen_fd, NULL ); 663 global->listen_fd = fd; [all...] |
/external/qemu/ |
qemu-char.c | 1978 int fd, listen_fd; member in struct:__anon11252 [all...] |
/external/blktrace/ |
blktrace.c | 232 int listen_fd, connects, nchs; member in struct:net_server_s [all...] |