Lines Matching refs:bytes_read
577 size_t bytes_read; in sec_recv() local
595 bytes_read = buffer_read(&conn->in_buffer, buffer, len); in sec_recv()
596 len -= bytes_read; in sec_recv()
597 total_read += bytes_read; in sec_recv()
598 buffer += bytes_read; in sec_recv()
604 if(bytes_read > 0) in sec_recv()
606 return bytes_read; in sec_recv()
608 bytes_read = buffer_read(&conn->in_buffer, buffer, len); in sec_recv()
609 len -= bytes_read; in sec_recv()
610 total_read += bytes_read; in sec_recv()
611 buffer += bytes_read; in sec_recv()