Lines Matching refs:nread
107 ssize_t nread = 0; in Curl_blockread_all() local
126 nread = Curl_conn_cf_recv(cf->next, data, buf, buffersize, &err); in Curl_blockread_all()
127 if(nread <= 0) { in Curl_blockread_all()
136 if(buffersize == nread) { in Curl_blockread_all()
137 allread += nread; in Curl_blockread_all()
142 if(!nread) { in Curl_blockread_all()
147 buffersize -= nread; in Curl_blockread_all()
148 buf += nread; in Curl_blockread_all()
149 allread += nread; in Curl_blockread_all()
247 ssize_t nread; in socks_state_recv() local
250 nread = Curl_conn_cf_recv(cf->next, data, (char *)sx->outp, in socks_state_recv()
252 if(nread <= 0) { in socks_state_recv()
266 DEBUGASSERT(sx->outstanding >= nread); in socks_state_recv()
267 sx->outstanding -= nread; in socks_state_recv()
268 sx->outp += nread; in socks_state_recv()