Lines Matching refs:nread
372 int nread;
382 nread = read(h->sd, readbuf, sizeof(readbuf));
383 if (nread < 0) {
387 wpa_hexdump_ascii(MSG_MSGDUMP, "httpread - read", readbuf, nread);
388 if (nread == 0) {
427 if (nread == 0)
435 nread--;
482 if (nread == 0)
489 if (h->body_alloc_nbytes < (h->body_nbytes + nread + 1)) {
600 if (nread <= 0)
612 nread--;
618 ncopy = nread;
626 if (ncopy > nread)
627 ncopy = nread;
632 nread -= ncopy;
644 if (nread <= 0)
647 nread--;