Lines Matching refs:nread
382 register ssize_t nread; in tzloadbody() local
428 nread = TEMP_FAILURE_RETRY(read(fid, up->buf, entry_length)); in tzloadbody()
430 nread = read(fid, up->buf, sizeof up->buf); in tzloadbody()
432 if (nread < tzheadsize) { in tzloadbody()
433 int err = nread < 0 ? errno : EINVAL; in tzloadbody()
454 if (nread in tzloadbody()
572 nread -= p - up->buf; in tzloadbody()
573 memmove(up->buf, p, nread); in tzloadbody()
575 if (doextend && nread > 2 && in tzloadbody()
576 up->buf[0] == '\n' && up->buf[nread - 1] == '\n' && in tzloadbody()
580 up->buf[nread - 1] = '\0'; in tzloadbody()