Lines Matching refs:nread
198 ssize_t nread; in krb5_auth() local
237 if(Curl_GetFTPResponse(data, &nread, NULL)) in krb5_auth()
324 if(Curl_GetFTPResponse(data, &nread, NULL)) { in krb5_auth()
447 ssize_t nread = 0; in ftp_send_command() local
459 if(Curl_GetFTPResponse(data, &nread, &ftp_code)) in ftp_send_command()
463 (void)nread; /* Unused */ in ftp_send_command()
474 ssize_t nread = 0; in socket_read() local
477 result = Curl_conn_recv(data, sockindex, to_p, len, &nread); in socket_read()
478 if(nread > 0) { in socket_read()
479 len -= nread; in socket_read()
480 to_p += nread; in socket_read()
524 int nread; in read_data() local
542 nread = CURLMIN(len, (int)sizeof(buffer)); in read_data()
543 result = socket_read(data, sockindex, buffer, (size_t)nread); in read_data()
546 result = Curl_dyn_addn(&buf->buf, buffer, nread); in read_data()
549 len -= nread; in read_data()
552 nread = conn->mech->decode(conn->app_data, in read_data()
555 if(nread < 0) in read_data()
557 Curl_dyn_setlen(&buf->buf, nread); in read_data()
585 ssize_t nread; in sec_recv() local
586 *err = Curl_conn_recv(data, sockindex, buffer, len, &nread); in sec_recv()
587 return nread; in sec_recv()