Searched refs:sock_pair (Results 1 – 3 of 3) sorted by relevance
167 int sock_pair[5][2]; in StartSymbolizerSubprocess() local169 if (pipe(sock_pair[i]) == -1) { in StartSymbolizerSubprocess()171 internal_close(sock_pair[j][0]); in StartSymbolizerSubprocess()172 internal_close(sock_pair[j][1]); in StartSymbolizerSubprocess()177 } else if (sock_pair[i][0] > 2 && sock_pair[i][1] > 2) { in StartSymbolizerSubprocess()179 infd = sock_pair[i]; in StartSymbolizerSubprocess()181 outfd = sock_pair[i]; in StartSymbolizerSubprocess()183 if (sock_pair[j] == infd) continue; in StartSymbolizerSubprocess()184 internal_close(sock_pair[j][0]); in StartSymbolizerSubprocess()185 internal_close(sock_pair[j][1]); in StartSymbolizerSubprocess()
206 int sock_pair[2]; in IsAccessibleMemoryRange() local207 if (pipe(sock_pair)) in IsAccessibleMemoryRange()210 internal_write(sock_pair[1], reinterpret_cast<void *>(beg), size); in IsAccessibleMemoryRange()219 internal_close(sock_pair[0]); in IsAccessibleMemoryRange()220 internal_close(sock_pair[1]); in IsAccessibleMemoryRange()
170 curl_socket_t sock_pair[2]; /* socket pair */ member211 if(tsd->sock_pair[1] != CURL_SOCKET_BAD) { in destroy_thread_sync_data()212 sclose(tsd->sock_pair[1]); in destroy_thread_sync_data()250 if(Curl_socketpair(AF_UNIX, SOCK_STREAM, 0, &tsd->sock_pair[0]) < 0) { in init_thread_sync_data()251 tsd->sock_pair[0] = CURL_SOCKET_BAD; in init_thread_sync_data()252 tsd->sock_pair[1] = CURL_SOCKET_BAD; in init_thread_sync_data()328 if(tsd->sock_pair[1] != CURL_SOCKET_BAD) { in getaddrinfo_thread()331 if(swrite(tsd->sock_pair[1], buf, sizeof(buf)) < 0) { in getaddrinfo_thread()388 curl_socket_t sock_rd = td->tsd.sock_pair[0]; in destroy_async_data()661 socks[0] = td->tsd.sock_pair[0]; in Curl_resolver_getsock()