Lines Matching refs:buffer
102 char buffer[4096];
117 // sentinel '\n' characters: one at the start of the buffer, and one at
118 // the end. This means we reserve the first and last buffer bytes.
119 buffer[0] = '\n';
120 int size = TEMP_FAILURE_RETRY(read(fd, buffer+1, sizeof(buffer)-2));
129 size, buffer+1);
131 // Compute buffer limit, and place final sentinel
132 char* buffer_end = buffer + 1 + size;
136 // '\nFeatures ' in our buffer.
140 char* line = (char*) memmem(buffer, buffer_end - buffer,