/external/autotest/client/tests/ipv6connect/src/ |
D | ipv6connect.c | 38 static void ConnectAndAccept(enum LoopbackAddr addr, int server_fd, int port) { in ConnectAndAccept() argument 88 if ((accepted_fd = accept(server_fd, in ConnectAndAccept() 98 static void CreateServer(int* server_fd, int* port) { in CreateServer() argument 103 if ((*server_fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP)) == -1) { in CreateServer() 111 if (bind(*server_fd, (struct sockaddr*)(&sa), sizeof(sa)) == -1) { in CreateServer() 115 if (getsockname(*server_fd, (struct sockaddr*)(&sa), &addr_len) == -1) { in CreateServer() 119 if (listen(*server_fd, 10) == -1) { in CreateServer() 130 int server_fd, client_fd, accepted_fd, connect_rc; in CreateServerConnectAndAccept() local 132 if ((server_fd = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP)) == -1) { in CreateServerConnectAndAccept() 141 if (bind(server_fd, (struct sockaddr*)(&sa), sizeof(sa)) == -1) { in CreateServerConnectAndAccept() [all …]
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_client.cc | 48 explicit CrashGenerationClientImpl(int server_fd) : server_fd_(server_fd) {} in CrashGenerationClientImpl() argument 99 CrashGenerationClient* CrashGenerationClient::TryCreate(int server_fd) { in TryCreate() argument 100 if (server_fd < 0) in TryCreate() 102 return new CrashGenerationClientImpl(server_fd); in TryCreate()
|
D | crash_generation_client.h | 57 static CrashGenerationClient* TryCreate(int server_fd);
|
D | crash_generation_server.cc | 131 CrashGenerationServer::CreateReportChannel(int* server_fd, int* client_fd) in CreateReportChannel() argument 149 *server_fd = fds[1]; in CreateReportChannel()
|
D | crash_generation_server.h | 90 static bool CreateReportChannel(int* server_fd, int* client_fd);
|
/external/dbus/dbus/ |
D | dbus-server-debug-pipe.c | 214 int client_fd, server_fd; in _dbus_transport_debug_pipe_new() local 249 if (!_dbus_full_duplex_pipe (&client_fd, &server_fd, FALSE, in _dbus_transport_debug_pipe_new() 263 _dbus_close_socket (server_fd, NULL); in _dbus_transport_debug_pipe_new() 273 server_transport = _dbus_transport_new_for_socket (server_fd, in _dbus_transport_debug_pipe_new() 278 _dbus_close_socket (server_fd, NULL); in _dbus_transport_debug_pipe_new() 283 server_fd = -1; in _dbus_transport_debug_pipe_new()
|
D | dbus-sysdeps-unix.h | 83 dbus_bool_t _dbus_send_credentials (int server_fd,
|
D | dbus-sysdeps.h | 190 dbus_bool_t _dbus_send_credentials_socket (int server_fd,
|
D | dbus-sysdeps-unix.c | 1597 write_credentials_byte (int server_fd, in write_credentials_byte() argument 1629 bytes_written = sendmsg (server_fd, &msg, 0 in write_credentials_byte() 1635 bytes_written = send (server_fd, buf, 1, 0 in write_credentials_byte() 1930 _dbus_send_credentials_socket (int server_fd, in _dbus_send_credentials_socket() argument 1935 if (write_credentials_byte (server_fd, error)) in _dbus_send_credentials_socket()
|
/external/fio/ |
D | server.c | 34 static int server_fd = -1; variable 536 fio_net_send_stop(server_fd, ffi->exitval, ffi->signal); in fio_server_fork_item_done() 537 fio_net_send_quit(server_fd); in fio_server_fork_item_done() 579 fio_net_send_quit(server_fd); in handle_load_file_cmd() 585 fio_net_send_cmd(server_fd, FIO_NET_CMD_START, &spdu, sizeof(spdu), NULL, NULL); in handle_load_file_cmd() 618 fio_net_send_quit(server_fd); in handle_job_cmd() 624 fio_net_send_cmd(server_fd, FIO_NET_CMD_START, &spdu, sizeof(spdu), NULL, NULL); in handle_job_cmd() 655 fio_net_send_quit(server_fd); in handle_jobline_cmd() 664 fio_net_send_cmd(server_fd, FIO_NET_CMD_START, &spdu, sizeof(spdu), NULL, NULL); in handle_jobline_cmd() 701 return fio_net_send_cmd(server_fd, FIO_NET_CMD_PROBE, &probe, sizeof(probe), &tag, NULL); in handle_probe_cmd() [all …]
|
/external/tlsdate/src/ |
D | tlsdate-helper-plan9.c | 835 int ret = 0, server_fd = 0; in run_ssl() local 896 if (0 != net_connect (&server_fd, proxy_host, atoi(proxy_port))) in run_ssl() 902 proxy_polarssl_set_bio (&proxy_ctx, net_recv, &server_fd, net_send, &server_fd); in run_ssl() 916 if (0 != net_connect (&server_fd, host, atoi(port))) in run_ssl() 921 ssl_set_bio (&ssl, net_recv, &server_fd, net_send, &server_fd); in run_ssl()
|
D | tlsdate-helper.c | 975 int ret = 0, server_fd = 0; in run_ssl() local 1036 if (0 != net_connect (&server_fd, proxy_host, atoi(proxy_port))) in run_ssl() 1042 proxy_polarssl_set_bio (&proxy_ctx, net_recv, &server_fd, net_send, &server_fd); in run_ssl() 1056 if (0 != net_connect (&server_fd, host, atoi(port))) in run_ssl() 1061 ssl_set_bio (&ssl, net_recv, &server_fd, net_send, &server_fd); in run_ssl()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler.cc | 223 const int server_fd) in ExceptionHandler() argument 229 if (server_fd >= 0) in ExceptionHandler() 230 crash_generation_client_.reset(CrashGenerationClient::TryCreate(server_fd)); in ExceptionHandler()
|
D | exception_handler.h | 132 const int server_fd);
|
/external/curl/lib/ |
D | urldata.h | 286 int server_fd; member
|