Lines Matching refs:ncopy
530 int ncopy; in httpread_read_handler() local
608 ncopy = (h->chunk_start + h->chunk_size + 2) - in httpread_read_handler()
617 ncopy = h->content_length - h->body_nbytes; in httpread_read_handler()
619 ncopy = nread; in httpread_read_handler()
622 if (ncopy < 0) { in httpread_read_handler()
624 "httpread: Invalid ncopy=%d", ncopy); in httpread_read_handler()
627 if (ncopy > nread) in httpread_read_handler()
628 ncopy = nread; in httpread_read_handler()
629 os_memcpy(bbp, rbp, ncopy); in httpread_read_handler()
630 bbp += ncopy; in httpread_read_handler()
631 h->body_nbytes += ncopy; in httpread_read_handler()
632 rbp += ncopy; in httpread_read_handler()
633 nread -= ncopy; in httpread_read_handler()