Lines Matching refs:count
32 * count - Number of bytes to write.
41 ssize_t test_write(int fd, const void *buf, size_t count)
45 size_t num_left = count;
51 TEST_ASSERT(count >= 0, "Unexpected count, count: %li", count);
77 } while (num_written < count);
109 * count - Number of bytes to read.
118 ssize_t test_read(int fd, void *buf, size_t count)
122 size_t num_left = count;
125 /* Note: Count of zero is allowed (see "If count is zero" portion of
128 TEST_ASSERT(count >= 0, "Unexpected count, count: %li", count);
154 } while (num_read < count);