/device/google/cuttlefish_common/host/libs/ivserver/ |
hald_client.h | 31 const cvd::SharedFD &client_fd); 37 HaldClient(const cvd::SharedFD &client_fd);
|
/external/libmojo/mojo/edk/embedder/ |
platform_channel_pair_posix.cc | 104 int client_fd = -1; local 111 client_fd = base::GlobalDescriptors::GetInstance()->Get(key); 114 !base::StringToInt(value, &client_fd) || 115 client_fd < base::GlobalDescriptors::kBaseDescriptor) { 120 return ScopedPlatformHandle(PlatformHandle(client_fd));
|
/external/libese/tools/ese_relay/ |
ese_relay.c | 85 int client_fd; local 94 if ((client_fd = accept(server_fd, &client_info, &client_info_len)) == -1) { 111 if (read(client_fd, &network_tx_len, sizeof(network_tx_len)) != 128 ssize_t bytes = read(client_fd, tx_buf + data_read, tx_len - data_read); 189 if (write(client_fd, &network_rx_len, sizeof(network_rx_len)) != 197 write(client_fd, rx_buf + data_read, rx_len - data_read); 207 close(client_fd);
|
/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/linux-kselftest/tools/testing/selftests/android/ion/ |
ionapp_export.c | 41 int sockfd, client_fd, shared_fd; local 110 client_fd = info.ionfd; 117 printf("Sharing fd: %d, Client fd: %d\n", shared_fd, client_fd);
|
/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];
|
/external/ltp/testcases/network/netstress/ |
netstress.c | 471 int client_fd = (intptr_t) cfd; local 482 init_socket_opts(client_fd); 485 recv_len = sock_recv_poll(client_fd, recv_msg, 494 tst_res(TFAIL, "recv failed, sock '%d'", client_fd); 529 SAFE_SEND(1, client_fd, send_msg, send_msg_len, 533 SAFE_SENDTO(1, client_fd, send_msg, send_msg_len, 541 shutdown(client_fd, SHUT_WR); 546 SAFE_CLOSE(client_fd); 550 SAFE_CLOSE(client_fd); 555 static pthread_t server_thread_add(intptr_t client_fd) 629 int client_fd = accept(sfd, (struct sockaddr *)&addr6, local [all...] |
/system/bt/btif/src/ |
btif_sock_sco.cc | 223 int client_fd = INVALID_FD; local 242 new_sco_socket = sco_socket_establish_locked(true, NULL, &client_fd); 261 client_fd) != sizeof(connect_signal)) { 274 if (client_fd != INVALID_FD) close(client_fd);
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
socket_test_utils.py | 58 client_fd, 67 3. client_fd : client's socket handle 73 client.droid.connectSocket(client_fd, server_ip, server_port) 80 client_fd, 90 3. client_fd : client's socket handle 102 client.droid.sendDataOverSocket(server_ip, server_port, msg, 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/update_engine/ |
test_http_server.cc | 642 int client_fd = accept(listen_fd, nullptr, nullptr); local 644 if (client_fd < 0) 646 HandleConnection(client_fd);
|
/external/wayland/src/ |
wayland-server.c | 1138 int client_fd; local 1141 client_fd = wl_os_accept_cloexec(fd, (struct sockaddr *) &name, 1143 if (client_fd < 0) 1146 if (!wl_client_create(display, client_fd)) 1147 close(client_fd); [all...] |