/external/autotest/client/tests/ipv6connect/src/ |
ipv6connect.c | 41 int client_fd, accepted_fd; local 47 if ((client_fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP)) == -1) { 63 if (connect(client_fd, (struct sockaddr*)(&sa), 72 if ((client_fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) { 80 if (connect(client_fd, (struct sockaddr*)(&sa4), 93 close(client_fd); 130 int server_fd, client_fd, accepted_fd, connect_rc; local 156 if ((client_fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP)) == -1) { 169 connect_rc = connect(client_fd, (struct sockaddr*)(&sa), 175 if ((client_fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) 268 int server_fd, client_fd; local [all...] |
/external/dbus/dbus/ |
dbus-server-socket.c | 87 int client_fd) 94 _dbus_verbose ("Creating new client connection with fd %d\n", client_fd); 98 if (!_dbus_set_fd_nonblocking (client_fd, NULL)) 104 transport = _dbus_transport_new_for_socket (client_fd, &server->guid_hex, FALSE); 107 _dbus_close_socket (client_fd, NULL); 120 /* note that client_fd is now owned by the transport, and will be 185 int client_fd; local 191 client_fd = _dbus_accept_with_noncefile (listen_fd, socket_server->noncefile); 193 client_fd = _dbus_accept (listen_fd); 195 if (client_fd < 0 [all...] |
dbus-server-debug-pipe.c | 214 int client_fd, server_fd; local 249 if (!_dbus_full_duplex_pipe (&client_fd, &server_fd, FALSE, 258 client_transport = _dbus_transport_new_for_socket (client_fd, 262 _dbus_close_socket (client_fd, NULL); 271 client_fd = -1;
|
dbus-sysdeps-unix.h | 80 dbus_bool_t _dbus_read_credentials (int client_fd,
|
dbus-sysdeps-unix.c | 1953 int client_fd; local [all...] |
dbus-sysdeps.h | 187 dbus_bool_t _dbus_read_credentials_socket (int client_fd,
|
dbus-sysdeps-win.c | 1582 int client_fd; local [all...] |
/external/google-breakpad/src/client/linux/crash_generation/ |
crash_generation_server.h | 88 // this class's constructor, and |*client_fd| should be passed to 90 static bool CreateReportChannel(int* server_fd, int* client_fd);
|
crash_generation_server.cc | 131 CrashGenerationServer::CreateReportChannel(int* server_fd, int* client_fd) 148 *client_fd = fds[0];
|
/system/bt/btif/src/ |
btif_sock_sco.c | 225 int client_fd = INVALID_FD; local 237 sco_socket_t *new_sco_socket = sco_socket_establish_locked(true, NULL, &client_fd); 254 if (socket_write_and_transfer_fd(sco_socket->socket, &connect_signal, sizeof(connect_signal), client_fd) != sizeof(connect_signal)) { 268 if (client_fd != INVALID_FD) 269 close(client_fd);
|
/external/libvncserver/libvncserver/ |
main.c | 571 int client_fd; local 580 client_fd = -1; 595 client_fd = accept(screen->listenSock, (struct sockaddr*)&peer, &len); 597 client_fd = accept(screen->listen6Sock, (struct sockaddr*)&peer, &len); 599 if(client_fd >= 0) 600 cl = rfbNewClient(screen,client_fd);
|
/system/connectivity/shill/ |
http_proxy.cc | 183 int client_fd = sockets_->Accept(fd, nullptr, nullptr); local 184 if (client_fd < 0) { 191 client_socket_ = client_fd;
|
/system/update_engine/ |
test_http_server.cc | 640 int client_fd = accept(listen_fd, nullptr, nullptr); local 642 if (client_fd < 0) 644 HandleConnection(client_fd);
|