/system/bt/service/ipc/ |
ipc_handler_linux.cpp | 65 int server_fd = osi_android_get_control_socket(android_suffix.c_str()); local 66 if (server_fd == -1) { 71 socket_.reset(server_fd);
|
/external/dbus/dbus/ |
dbus-server-debug-pipe.c | 214 int client_fd, server_fd; local 249 if (!_dbus_full_duplex_pipe (&client_fd, &server_fd, FALSE, 263 _dbus_close_socket (server_fd, NULL); 273 server_transport = _dbus_transport_new_for_socket (server_fd, 278 _dbus_close_socket (server_fd, NULL); 283 server_fd = -1;
|
/external/autotest/client/tests/ipv6connect/src/ |
ipv6connect.c | 38 static void ConnectAndAccept(enum LoopbackAddr addr, int server_fd, int port) { 88 if ((accepted_fd = accept(server_fd, 98 static void CreateServer(int* server_fd, int* port) { 103 if ((*server_fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP)) == -1) { 111 if (bind(*server_fd, (struct sockaddr*)(&sa), sizeof(sa)) == -1) { 115 if (getsockname(*server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { 119 if (listen(*server_fd, 10) == -1) { 130 int server_fd, client_fd, accepted_fd, connect_rc; local 132 if ((server_fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP)) == -1) { 141 if (bind(server_fd, (struct sockaddr*)(&sa), sizeof(sa)) == -1) 268 int server_fd, client_fd; local 350 int i, j, server_fd, port; local [all...] |
/external/tlsdate/src/ |
tlsdate-helper-plan9.c | 835 int ret = 0, server_fd = 0; local 896 if (0 != net_connect (&server_fd, proxy_host, atoi(proxy_port))) 902 proxy_polarssl_set_bio (&proxy_ctx, net_recv, &server_fd, net_send, &server_fd); 916 if (0 != net_connect (&server_fd, host, atoi(port))) 921 ssl_set_bio (&ssl, net_recv, &server_fd, net_send, &server_fd); [all...] |
tlsdate-helper.c | 975 int ret = 0, server_fd = 0; local 1036 if (0 != net_connect (&server_fd, proxy_host, atoi(proxy_port))) 1042 proxy_polarssl_set_bio (&proxy_ctx, net_recv, &server_fd, net_send, &server_fd); 1056 if (0 != net_connect (&server_fd, host, atoi(port))) 1061 ssl_set_bio (&ssl, net_recv, &server_fd, net_send, &server_fd); [all...] |
/external/fio/ |
server.c | 34 static int server_fd = -1; variable 536 fio_net_send_stop(server_fd, ffi->exitval, ffi->signal); 537 fio_net_send_quit(server_fd); 579 fio_net_send_quit(server_fd); 585 fio_net_send_cmd(server_fd, FIO_NET_CMD_START, &spdu, sizeof(spdu), NULL, NULL); 618 fio_net_send_quit(server_fd); 624 fio_net_send_cmd(server_fd, FIO_NET_CMD_START, &spdu, sizeof(spdu), NULL, NULL); 655 fio_net_send_quit(server_fd); 664 fio_net_send_cmd(server_fd, FIO_NET_CMD_START, &spdu, sizeof(spdu), NULL, NULL); 701 return fio_net_send_cmd(server_fd, FIO_NET_CMD_PROBE, &probe, sizeof(probe), &tag, NULL) [all...] |
/external/curl/lib/ |
urldata.h | 286 int server_fd; member in struct:ssl_connect_data [all...] |