Lines Matching refs:nread
123 char *buffer, ssize_t nread);
1225 char *buffer, ssize_t nread) in send_telnet_data() argument
1232 while(!result && nread--) { in send_telnet_data()
1308 ssize_t nread; in telnet_do() local
1501 result = Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); in telnet_do()
1512 else if(nread <= 0) { in telnet_do()
1517 result = telrcv(conn, (unsigned char *) buf, nread); in telnet_do()
1590 result = Curl_read(conn, sockfd, buf, BUFSIZE - 1, &nread); in telnet_do()
1601 else if(nread <= 0) { in telnet_do()
1606 total_dl += nread; in telnet_do()
1608 result = telrcv(conn, (unsigned char *)buf, nread); in telnet_do()
1623 nread = 0; in telnet_do()
1626 nread = read(pfd[1].fd, buf, BUFSIZE - 1); in telnet_do()
1631 nread = (int)data->state.fread_func(buf, 1, BUFSIZE - 1, in telnet_do()
1633 if(nread == CURL_READFUNC_ABORT) { in telnet_do()
1637 if(nread == CURL_READFUNC_PAUSE) in telnet_do()
1641 if(nread > 0) { in telnet_do()
1642 result = send_telnet_data(conn, buf, nread); in telnet_do()
1647 total_ul += nread; in telnet_do()
1650 else if(nread < 0) in telnet_do()