| 131 | static struct test_feed FEED; |
| 132 | |
| 133 | static void feed_set(const char *s, size_t max_chunk) |
| 134 | { |
| 135 | FEED.data = s; |
| 136 | FEED.len = strlen(s); |
| 137 | FEED.off = 0; |
| 138 | FEED.max_chunk = max_chunk; |
| 139 | FEED.calls_to_io_read = 0; |
| 140 | } |
| 141 | |
| 142 | static size_t feed_next_chunk(size_t want) |
| 143 | { |
no outgoing calls
no test coverage detected