Lines Matching refs:nread
120 char *buffer, ssize_t nread);
1227 char *buffer, ssize_t nread) in send_telnet_data() argument
1238 DEBUGASSERT(nread > 0); in send_telnet_data()
1239 if(nread < 0) in send_telnet_data()
1242 if(memchr(buffer, CURL_IAC, nread)) { in send_telnet_data()
1246 for(i = 0; i < (size_t)nread && !result; i++) { in send_telnet_data()
1257 outlen = (size_t)nread; in send_telnet_data()
1319 ssize_t nread; in telnet_do() local
1466 result = Curl_xfer_recv(data, buffer, sizeof(buffer), &nread); in telnet_do()
1477 else if(nread <= 0) { in telnet_do()
1482 result = telrcv(data, (unsigned char *) buffer, nread); in telnet_do()
1552 result = Curl_xfer_recv(data, buffer, sizeof(buffer), &nread); in telnet_do()
1570 else if(nread <= 0) { in telnet_do()
1575 total_dl += nread; in telnet_do()
1578 result = telrcv(data, (unsigned char *)buffer, nread); in telnet_do()
1593 nread = 0; in telnet_do()
1596 nread = read(pfd[1].fd, buffer, sizeof(buffer)); in telnet_do()
1601 nread = (int)data->state.fread_func(buffer, 1, sizeof(buffer), in telnet_do()
1603 if(nread == CURL_READFUNC_ABORT) { in telnet_do()
1607 if(nread == CURL_READFUNC_PAUSE) in telnet_do()
1611 if(nread > 0) { in telnet_do()
1612 result = send_telnet_data(data, buffer, nread); in telnet_do()
1617 total_ul += nread; in telnet_do()
1620 else if(nread < 0) in telnet_do()