Home | History | Annotate | Download | only in io

Lines Matching refs:buffer

50 // where particular writes cross a buffer boundary and cases where they do
54 char buffer[8192];
56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size);
62 char buffer[8192];
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size);
77 buffer[output.ByteCount()] = '\0';
82 buffer);
87 char buffer[8192];
90 ArrayOutputStream output(buffer, sizeof(buffer), block_size);
103 buffer[output.ByteCount()] = '\0';
110 buffer);
115 char buffer[8192];
118 ArrayOutputStream output(buffer, sizeof(buffer), block_size);
138 buffer[output.ByteCount()] = '\0';
146 buffer);
151 char buffer[8192];
153 ArrayOutputStream output(buffer, sizeof(buffer));
163 buffer[output.ByteCount()] = '\0';
168 buffer);
172 char buffer[8192];
175 ArrayOutputStream output(buffer, sizeof(buffer), block_size);
204 buffer[output.ByteCount()] = '\0';
218 buffer);
225 char buffer[8192];
227 ArrayOutputStream output(buffer, sizeof(buffer));
237 char buffer[16];
239 ArrayOutputStream output(buffer, sizeof(buffer));
242 // Print 16 bytes to fill the buffer exactly (should not fail).
254 // Buffer should contain the first 16 bytes written.
255 EXPECT_EQ("0123456789abcdef", string(buffer, sizeof(buffer)));