Searched refs:clientfd (Results 1 – 4 of 4) sorted by relevance
/third_party/curl/tests/server/ |
D | sws.c | 1325 curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() local 1342 clientfd[CTRL] = *infdp; in http_connect() 1375 if((clientfd[DATA] == CURL_SOCKET_BAD) && in http_connect() 1389 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect() 1392 FD_SET(clientfd[i], &input); in http_connect() 1393 if(clientfd[i] > maxfd) in http_connect() 1394 maxfd = clientfd[i]; in http_connect() 1399 FD_SET(clientfd[i], &output); in http_connect() 1400 if(clientfd[i] > maxfd) in http_connect() 1401 maxfd = clientfd[i]; in http_connect() [all …]
|
D | socksd.c | 585 curl_socket_t clientfd; member 595 if(FD_ISSET(cp->clientfd, fds)) { in tunnel() 597 nread = recv(cp->clientfd, buffer, sizeof(buffer), 0); in tunnel() 612 nwrite = send(cp->clientfd, (char *)buffer, in tunnel() 668 curl_socket_t fd = c[i].clientfd; in incoming() 718 cp->clientfd = newfd; in incoming() 732 sclose(cp->clientfd); in incoming()
|
/third_party/weston/clients/ |
D | nested.c | 352 int clientfd; in launch_client() local 357 clientfd = dup(sv[1]); in launch_client() 358 if (clientfd == -1) { in launch_client() 364 snprintf(s, sizeof s, "%d", clientfd); in launch_client()
|
/third_party/weston/compositor/ |
D | main.c | 391 int clientfd; in child_client_exec() local 407 clientfd = dup(sockfd); in child_client_exec() 408 if (clientfd == -1) { in child_client_exec() 413 snprintf(s, sizeof s, "%d", clientfd); in child_client_exec()
|