Lines Matching defs:sockindex
1235 unsigned sockindex = 0;
1249 bitmap |= GETSOCK_READSOCK(sockindex);
1250 sock[sockindex] = conn->sockfd;
1261 sockindex++; /* increase index if we need two entries */
1265 sock[sockindex] = conn->writesockfd;
1268 bitmap |= GETSOCK_WRITESOCK(sockindex);
1881 int sockindex, /* socket index to read from or -1 */
1898 DEBUGASSERT((sockindex <= 1) && (sockindex >= -1));
1901 conn->sockfd = sockindex == -1 ?
1902 CURL_SOCKET_BAD : conn->sock[sockindex];