Lines Matching refs:numread
623 ssize_t numread;
630 numread = sss_atomic_read_s(fd, buf, bufsize);
634 fail_unless(numread == bufsize,
635 "Read %d bytes expected %d\n", numread, bufsize);
646 ssize_t numread;
663 numread = sss_atomic_read_s(atio_fd, rbuf, 64);
667 fail_unless(numread == numwritten,
668 "Read %d bytes expected %d\n", numread, numwritten);
678 ssize_t numread;
698 numread = sss_atomic_read_s(atio_fd, rbuf, 8);
701 fail_if(numread == -1, "Read error %d: %s\n", ret, strerror(ret));
702 total += numread;
703 } while (numread != 0);
707 "Read %d bytes expected %d\n", numread, numwritten);
717 ssize_t numread;
734 numread = sss_atomic_read_s(atio_fd, rbuf, 9);
738 fail_unless(numread == numwritten,
739 "Read %d bytes expected %d\n", numread, numwritten);
746 numread = sss_atomic_read_s(atio_fd, rbuf, 9);
750 fail_unless(numread == 0, "More data to read?");
758 ssize_t numread;
765 numread = sss_atomic_read_s(fd, buf, 64);
769 fail_unless(numread == 0,
770 "Read %d bytes expected 0\n", numread);