Lines Matching refs:buffer
50 // All tests will buffer this string, and compare output to the original.
56 // the total buffer size is.
68 // First, test reading less than the max buffer size.
84 // We have reached the end of the buffer, so rewinding will fail.
85 // This test assumes that the stream is larger than the buffer; otherwise the
96 // Read exactly the amount that fits in the buffer.
105 // Read past the size of the buffer. At this point, we cannot return.
116 // Skip half the buffer.
119 // Rewind, then read part of the buffer, which should have been read.
123 // Now skip beyond the buffered piece, but still within the total buffer.
160 // does not invalidate the buffer.
166 // Create a buffer that matches the length of the stream.
175 // Ensure that the initial read did not invalidate the buffer.
279 size_t read(void* buffer, size_t size) override {